batik-users@xmlgraphics.apache.org
[Top] [All Lists]

Re: desc and title element exceptions

Subject: Re: desc and title element exceptions
From:
Date: Fri, 11 Jul 2008 21:09:55 -0400

Hi Marshall,

marsh <MarshallKJ@xxxxxxxxxxxxxxxxx> wrote on 07/11/2008 04:44:50 PM:

> What resources directory? Are you talking the resource directory that comes
> with batik? the only one I saw that in the distro was under samples/tests/

   I think you are using Jar files from the binary distribution.
If you were compiling from the source distribution you need
to add the 'resources' directory (at the top level of the source
dist) to your class path.

> Is that the one?

   If you are using Jar files then I'm a little unsure where the
problem is coming from.  Are you running in an Applet environment?
Can you check that 'org/apache/batik/swing/resources/Messages.properties'
is present in lib/batik-swing.jar?

> thomas.deweese wrote:
> >
> > Hi Keith,
> >
> > Marshall Keith J NPRI <MarshallKJ@xxxxxxxxxxxxxxxxx> wrote on 07/10/2008
> > 02:38:34 PM:
> >
> >>  I get an exception when title and desc elements are included in my
> >> svg file. Any ideas why?
> >
> >     You probably don't have the contents of the 'resources' directory
> > on your class path (or they aren't compiled into jars).
> >
> >> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
> >>         at java.util.ResourceBundle.getBundle(Unknown Source)
> >
> >
>
> --
> View this message in context: http://www.nabble.com/desc-and-title-
> element-exceptions-tp18390671p18412207.html
> Sent from the Batik - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: batik-users-help@xxxxxxxxxxxxxxxxxxxxxx
>
<Prev in Thread] Current Thread [Next in Thread>