db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wessam Abd Rabo" <wessam.abdr...@gmail.com>
Subject Need help
Date Fri, 21 Sep 2007 01:03:43 GMT
Hi,
I'm still getting the MalFormedURL exception by DatabaseIO.read(filename).
My guess is that the problem is not with the xml filename itself, but
is rather with the database.dtd and mapping.xml files. For some reason,
inside a netbeans module, referencing this resource is problematic. I'm a
bit lost here. Any bit of useful info can help. Here's the stack trace:

org.apache.ddlutils.DdlUtilsException: java.net.MalformedURLException
 at org.apache.ddlutils.io.DatabaseIO.read(DatabaseIO.java:194)

Caused by: java.net.MalformedURLException
 at java.net.URL.<init>(URL.java:601)
 at java.net.URL.<init>(URL.java:464)
 at java.net.URL.<init>(URL.java:413)
 at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(
XMLEntityManager.java:650)
 at
com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion
(XMLVersionDetector.java:186)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(
XML11Configuration.java:771)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(
XML11Configuration.java:737)
 at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(
XMLParser.java:107)
 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(
AbstractSAXParser.java:1205)
 at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(
SAXParserImpl.java:522)
 at org.apache.commons.digester.Digester.parse(Digester.java:1647)
 at org.apache.commons.betwixt.XMLIntrospector.loadMultiMapping(
XMLIntrospector.java:665)
 at org.apache.commons.betwixt.XMLIntrospector.register(XMLIntrospector.java
:635)
 at org.apache.commons.betwixt.io.BeanReader.registerMultiMapping(
BeanReader.java:216)
 at org.apache.ddlutils.io.DatabaseIO.getReader(DatabaseIO.java:124)
 at org.apache.ddlutils.io.DatabaseIO.read(DatabaseIO.java:190)


Thanks in advance,

Wessam

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message