[
https://issues.apache.org/jira/browse/UIMA-936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thilo Goetz closed UIMA-936.
----------------------------
Resolution: Fixed
That's how I like my bug reports: with a test case. Thanks, Michael.
StringArrayFS.set() should be checking for null string arguments, but isn't.
Fixed the bug and simplified test case so it doesn't need serialization.
> 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
> Assignee: Thilo Goetz
> 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.