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 Re: MalFormedURL Exception
Date Wed, 26 Sep 2007 08:35:20 GMT

I checked out the source from SVN and i think it's better than the version i
was using. At least it's different, and it stopped giving me the
MalFormedURLException. However, another exception is thrown Which is a
ClassCastException. See the stack trace:

java.lang.ClassCastException: com.sun.xml.stream.ZephyrParserFactory cannot
be cast to javax.xml.stream.XMLInputFactory
        at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java
        at org.apache.ddlutils.io.DatabaseIO.getXMLInputFactory(
        at org.apache.ddlutils.io.DatabaseIO.read(DatabaseIO.java:207)
        at org.apache.ddlutils.io.DatabaseIO.read(DatabaseIO.java:171)
        at org.netbeans.newddlmod.newdbTopComponent.jButton1MouseClicked(
        at org.netbeans.newddlmod.newdbTopComponent.access$000(
        at org.netbeans.newddlmod.newdbTopComponent$1.mouseClicked(
        at java.awt.AWTEventMulticaster.mouseClicked(
        at java.awt.Component.processMouseEvent(Component.java:6041)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
        at java.awt.Component.processEvent(Component.java:5803)
        at java.awt.Container.processEvent(Container.java:2058)
        at java.awt.Component.dispatchEventImpl(Component.java:4410)
        at java.awt.Container.dispatchEventImpl(Container.java:2116)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
        at java.awt.Container.dispatchEventImpl(Container.java:2102)
        at java.awt.Window.dispatchEventImpl(Window.java:2429)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(
        at java.awt.EventDispatchThread.pumpEventsForFilter(
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Any idea what could be causing this one?


On 9/26/07, Thomas Dudziak <tomdzk@gmail.com> wrote:
> On 9/25/07, Wessam Abd Rabo <wessam.abdrabo@gmail.com> wrote:
> > The problem is at
> >
> >
> com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity
> >
> > new URL(expandedSystemid)
> >
> > I can't stop the debugger at this line as the whole library (
> > com.sun.org.apache.xerces) source code contains errors.
> Can you set a breakpoint on the exception (MalformedURLException)
> instead of in the source code ?
> > Any guess what could be causing this error?
> Unfortunately no. The mapping file is proper XML (including the
> version='1.0' part), and I haven't seen this particular error before,
> either.
> Could you try perhaps the current SVN trunk version ? It does not use
> commons-betwixt anymore, and if it works for you, then we know who he
> culprit is.
> Tom

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