[ http://issues.apache.org/jira/browse/XALANJ-1482?page=all ]
Brian Minchau updated XALANJ-1482:
----------------------------------
Version: 2.5
(was: Latest Development Code)
> Incremental mode: exceptions never posted to calling thread
> -----------------------------------------------------------
>
> Key: XALANJ-1482
> URL: http://issues.apache.org/jira/browse/XALANJ-1482
> Project: XalanJ2
> Type: Bug
> Components: transformation, Xalan-interpretive
> Versions: 2.5
> Environment: Operating System: Other
> Platform: Other
> Reporter: Erik Bruchez
> Assignee: Xalan Developers Mailing List
>
> In apache.xalan.transformer.TransformerImpl, method run(): the main work is
> done
> in transformNode(m_doc). If an exception occurs in that method, its finally
> block calls reset() on the TransformerImp, therefore setting m_transformThread
> to null. In the following lines in run(), when the exception is catched,
> m_transformThread is always null and postExceptionFromThread(e) is never
> called.
> This means that in incremental mode, the calling thread is never notified of
> any
> exception occurring when running a transformation.
> A workaround is to remove the finally block in transformNode(), and to put try
> {} finally {} blocks around the few calls to transformNode() in the code to do
> the reset.
> This being said, even after such change, calling postExceptionFromThread()
> does
> not seem to work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
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]