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.