[ 
https://issues.apache.org/jira/browse/UIMA-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740097#action_12740097
 ] 

Thilo Goetz commented on UIMA-1478:
-----------------------------------

Tommaso, I agree with Jörn.  In the case of the tests, we don't want to recover 
from the situation.  If this fails, it probably means the test case needs to be 
fixed.  So it should fail as close as possible to the location of whatever 
causes the failure, and an NPE would be just fine.  If this wasn't test code, 
it would be a different story.  Do you agree?


> possible NullPointerException on CASInitializer
> -----------------------------------------------
>
>                 Key: UIMA-1478
>                 URL: https://issues.apache.org/jira/browse/UIMA-1478
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.2.2
>         Environment: MacOSX 10.5
>            Reporter: Tommaso Teofili
>             Fix For: 2.3S
>
>         Attachments: patch1478.txt
>
>
> code at lline 69
> return casMgr.getCAS().getCurrentView();
> could raise a not handled NPE on casMgr and getCAS()

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

Reply via email to