[prev in list] [next in list] [prev in thread] [next in thread]
List: batik-dev
Subject: [jira] [Commented] (BATIK-946) Null pointer exception in XMLAbstractTranscoder
From: "Chris Bowditch (JIRA)" <jira () apache ! org>
Date: 2013-08-02 9:09:49
Message-ID: JIRA.12620303.1272540427000.157903.1375434589293 () arcas
[Download RAW message or body]
[ 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: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic