re: the second failure: (no such element exception) I think that's now fixed in
trunk. 

-Marshall


On 10/10/2017 4:03 PM, Richard Eckart de Castilho wrote:
> On 09.10.2017, at 16:35, Marshall Schor <m...@schor.com> wrote:
>> I think this will need a test case - can you provide one?
> I can see the extended error message and will try to produce a reduced unit 
> test.
>
> org.apache.uima.cas.CASRuntimeException: Deserializing Compressed Form 6, a 
> type code: 71 has no corresponding type. currentFsId: 1 nbrFSs: 0 nextFsAddr: 
> 1 
>       at 
> org.apache.uima.cas.impl.BinaryCasSerDes6.deserializeAfterVersion(BinaryCasSerDes6.java:1812)
>       at 
> org.apache.uima.cas.impl.BinaryCasSerDes.reinit(BinaryCasSerDes.java:594)
>       at org.apache.uima.util.CasIOUtils.load(CasIOUtils.java:382)
>       at org.apache.uima.util.CasIOUtils.load(CasIOUtils.java:344)
>         ...
>
> With the latest changes, some additional tests are failing with a new stack 
> trace:
>
> Caused by: java.util.NoSuchElementException
>       at 
> org.apache.uima.internal.util.CopyOnWriteOrderedFsSet_array$1.next(CopyOnWriteOrderedFsSet_array.java:132)
>       at 
> org.apache.uima.internal.util.CopyOnWriteOrderedFsSet_array$1.next(CopyOnWriteOrderedFsSet_array.java:120)
>       at 
> org.apache.uima.cas.impl.FSIndexRepositoryImpl$1$1.next(FSIndexRepositoryImpl.java:1578)
>       at 
> org.apache.uima.cas.impl.FSIndexRepositoryImpl$1$1.next(FSIndexRepositoryImpl.java:1563)
>       at org.apache.uima.cas.impl.AllFSs.getFSsForView(AllFSs.java:115)
>       at 
> org.apache.uima.cas.impl.AllFSs.lambda$getAllFSsAllViews_sofas$1(AllFSs.java:89)
>       at org.apache.uima.cas.impl.CASImpl.forAllViews(CASImpl.java:4440)
>       at 
> org.apache.uima.cas.impl.AllFSs.getAllFSsAllViews_sofas(AllFSs.java:89)
>       at 
> org.apache.uima.cas.impl.AllFSs.getAllFSsAllViews_sofas_reachable(AllFSs.java:95)
>       at 
> org.apache.uima.cas.impl.BinaryCasSerDes6.processIndexedFeatureStructures(BinaryCasSerDes6.java:2820)
>       at 
> org.apache.uima.cas.impl.BinaryCasSerDes6.serialize(BinaryCasSerDes6.java:747)
>       at 
> org.apache.uima.cas.impl.Serialization.serializeWithCompression(Serialization.java:247)
>       at org.apache.uima.util.CasIOUtils.save(CasIOUtils.java:483)
>       ... 34 more
>
> I'll also try to isolate this case.
>
> Best,
>
> -- Richard
>
>
>

Reply via email to