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

robustification around calling super.initialize() in annotators

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.3.1SDK
    • Core Java Framework
    • None

    Description

      add error messages to the standard base annotator classes that users extend, to cover the case where the user forgot to call super.initialize(). There are two fields that could be null if this super call isn't done. Instead of throwing NPE when they're referenced byt he base class impl, give an informative error message.

      Fix the cases in our code where super.initialize() isn't called, including in our documentation.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: