I looked into my version and come to find out and merely assumed there was
another release. I'm using 1.5beta3 as is it. The stack:
transcode failed: java.lang.NullPointerException
java.net.URL.<init>(URL.java:366)
java.net.URL.<init>(URL.java:329)
java.net.URL.<init>(URL.java:321)
java.net.URL.<init>(URL.java:252)
java.net.URL.<init>(URL.java:275)
org.apache.batik.util.ParsedURLData.buildURL(Unknown Source)
org.apache.batik.util.ParsedURLData.openStreamInternal(Unknown Source)
org.apache.batik.util.ParsedURLData.openStream(Unknown Source)
org.apache.batik.util.ParsedURL.openStream(Unknown Source)
org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
Source)
org.apache.batik.bridge.DocumentLoader.loadDocument(Unknown Source)
org.apache.batik.bridge.URIResolver.getNode(Unknown Source)
org.apache.batik.bridge.URIResolver.getElement(Unknown Source)
org.apache.batik.bridge.BridgeContext.getReferencedElement(Unknown Source)
org.apache.batik.bridge.CSSUtilities.convertFilter(Unknown Source)
org.apache.batik.bridge.AbstractGraphicsNodeBridge.buildGraphicsNode(Unknown
Source)
org.apache.batik.bridge.SVGShapeElementBridge.buildGraphicsNode(Unknown
Source)
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)
org.apache.batik.transcoder.image.ImageTranscoder.transcode(Unknown Source)
org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
testfilter.writeToJPEGFile(testfilter.java:149)
testfilter.<init>(testfilter.java:83)
testfilter.main(testfilter.java:62)
where the line 149 looks like this:
149 t.transcode(input, output);
input = TranscoderInput
output = TranscoderOutput
t = JPEGTranscoder
Btw, I truly appreciate the quick responses that I've been getting. This is
the second hurdle that i've come to this listserve about, and your (the
general public) responses (timely and good) are again, much appreciated.
Mike
-----Original Message-----
From: Thomas E Deweese [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 11:37 AM
To: Batik Users
Subject: RE: Filter Problem with Java
>>>>> "FMA" == Frizzell, Michael A <[EMAIL PROTECTED]> writes:
FMA> Followed your suggestion with the NS stuff.
I take it, that it still isn't working?
FMA> I'd previously done that in other parts of the code, but took it
FMA> out in this one after looking at what someone said to be working
FMA> code.
The Adobe viewer incorrectly places elements created in the
default namespace in the SVG namespace. So I'm sure that is where the
code came from.
FMA> Also, the version of batik I'm using is probably 2 months
FMA> old. Could this be an issue?
I would try current CVS, we work really hard to not introduce new
regressions into CVS.
If it still doesn't work can you provide a complete stack trace?
(NPE doesn't say much :).
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]