[ 
https://issues.apache.org/jira/browse/XALANJ-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17799050#comment-17799050
 ] 

Joe Kesselman commented on XALANJ-2720:
---------------------------------------

Can you provide a sample which provokes this exception? It's really hard to 
diagnose bug reports without one. 

> tranform function in TransformerIdentityImpl resetting content handler
> ----------------------------------------------------------------------
>
>                 Key: XALANJ-2720
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2720
>             Project: XalanJ2
>          Issue Type: Bug
>      Security Level: No security risk; visible to anyone(Ordinary problems in 
> Xalan projects.  Anybody can view the issue.) 
>          Components: SAX
>            Reporter: Abhijeet Singh
>            Assignee: Gary D. Gregory
>            Priority: Critical
>
> In the commit: 
> [https://github.com/apache/xalan-java/commit/b03ee965878f7cc62d4ae8a8d9dd0a28acf01fab]
> changes were made to reset the content handler to the old content handler 
> after doing the parse operation while earlier the ContentHandler was set to 
> TransformerIdentityImpl permanently in the tranform(Source, Result) function, 
> this is because the setting old content handler is being done in the finally 
> block.
> I am getting a null pointer exception for content handler now as it was 
> automatically set to Tansformer IdentityImpl.
> Is this intended behaviour? If not please provide a new release with the fix.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org
For additional commands, e-mail: dev-h...@xalan.apache.org

Reply via email to