You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by philip zuniga <ph...@yahoo.com> on 2006/05/05 12:28:58 UTC
problem in loading SVG file
I am currently encountering this bug, when I load an
SVG file in Batik JSVG canvas:
java.lang.NullPointerException
at
org.apache.batik.swing.svg.JSVGComponent.setGraphicsNode(Unknown
Source)
at
org.apache.batik.swing.svg.JSVGComponent$SVGListener.gvtBuildFailed(Unknown
Source)
at
org.apache.batik.swing.svg.GVTTreeBuilder$4.dispatch(Unknown
Source)
at
org.apache.batik.util.EventDispatcher.dispatchEvent(Unknown
Source)
at
org.apache.batik.util.EventDispatcher.fireEvent(Unknown
Source)
at
org.apache.batik.util.EventDispatcher$1.run(Unknown
Source)
at java.awt.event.InvocationEvent.dispatch(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Would you know what this mean?
Thanks a lot
PhilipZ
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
Re: problem in loading SVG file
Posted by th...@kodak.com.
Hi Philip,
philip zuniga <ph...@yahoo.com> wrote on 05/05/2006 06:28:58 AM:
> SVG file in Batik JSVG canvas:
>
> java.lang.NullPointerException
> at
> org.apache.batik.swing.svg.JSVGComponent.setGraphicsNode(Unknown
> Source)
It looks to me like your SVG document doesn't contain any SVG?
Perhaps your namespaces are wrong?
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org