You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Mark Jaroszuk <mj...@randomwalk.com> on 2001/01/24 22:24:35 UTC
running BridgeTest
Hi there,
- trying to run BridgeTest (in org.apache.batik.test.refimpl.bridge
package) and getting NullPointerException in
org.apache.batik.refimpl.bridge.SVGSVGElementBridge.createGraphicsNode(SVGSVGElementBridge.java:46).
- guilty line of code is
CSSStyleDeclaration cssDecl =
ctx.getViewCSS().getComputedStyle(element, null);
and more specifically getViewCSS() returning NULL.
Did anyone run into this? Do I have to set up something first?
Any ideas!!!
And more general issue: ..... Importing an SVG file, displaying and
manipulating it thru java code........
Which approach is the best from performance point of view.... Any
experience or thoughts on that???
Regards
Mark
Re: running BridgeTest
Posted by Thierry Kormann <Th...@sophia.inria.fr>.
Hi,
Mark Jaroszuk wrote:
>
> Hi there,
> - trying to run BridgeTest (in org.apache.batik.test.refimpl.bridge
> package) and getting NullPointerException in
> Did anyone run into this? Do I have to set up something first?
> Any ideas!!!
The classes in the tests directories are deprecated. We started to code some
tests at the beginning of batik. Now most of them are not used and not even
compatible with the current API. The unused tests will be removed in the next
release of batik (which should be available soon).
If you wanted to use those tests as an example of 'how to use batik', please
check the web site (after the next release) or ask us questions on any part of
the API if no documentation is available at that time :)
Regards
Thierry.
--
Thierry Kormann
email: Thierry.Kormann@sophia.inria.fr http://www.inria.fr/koala/tkormann/
Koala/Dyade/Bull @ INRIA - Sophia Antipolis