While working on the fix for this, I ran across another possible
incomplete impl of arrays, in the functions that
check for "arrays". Many of these test if the type is one of the
built-in array types. The rangeTypeName for arrays of specific objects
is created as the specific object followed by "[]". Adam - can you look
at Ecore2UimaTypeSystem and see if the "isArrayOrList" method would need
updating?
-Marshall
Yoshinobu KANO (JIRA) wrote:
FSArray causes error in SOAP service
------------------------------------
Key: UIMA-476
URL: https://issues.apache.org/jira/browse/UIMA-476
Project: UIMA
Issue Type: Bug
Components: Transport Adapters - SOAP, Vinci
Affects Versions: 2.1
Environment: UIMA 2.1 and previous versions
Reporter: Yoshinobu KANO
When we run a SOAP service with any type system which uses FSArray,
AnalysisEngineProcessException occurs,
though the same component can be run as a local service.
It occurs in the type system checking, independently of the component
implementations.
The error says:
Caused by: org.apache.uima.UIMARuntimeException: The JCas cannot be
initialized. The following errors occurred: The JCAS range type
uima.cas.FSArray for feature <OurFeatureName> of type <OurTypeName> does
not match the CAS range <OurFeatureTypeName>[] for the feature.
# replaced our specific feature/type names.