Hi,

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
:136)
        at org.apache.ddlutils.io.DatabaseIO.getXMLInputFactory(
DatabaseIO.java:240)
        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(
newdbTopComponent.java:72)
        at org.netbeans.newddlmod.newdbTopComponent.access$000(
newdbTopComponent.java:19)
        at org.netbeans.newddlmod.newdbTopComponent$1.mouseClicked(
newdbTopComponent.java:46)
        at java.awt.AWTEventMulticaster.mouseClicked(
AWTEventMulticaster.java:253)
        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
:4322)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java
:3995)
        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(
EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(
EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(
EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java
:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java
:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Any idea what could be causing this one?

Thanks,
Wessam

On 9/26/07, Thomas Dudziak <[EMAIL PROTECTED]> wrote:
>
> On 9/25/07, Wessam Abd Rabo <[EMAIL PROTECTED]> 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
>

Reply via email to