You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Michael Baessler (JIRA)" <ui...@incubator.apache.org> on 2008/03/26 18:07:31 UTC

[jira] Commented: (UIMA-936) NPE when serializing a CAS with a String array that contains a null value element

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

Michael Baessler commented on UIMA-936:
---------------------------------------

Added a test in comments at:

org.apache.uima.cas.test.StringArrayTest:testStringArrayNullValue()

please uncomment the test to check for the exception

> NPE when serializing a CAS with a String array that contains a null value element
> ---------------------------------------------------------------------------------
>
>                 Key: UIMA-936
>                 URL: https://issues.apache.org/jira/browse/UIMA-936
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.2.1
>            Reporter: Michael Baessler
>             Fix For: 2.2.2
>
>
> The stacktrace is shown below:
> java.lang.NullPointerException
> 	at org.apache.uima.cas.impl.CASSerializer.addCAS(CASSerializer.java:211)
> 	at org.apache.uima.cas.test.StringArrayTest.testStringArrayNullValue(StringArrayTest.java:205)
> I will add test case for this issue

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