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 hardc0d3r <ha...@gmail.com> on 2007/04/30 12:47:11 UTC

An error occurred in the batik example

it displays the svg document but it has errors.. i do not know what they
mean.. please help me out..

here are the errors:

java.lang.NullPointerException
	at SVGApplication.registerListeners(SVGApplication.java:65)
	at SVGApplication$1.svgLoadEventDispatchStarted(SVGApplication.java:43)
	at org.apache.batik.swing.svg.SVGLoadEventDispatcher$1.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(InvocationEvent.java:199)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	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)

-- 
View this message in context: http://www.nabble.com/An-error-occurred-in-the-batik-example-tf3668962.html#a10251496
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: An error occurred in the batik example

Posted by th...@kodak.com.
Hi HardC0d3r,

hardc0d3r <ha...@gmail.com> wrote on 04/30/2007 06:47:11 AM:

> it displays the svg document but it has errors.. i do not know what they
> mean.. please help me out..
> 
> here are the errors:
> 
> java.lang.NullPointerException
>    at SVGApplication.registerListeners(SVGApplication.java:65)
>    at 
SVGApplication$1.svgLoadEventDispatchStarted(SVGApplication.java:43)

    This appears to be a bug in your application.
a NullPointerException is a pretty basic java exception indicating
that you tried to access a data member or call a member function on
a null object reference.

        Object o = null;
        String str = o.toString(); // <-- Will generate 
NullPointerException.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org