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

CPM doesnt validate registered CallbackListener references

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3AS
    • Collection Processing
    • None

    Description

      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.

      Attachments

        Activity

          People

            cwiklik Jaroslaw Cwiklik
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: