You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2002/11/22 15:06:18 UTC

DO NOT REPLY [Bug 14768] New: - NullPointerException in XMLRenderer.isCoarseXML()

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14768>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14768

NullPointerException in XMLRenderer.isCoarseXML()

           Summary: NullPointerException in XMLRenderer.isCoarseXML()
           Product: Fop
           Version: 0.20.4
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: mb@blumenstrasse.vol.at


When not setting the option "fineDetail" explicitly an NPE is thrown
while rendering an xml file.
This happens for example if you use XMLRenderer from your java code
and not from command line.

Proposed fix (XMLRenderer.java, Line 487):
Check whether Hashtable.get() returns null, if so use a default value.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org