[
https://issues.apache.org/jira/browse/UIMA-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bhavani Iyer updated UIMA-1269:
-------------------------------
Attachment: UIMA-1269-uimaj-as-activemq.patch
UIMA-1269-uimaj-as-core.patch
Prerequisite for this patch is the patch for issue UIMA-1569.
CPP serivices do not support delta CAS format and receive and return the
complete CAS. The Marker created prior to receiving a complete CAS in the
reply is therefore invalid for future delta CAS serialization. Added a test
that Marker is valid prior to delta serialization and do a complete
serialization if it is invalid. In addition, a new Marker is created to be used
in subsequent delta CAS serialzation. The modification applied to both XMI and
Binary delta CAS formats.
> NPE when using a C++ service deployed via JNI
> ---------------------------------------------
>
> Key: UIMA-1269
> URL: https://issues.apache.org/jira/browse/UIMA-1269
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Affects Versions: 2.2.2
> Reporter: Burn Lewis
> Assignee: Bhavani Iyer
> Attachments: UIMA-1269-uimaj-as-activemq.patch,
> UIMA-1269-uimaj-as-core.patch
>
>
> C++ services don't support delta CAS so the JNI wrapper clears the Marker
> before uploading the C++ CAS but then the service crashes when trying to
> return a delta CAS to its caller. May also have a problem in an aggregate if
> one of its services does not support delta CAS ... need to invalidate the
> input Marker and make the aggregate return a full CAS. Should also create a
> fresh Marker for following delegates so they can return delta CASes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.