[ 
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.

Reply via email to