Hi Everybody! I didn't forget my problem, but i was away from any kind of web connection for a long time!
> > 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 double-checked my classpath, and every one (i say everyone; the white ones, the light blue ones, and the dark ones) of the different libraries of the dependency graph are present in my class path. > > > 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). :-) > > > I'll try to write you a little script in order to show precisely the problem (whithout any assuptions). But, waiting for it, can you help me, please, whith the DOMUtilities.parseXML method? I'm not very comfortable using this method (and the correct parameters to feed it), and the Batik Javadoc doesn't help me very much. Thanks a lot!
