https://issues.apache.org/bugzilla/show_bug.cgi?id=49225
Summary: Null pointer exception in XMLAbstractTranscoder
Product: Batik
Version: 1.7
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: SVG Rasterizer
AssignedTo: [email protected]
ReportedBy: [email protected]
In version 1.7, at line 109 of XMLAbstractTranscoder, the code assumes that a
hint has been provided for KEY_XML_PARSER_VALIDATING, casts it to Boolean, and
invokes the booleanValue() method. If the user has not provided this hint
(quite likely since many of the examples and tutorials on the web omit this
hint entirely), a null pointer exception results, causing a mysterious and
unexplained crash.
This bug also exists in the trunk in SVN.
Recommendation: Either have sensible default for the case when this hint is
null, or throw an appropriate exception with a descriptive error message.
--
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: [email protected]
For additional commands, e-mail: [email protected]