DocumentUimaImpl should deal with exceptions when change events are broadcasted
-------------------------------------------------------------------------------

                 Key: UIMA-2281
                 URL: https://issues.apache.org/jira/browse/UIMA-2281
             Project: UIMA
          Issue Type: Improvement
          Components: CasEditor
            Reporter: Joern Kottmann
            Assignee: Joern Kottmann


The DocumentUimaImpl class is responsible to broadcast CAS change events to all 
registered listeners. If one of these listeners throws an exception while 
notified about a change the listener call loops pass the exception on the the 
caller. 

This means that a faulty listener can "crash" the Cas Editor because the change 
notification is necessary for synchronizing all views.

To make this more robust the SafeRunner should be used, which will catch and 
log any exceptions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to