thanks for the answer
it was a problem with the service.java
at line 54
when the ClassLoader is null it make an null exception
adding after the try at line 53
if (cl == null) return v.iterator();
will solve the problem

thanks
Regards

Stephan

PS: alas I have to use the jdk 1.2.2 :( because of the company application 
server.

> >>>>> "SNP" == stephan NORBERT-PAPIN <[EMAIL PROTECTED]> writes:
>
>SNP> hi all, I got a problem with the transcode method.
>
>SNP> I'm using an application server based on a tomcat.  It is working
>SNP> on jdk1.2.2
>
>SNP> I'm trying to transcode a SVG using the transcode api sample on
>SNP> the batik site.  every sample do the same error.
>
>SNP> I got two errors when I refresh the page two times and the third
>SNP> times it works can somebody help me on how to fix that.
>
>      I'm guessing you have 'junk' files in your META-INF/services
>directory.  I'm keen to track this down since it would be nice if the
>extension mechanism (which is throwing the errors) didn't cause
>problems :).
>
>      Is it possible for you to run this under JDK 1.3?  I ask this
>since JDK 1.3 always gives line numbers (not 'compiled code').  There
>is also a way to do it under 1.2.2 but it escapes me at the moment.
>
>      I would also point out that 1.3 is our recomended JDK, as there
>are a few known bugs in JDK 1.2.2 that may cause incorrect output (in
>particular with gaussian blurring and some of alpha handling in
>compositing).
>
>SNP> Many thanks
>
>SNP> Here are the errors : java.lang.NullPointerException at
>SNP> org.apache.batik.util.Service.providers(Service.java, Compiled
>SNP> Code) at
>      I'm keen to know what line this happens at...

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to