You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Henry Zongaro (JIRA)" <xa...@xml.apache.org> on 2004/12/16 17:08:46 UTC
[jira] Updated: (XALANJ-1482) Incremental mode: exceptions never posted to calling thread
[ http://nagoya.apache.org/jira/browse/XALANJ-1482?page=history ]
Henry Zongaro updated XALANJ-1482:
----------------------------------
Priority: Major
> Incremental mode: exceptions never posted to calling thread
> -----------------------------------------------------------
>
> Key: XALANJ-1482
> URL: http://nagoya.apache.org/jira/browse/XALANJ-1482
> Project: XalanJ2
> Type: Bug
> Components: transformation, Xalan-interpretive
> Versions: 2.5Dx
> 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://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org