Hi!

 

I have a problem. I am not so sure if it resides in Batic or not...

Ok here the description

I have an application which constructs an svg and Displayes it using Batik. This works fine when using my IDE (Eclipse).

When I use the maven uberjar plugin to create a distribution (copys the dependent batik jars together with my application jar in one jar) my application still generates the same svg file, but the display gets the following error.

 

java.lang.NullPointerException

��������������� at org.apache.batik.css.engine.CSSEngine.parseStyleSheet(Unknown Source)

��������������� at org.apache.batik.dom.svg.SVGDOMImplementation.createCSSEngine(Unknown Source)

��������������� at org.apache.batik.bridge.BridgeContext.initializeDocument(Unknown Source)

��������������� at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)

��������������� at org.apache.batik.swing.svg.GVTTreeBuilder.run(Unknown Source)

 

My thought is that it might be because I jave the batic jars now residing in an other jar. Has anybody experienced something similar?

 

Thanks for your help

 

Ralf

Reply via email to