uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Created: (UIMA-1727) CPM doesnt validate registered CallbackListener references
Date Mon, 18 Jan 2010 21:06:55 GMT
CPM doesnt validate registered CallbackListener references 

                 Key: UIMA-1727
                 URL: https://issues.apache.org/jira/browse/UIMA-1727
             Project: UIMA
          Issue Type: Bug
          Components: Collection Processing
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik

The CPM uses a list of registered listeners to notify an application of certain events. The
application registers listeners with the CPM before it starts the run. Apparently, the CPM
doesnt validate a listener reference provided by the application and blindly adds it a list.
If the reference is null, the NPE is thrown when trying to send notifications. Fix the code
to validate listener reference to prevent adding null references.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message