Hi Mathieu,

> First precision: I use now a batik1.8pre version (I can't tell you which one
> it is... because I don't know where i can see this information in the
> files... [...]

If you download a nightly build, the snapshot build date helps. If you
use the SVN repository, the revision is more useful.


> java.lang.NullPointerException
>     at
> org.apache.batik.bridge.BridgeContext.getInterpreter(BridgeContext.java:566)
[...]
> And it's when i try to display the previewDocument into any JSVGCanvas that
> I get my Exception. The exception is thrown even if I skip the
> serialization/deserialization step.

This still suggests missing jar files. Note that not only "js.jar" is
required but also the ones that this one depends upon. Please double
check your environment (classpath/includes) comparing with the
dependency graph [1].


> I apologize for aving writen earlier that the documents were the sames in
> the two case: I thought it realy was the case, because it was working good
> with documents without JavaScript.

That's why you should avoid replacing a clear, detailed explanation
with (one or more) assumptions [2]. Of course a guess usually won't
hurt (when the rest is provided). :-)


> Can you help me please?

Hope this helps,
 Helder


[1] http://xmlgraphics.apache.org/batik/install.html#dependencyGraph
[2] http://www.chiark.greenend.org.uk/~sgtatham/bugs.html#symptoms

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to