Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-2281

DocumentUimaImpl should deal with exceptions when change events are broadcasted

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • CAS Editor
    • None

    Description

      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.

      Attachments

        Activity

          People

            joern Jörn Kottmann
            joern Jörn Kottmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: