Ngan Nguyen wrote: > I am using Apache UIMA 2.2. When I used XmiCollectionReader to deserialize a > CAS whose type system contains FSArray, there was a ClassCastException as > below > "java.lang.ClassCastException: org.apache.uima.jcas.cas.FSArray cannot be > cast to org.apache.uima.cas.impl.FeatureStructureImplC" > > Is that a bug of UIMA? > Please help me solve it if you know how to! >
Indeed, this is a known bug, see http://issues.apache.org/jira/browse/UIMA-547 It has been fixed in SVN, for the next release. You can extract and build the latest version of the code to get rid of this issue. --Thilo
