You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2010/09/14 22:12:47 UTC

[jira] Created: (UIMA-1874) robustification around calling super.initialize() in annotators

robustification around calling super.initialize() in annotators
---------------------------------------------------------------

                 Key: UIMA-1874
                 URL: https://issues.apache.org/jira/browse/UIMA-1874
             Project: UIMA
          Issue Type: Improvement
          Components: Core Java Framework
            Reporter: Marshall Schor
            Assignee: Marshall Schor
            Priority: Minor
             Fix For: 2.3.1


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.

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


[jira] Updated: (UIMA-1874) robustification around calling super.initialize() in annotators

Posted by "Marshall Schor (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor updated UIMA-1874:
---------------------------------

    Fix Version/s: 2.3.1SDK
                       (was: 2.3.1)

> robustification around calling super.initialize() in annotators
> ---------------------------------------------------------------
>
>                 Key: UIMA-1874
>                 URL: https://issues.apache.org/jira/browse/UIMA-1874
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: 2.3.1SDK
>
>
> 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.

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


[jira] Closed: (UIMA-1874) robustification around calling super.initialize() in annotators

Posted by "Marshall Schor (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor closed UIMA-1874.
--------------------------------

    Resolution: Fixed

> robustification around calling super.initialize() in annotators
> ---------------------------------------------------------------
>
>                 Key: UIMA-1874
>                 URL: https://issues.apache.org/jira/browse/UIMA-1874
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: 2.3.1
>
>
> 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.

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