[
https://issues.apache.org/jira/browse/BATIK-946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727493#comment-13727493
]
Chris Bowditch commented on BATIK-946:
--------------------------------------
Hi Kevin,
An ICLA is not a pre-requisite for processing a patch unless the patch adds new
files or represents a significant contribution, but we have received your ICLA
Thanks,
Chris
> Null pointer exception in XMLAbstractTranscoder
> -----------------------------------------------
>
> Key: BATIK-946
> URL: https://issues.apache.org/jira/browse/BATIK-946
> Project: Batik
> Issue Type: Bug
> Components: SVG Rasterizer
> Affects Versions: 1.7
> Environment: Operating System: Linux
> Platform: PC
> Reporter: Christopher Heiny
> Assignee: Batik Developer's Mailing list
> Attachments: XMLAbstractTranscoder.java.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]