xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33447] Null Pointer Exception in TranscoderAPI
Date Tue, 21 Apr 2009 19:12:12 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=33447





--- Comment #4 from Dan Bennett <dan.bennett@thomsonreuters.com>  2009-04-21 12:12:08
PST ---
Created an attachment (id=23523)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23523)
Patched copy of SAXDocumentFactory

Here's a patch for this bug. 

Basically, the NPE is caused because the parser member variable is not set by
createDocument if the transcoder is created using an XMLReader. I added 1 line
at line 308, first line in  public Document createDocument(String ns, String
root, String uri, XMLReader r)  

parser = r;

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Mime
View raw message