Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Spark fails on CAS error #6

Open
tomersagi opened this issue Jul 20, 2021 · 0 comments
Open

Spark fails on CAS error #6

tomersagi opened this issue Jul 20, 2021 · 0 comments

Comments

@tomersagi
Copy link

When running according to the instructions this happens:

...
Caused by: org.apache.uima.cas.CASRuntimeException: A sofaFS with name _InitialView has already been created.
        at org.apache.uima.cas.impl.CASImpl.addSofa(CASImpl.java:765)
        at org.apache.uima.cas.impl.CASImpl.createInitialSofa(CASImpl.java:748)
        at org.apache.uima.cas.impl.CASImpl.getSofaRef(CASImpl.java:850)
        at org.apache.uima.cas.impl.CASImpl.ll_createFSAnnotCheck(CASImpl.java:631)
        at org.apache.uima.cas.impl.CASImpl.ll_createAnnotation(CASImpl.java:4521)
        at org.apache.uima.cas.impl.CASImpl.ll_createDocumentAnnotationNoIndex(CASImpl.java:4593)
        at org.apache.uima.cas.impl.CASImpl.ll_createDocumentAnnotation(CASImpl.java:4586)
        at org.apache.uima.cas.impl.CASImpl.createDocumentAnnotation(CASImpl.java:4582)
        at org.apache.uima.cas.impl.CASImpl.getDocumentAnnotation(CASImpl.java:4635)
        at org.apache.uima.cas.impl.CASImpl.setDocumentLanguage(CASImpl.java:4767)
        at org.apache.uima.jcas.impl.JCasImpl.setDocumentLanguage(JCasImpl.java:1319)
        at fr.aphp.wind.uima.segmenter.pojo.SectionSegmenterPojo.analyzeText(SectionSegmenterPojo.java:84)
        at fr.aphp.wind.uima.spark.MimicSectionSegmenter$$anonfun$main$1.apply(MimicSectionExtractor.scala:61)
        at fr.aphp.wind.uima.spark.MimicSectionSegmenter$$anonfun$main$1.apply(MimicSectionExtractor.scala:60)
...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant