You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Fatima Zulifqar <fa...@gmail.com> on 2018/02/28 06:32:23 UTC

Exception: UIMA - Annotator Processing Failed

Dear,

I am facing the following issue while running an open source project which
is based upon uima framework. I didn't find any solution concerned yet.

*Feb 27, 2018 11:57:39 AM
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl
callAnalysisComponentProcess(417)*
*SEVERE: Exception occurred*
*org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator
processing failed.    *
* at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:401)*
* at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:308)*
* at
org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:269)*
* at
org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:284)*
* at edu.cmu.lti.oaqa.ecd.phase.BasePhase$1.run(BasePhase.java:226)*
* at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)*
* at java.util.concurrent.FutureTask.run(FutureTask.java:266)*
* at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)*
* at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)*
* at java.lang.Thread.run(Thread.java:748)*
*Caused by: org.apache.uima.cas.CASRuntimeException: Error - the Annotation
"#1 ConceptMention
"ptv.http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073
<http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073>"*
*   sofa:
ptv.http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073
<http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073>*
*   begin: 223*
*   end: 232*
*   concept: #0 Concept*
*      names: NonEmptyStringList*
*         head: "anti gq1b"*
*         tail: EmptyStringList*
*      uris: EmptyStringList*
*      ids: EmptyStringList*
*      mentions: NonEmptyFSList*
*         head: ConceptMention*
*            sofa:
ptv.http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/1131/abstract/1299
<http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/1131/abstract/1299>*
*            begin: 32*
*            end: 41*
*            concept: #0*
*            matchedName: "anti-GQ1b"*
*            score: NaN*
*         tail: NonEmptyFSList*
*            head: #1*
*            tail: NonEmptyFSList*
*               head: ConceptMention*
*                  sofa:
ptv.http://www.ncbi.nlm.nih.gov/pubmed/23927937/abstract/303/abstract/503
<http://www.ncbi.nlm.nih.gov/pubmed/23927937/abstract/303/abstract/503>*
*                  begin: 179*
*                  end: 188*
*                  concept: #0*
*                  matchedName: "anti-GQ1b"*
*                  score: NaN*
*               tail: NonEmptyFSList*
*                  head: ConceptMention*
*                     sofa:
ptv.http://www.ncbi.nlm.nih.gov/pubmed/19664367/abstract/0/abstract/330
<http://www.ncbi.nlm.nih.gov/pubmed/19664367/abstract/0/abstract/330>*
*                     begin: 40*
*                     end: 49*
*                     concept: #0*
*                     matchedName: "anti-GQ1b"*
*                     score: NaN*
*                  tail: NonEmptyFSList*
*                     head: ConceptMention*
*                        sofa:
ptv.http://www.ncbi.nlm.nih.gov/pubmed/25379047/abstract/140/abstract/406
<http://www.ncbi.nlm.nih.gov/pubmed/25379047/abstract/140/abstract/406>*
*                        begin: 133*
*                        end: 142*
*                        concept: #0*
*                        matchedName: "anti-GQ1b"*
*                        score: NaN*
*                     tail: NonEmptyFSList*
*                        head: ConceptMention*
*                           sofa:
ptv.http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/189/abstract/386
<http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/189/abstract/386>*
*                           begin: 3*
*                           end: 12*
*                           concept: #0*
*                           matchedName: "anti-GQ1b"*
*                           score: NaN*
*                        tail: NonEmptyFSList*
*                           head: ConceptMention*
*                              sofa:
ptv.http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/189/abstract/386
<http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/189/abstract/386>*
*                              begin: 178*
*                              end: 187*
*                              concept: #0*
*                              matchedName: "anti-GQ1b"*
*                              score: NaN*
*                           tail: EmptyFSList*
*      types: NonEmptyFSList*
*         head: ConceptType*
*            id: <null>*
*            name: "frequent-phrase"*
*            abbreviation: "frequent-phrase"*
*         tail: EmptyFSList*
*   matchedName: "anti-GQ1b"*
*   score: NaN*
*" is over view
"ptv.http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073
<http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073>"
and cannot be added to indexes associated with the different view
"ptv.http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/1131/abstract/1299
<http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/1131/abstract/1299>".*
* at
org.apache.uima.cas.impl.FSIndexRepositoryImpl.ll_addFS_common(FSIndexRepositoryImpl.java:2784)*
* at
org.apache.uima.cas.impl.FSIndexRepositoryImpl.ll_addFS(FSIndexRepositoryImpl.java:2763)*
* at
org.apache.uima.cas.impl.FSIndexRepositoryImpl.addFS(FSIndexRepositoryImpl.java:2068)*
* at
org.apache.uima.cas.impl.FSIndexRepositoryImpl.addFS(FSIndexRepositoryImpl.java:2674)*
* at org.apache.uima.cas.impl.CASImpl.addFsToIndexes(CASImpl.java:4852)*
* at org.apache.uima.jcas.cas.TOP.addToIndexes(TOP.java:126)*
* at org.apache.uima.jcas.cas.TOP.addToIndexes(TOP.java:118)*
* at
java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)*
* at
java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)*
* at
java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)*
* at
java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)*
* at
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)*
* at
java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1380)*
* at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)*
* at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)*
* at
java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)*
* at
java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)*
* at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)*
* at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)*
* at
edu.cmu.lti.oaqa.baseqa.evidence.concept.PassageConceptRecognizer.process(PassageConceptRecognizer.java:96)*
* at
org.apache.uima.analysis_component.JCasAnnotator_ImplBase.process(JCasAnnotator_ImplBase.java:48)*
* at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:385)*
* ... 9 more*

Kindly help me regarding this exception as soon as possible. I will be
really grateful to you for this help.

*--*
*Fatima Zulifqar*

*Computer Science Department Graduated form UET, Lahore*
*Internee at Data Science Research Lab, Al-Khawarizmi Institute of Computer
Science (KICS),  UET, Lahore*

Re: Exception: UIMA - Annotator Processing Failed

Posted by Marshall Schor <ms...@schor.com>.
Hi,

In UIMA, there is a concept of multiple "views" in a CAS.  See:
https://uima.apache.org/d/uimaj-current/tutorials_and_users_guides.html#ugr.tug.mvs

There are two broad classes of Feature Structures:
  - (category 1:) those that inherit from AnnotationBase (which includes all
subtypes of Annotation)
  - (category 2:) those that do **not** inherit from AnnotationBase

Example:  a type you might define: "Sentence" with a supertype "Annotation" is
in category 1 above.
Example: MyControlFeatureStructure with supertype "TOP" is in category 2 above.

Each "view" has its own set of UIMA indexes.  When you create a feature
structure, and add it to the indexes, you add it to a particular view's indexes.

It is an error to try and add a feature structure of Category 1 ( that is, one
that inherits from the supertype AnnotationBase) ,
created for a particular view, to another view's indexes.  The idea is that the
annotation is over a particular Sofa (Subject of analysis - the input data), and
the Annotation has "offsets" (begin and end values, for example) that are only
valid for that Sofa (Sofas and indexes are both tied to the View concept).

The error message you got:

Error - the Annotation "#1 ConceptMention ..." 
  is over view "ptv.http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073 ..."
and cannot be added to indexes associated with the different view
               "ptv.http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/1131/abstract/1299

says the user code was trying to index the ConceptMention annotation to another view.  The ConceptMention can contain a reference to a Feature Structure in another view; but it must be "indexed" in the same view where it was created.

Hope that helps.
-Marshall

On 2/28/2018 1:32 AM, Fatima Zulifqar wrote:
> Dear,
>
> I am facing the following issue while running an open source project which
> is based upon uima framework. I didn't find any solution concerned yet.
>
> *Feb 27, 2018 11:57:39 AM
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl
> callAnalysisComponentProcess(417)*
> *SEVERE: Exception occurred*
> *org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator
> processing failed.    *
> * at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:401)*
> * at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:308)*
> * at
> org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:269)*
> * at
> org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:284)*
> * at edu.cmu.lti.oaqa.ecd.phase.BasePhase$1.run(BasePhase.java:226)*
> * at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)*
> * at java.util.concurrent.FutureTask.run(FutureTask.java:266)*
> * at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)*
> * at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)*
> * at java.lang.Thread.run(Thread.java:748)*
> *Caused by: org.apache.uima.cas.CASRuntimeException: Error - the Annotation
> "#1 ConceptMention
> "ptv.http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073
> <http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073>"*
> *   sofa:
> ptv.http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073
> <http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073>*
> *   begin: 223*
> *   end: 232*
> *   concept: #0 Concept*
> *      names: NonEmptyStringList*
> *         head: "anti gq1b"*
> *         tail: EmptyStringList*
> *      uris: EmptyStringList*
> *      ids: EmptyStringList*
> *      mentions: NonEmptyFSList*
> *         head: ConceptMention*
> *            sofa:
> ptv.http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/1131/abstract/1299
> <http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/1131/abstract/1299>*
> *            begin: 32*
> *            end: 41*
> *            concept: #0*
> *            matchedName: "anti-GQ1b"*
> *            score: NaN*
> *         tail: NonEmptyFSList*
> *            head: #1*
> *            tail: NonEmptyFSList*
> *               head: ConceptMention*
> *                  sofa:
> ptv.http://www.ncbi.nlm.nih.gov/pubmed/23927937/abstract/303/abstract/503
> <http://www.ncbi.nlm.nih.gov/pubmed/23927937/abstract/303/abstract/503>*
> *                  begin: 179*
> *                  end: 188*
> *                  concept: #0*
> *                  matchedName: "anti-GQ1b"*
> *                  score: NaN*
> *               tail: NonEmptyFSList*
> *                  head: ConceptMention*
> *                     sofa:
> ptv.http://www.ncbi.nlm.nih.gov/pubmed/19664367/abstract/0/abstract/330
> <http://www.ncbi.nlm.nih.gov/pubmed/19664367/abstract/0/abstract/330>*
> *                     begin: 40*
> *                     end: 49*
> *                     concept: #0*
> *                     matchedName: "anti-GQ1b"*
> *                     score: NaN*
> *                  tail: NonEmptyFSList*
> *                     head: ConceptMention*
> *                        sofa:
> ptv.http://www.ncbi.nlm.nih.gov/pubmed/25379047/abstract/140/abstract/406
> <http://www.ncbi.nlm.nih.gov/pubmed/25379047/abstract/140/abstract/406>*
> *                        begin: 133*
> *                        end: 142*
> *                        concept: #0*
> *                        matchedName: "anti-GQ1b"*
> *                        score: NaN*
> *                     tail: NonEmptyFSList*
> *                        head: ConceptMention*
> *                           sofa:
> ptv.http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/189/abstract/386
> <http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/189/abstract/386>*
> *                           begin: 3*
> *                           end: 12*
> *                           concept: #0*
> *                           matchedName: "anti-GQ1b"*
> *                           score: NaN*
> *                        tail: NonEmptyFSList*
> *                           head: ConceptMention*
> *                              sofa:
> ptv.http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/189/abstract/386
> <http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/189/abstract/386>*
> *                              begin: 178*
> *                              end: 187*
> *                              concept: #0*
> *                              matchedName: "anti-GQ1b"*
> *                              score: NaN*
> *                           tail: EmptyFSList*
> *      types: NonEmptyFSList*
> *         head: ConceptType*
> *            id: <null>*
> *            name: "frequent-phrase"*
> *            abbreviation: "frequent-phrase"*
> *         tail: EmptyFSList*
> *   matchedName: "anti-GQ1b"*
> *   score: NaN*
> *" is over view
> "ptv.http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073
> <http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073>"
> and cannot be added to indexes associated with the different view
> "ptv.http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/1131/abstract/1299
> <http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/1131/abstract/1299>".*
> * at
> org.apache.uima.cas.impl.FSIndexRepositoryImpl.ll_addFS_common(FSIndexRepositoryImpl.java:2784)*
> * at
> org.apache.uima.cas.impl.FSIndexRepositoryImpl.ll_addFS(FSIndexRepositoryImpl.java:2763)*
> * at
> org.apache.uima.cas.impl.FSIndexRepositoryImpl.addFS(FSIndexRepositoryImpl.java:2068)*
> * at
> org.apache.uima.cas.impl.FSIndexRepositoryImpl.addFS(FSIndexRepositoryImpl.java:2674)*
> * at org.apache.uima.cas.impl.CASImpl.addFsToIndexes(CASImpl.java:4852)*
> * at org.apache.uima.jcas.cas.TOP.addToIndexes(TOP.java:126)*
> * at org.apache.uima.jcas.cas.TOP.addToIndexes(TOP.java:118)*
> * at
> java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)*
> * at
> java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)*
> * at
> java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)*
> * at
> java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)*
> * at
> java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)*
> * at
> java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1380)*
> * at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)*
> * at
> java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)*
> * at
> java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)*
> * at
> java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)*
> * at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)*
> * at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)*
> * at
> edu.cmu.lti.oaqa.baseqa.evidence.concept.PassageConceptRecognizer.process(PassageConceptRecognizer.java:96)*
> * at
> org.apache.uima.analysis_component.JCasAnnotator_ImplBase.process(JCasAnnotator_ImplBase.java:48)*
> * at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:385)*
> * ... 9 more*
>
> Kindly help me regarding this exception as soon as possible. I will be
> really grateful to you for this help.
>
> *--*
> *Fatima Zulifqar*
>
> *Computer Science Department Graduated form UET, Lahore*
> *Internee at Data Science Research Lab, Al-Khawarizmi Institute of Computer
> Science (KICS),  UET, Lahore*
>


Re: Exception: UIMA - Annotator Processing Failed

Posted by Eddie Epstein <ea...@gmail.com>.
Hi,

An annotation feature structure can only be added to the index of the view
it was created in.

It looks like the application at
edu.cmu.lti.oaqa.baseqa.evidence.concept.PassageConceptRecognizer.process(
PassageConceptRecognizer.java:96)*
is trying to add an annotation created in one view to the index of a
different view.

Regards,
Eddie


On Wed, Feb 28, 2018 at 1:33 AM, Fatima Zulifqar <
fatimazulifqar842@gmail.com> wrote:

> Dear,
>
> I am facing the following issue while running an open source project which
> is based upon uima framework. I didn't find any solution concerned yet.
>
> *Feb 27, 2018 11:57:39 AM
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl
> callAnalysisComponentProcess(417)*
> *SEVERE: Exception occurred*
> *org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator
> processing failed.    *
> * at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.
> callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:401)*
> * at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.
> processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:308)*
> * at
> org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(
> AnalysisEngineImplBase.java:269)*
> * at
> org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(
> AnalysisEngineImplBase.java:284)*
> * at edu.cmu.lti.oaqa.ecd.phase.BasePhase$1.run(BasePhase.java:226)*
> * at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)*
> * at java.util.concurrent.FutureTask.run(FutureTask.java:266)*
> * at
> java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)*
> * at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:624)*
> * at java.lang.Thread.run(Thread.java:748)*
> *Caused by: org.apache.uima.cas.CASRuntimeException: Error - the
> Annotation
> "#1 ConceptMention
> "ptv.http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/
> 756/abstract/1073
> <http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073>"*
> *   sofa:
> ptv.http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073
> <http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073>*
> *   begin: 223*
> *   end: 232*
> *   concept: #0 Concept*
> *      names: NonEmptyStringList*
> *         head: "anti gq1b"*
> *         tail: EmptyStringList*
> *      uris: EmptyStringList*
> *      ids: EmptyStringList*
> *      mentions: NonEmptyFSList*
> *         head: ConceptMention*
> *            sofa:
> ptv.http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/
> 1131/abstract/1299
> <http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/1131/abstract/1299>*
> *            begin: 32*
> *            end: 41*
> *            concept: #0*
> *            matchedName: "anti-GQ1b"*
> *            score: NaN*
> *         tail: NonEmptyFSList*
> *            head: #1*
> *            tail: NonEmptyFSList*
> *               head: ConceptMention*
> *                  sofa:
> ptv.http://www.ncbi.nlm.nih.gov/pubmed/23927937/abstract/303/abstract/503
> <http://www.ncbi.nlm.nih.gov/pubmed/23927937/abstract/303/abstract/503>*
> *                  begin: 179*
> *                  end: 188*
> *                  concept: #0*
> *                  matchedName: "anti-GQ1b"*
> *                  score: NaN*
> *               tail: NonEmptyFSList*
> *                  head: ConceptMention*
> *                     sofa:
> ptv.http://www.ncbi.nlm.nih.gov/pubmed/19664367/abstract/0/abstract/330
> <http://www.ncbi.nlm.nih.gov/pubmed/19664367/abstract/0/abstract/330>*
> *                     begin: 40*
> *                     end: 49*
> *                     concept: #0*
> *                     matchedName: "anti-GQ1b"*
> *                     score: NaN*
> *                  tail: NonEmptyFSList*
> *                     head: ConceptMention*
> *                        sofa:
> ptv.http://www.ncbi.nlm.nih.gov/pubmed/25379047/abstract/140/abstract/406
> <http://www.ncbi.nlm.nih.gov/pubmed/25379047/abstract/140/abstract/406>*
> *                        begin: 133*
> *                        end: 142*
> *                        concept: #0*
> *                        matchedName: "anti-GQ1b"*
> *                        score: NaN*
> *                     tail: NonEmptyFSList*
> *                        head: ConceptMention*
> *                           sofa:
> ptv.http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/189/abstract/386
> <http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/189/abstract/386>*
> *                           begin: 3*
> *                           end: 12*
> *                           concept: #0*
> *                           matchedName: "anti-GQ1b"*
> *                           score: NaN*
> *                        tail: NonEmptyFSList*
> *                           head: ConceptMention*
> *                              sofa:
> ptv.http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/189/abstract/386
> <http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/189/abstract/386>*
> *                              begin: 178*
> *                              end: 187*
> *                              concept: #0*
> *                              matchedName: "anti-GQ1b"*
> *                              score: NaN*
> *                           tail: EmptyFSList*
> *      types: NonEmptyFSList*
> *         head: ConceptType*
> *            id: <null>*
> *            name: "frequent-phrase"*
> *            abbreviation: "frequent-phrase"*
> *         tail: EmptyFSList*
> *   matchedName: "anti-GQ1b"*
> *   score: NaN*
> *" is over view
> "ptv.http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/
> 756/abstract/1073
> <http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073>"
> and cannot be added to indexes associated with the different view
> "ptv.http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/
> 1131/abstract/1299
> <http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/1131/abstract/1299
> >".*
> * at
> org.apache.uima.cas.impl.FSIndexRepositoryImpl.ll_addFS_common(
> FSIndexRepositoryImpl.java:2784)*
> * at
> org.apache.uima.cas.impl.FSIndexRepositoryImpl.ll_
> addFS(FSIndexRepositoryImpl.java:2763)*
> * at
> org.apache.uima.cas.impl.FSIndexRepositoryImpl.addFS(
> FSIndexRepositoryImpl.java:2068)*
> * at
> org.apache.uima.cas.impl.FSIndexRepositoryImpl.addFS(
> FSIndexRepositoryImpl.java:2674)*
> * at org.apache.uima.cas.impl.CASImpl.addFsToIndexes(CASImpl.java:4852)*
> * at org.apache.uima.jcas.cas.TOP.addToIndexes(TOP.java:126)*
> * at org.apache.uima.jcas.cas.TOP.addToIndexes(TOP.java:118)*
> * at
> java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)*
> * at
> java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.
> java:948)*
> * at
> java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.
> java:580)*
> * at
> java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)*
> * at
> java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)*
> * at
> java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.
> java:1380)*
> * at java.util.stream.AbstractPipeline.copyInto(
> AbstractPipeline.java:481)*
> * at
> java.util.stream.AbstractPipeline.wrapAndCopyInto(
> AbstractPipeline.java:471)*
> * at
> java.util.stream.ForEachOps$ForEachOp.evaluateSequential(
> ForEachOps.java:151)*
> * at
> java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.
> java:174)*
> * at java.util.stream.AbstractPipeline.evaluate(
> AbstractPipeline.java:234)*
> * at java.util.stream.ReferencePipeline.forEach(
> ReferencePipeline.java:418)*
> * at
> edu.cmu.lti.oaqa.baseqa.evidence.concept.PassageConceptRecognizer.process(
> PassageConceptRecognizer.java:96)*
> * at org.apache.uima.analysis_component.JCasAnnotator_ImplBase.pr
> <http://nent.JCasAnnotator_ImplBase.pr>ocess(JCasAnnotator_ImplBase.java:
> 48)*
> * at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.
> callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:385)*
> * ... 9 more*
>
> Kindly help me regarding this exception as soon as possible. I will be
> really grateful to you for this help.
>
> *--*
> *Fatima Zulifqar*
>
> *Computer Science Department Graduated form UET, Lahore*
> *Internee at Data Science Research Lab, Al-Khawarizmi Institute of Computer
> Science (KICS),  UET, Lahore*
>

Fwd: Exception: UIMA - Annotator Processing Failed

Posted by Fatima Zulifqar <fa...@gmail.com>.
Dear,

I am facing the following issue while running an open source project which
is based upon uima framework. I didn't find any solution concerned yet.

*Feb 27, 2018 11:57:39 AM
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl
callAnalysisComponentProcess(417)*
*SEVERE: Exception occurred*
*org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator
processing failed.    *
* at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:401)*
* at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:308)*
* at
org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:269)*
* at
org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:284)*
* at edu.cmu.lti.oaqa.ecd.phase.BasePhase$1.run(BasePhase.java:226)*
* at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)*
* at java.util.concurrent.FutureTask.run(FutureTask.java:266)*
* at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)*
* at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)*
* at java.lang.Thread.run(Thread.java:748)*
*Caused by: org.apache.uima.cas.CASRuntimeException: Error - the Annotation
"#1 ConceptMention
"ptv.http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073
<http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073>"*
*   sofa:
ptv.http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073
<http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073>*
*   begin: 223*
*   end: 232*
*   concept: #0 Concept*
*      names: NonEmptyStringList*
*         head: "anti gq1b"*
*         tail: EmptyStringList*
*      uris: EmptyStringList*
*      ids: EmptyStringList*
*      mentions: NonEmptyFSList*
*         head: ConceptMention*
*            sofa:
ptv.http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/1131/abstract/1299
<http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/1131/abstract/1299>*
*            begin: 32*
*            end: 41*
*            concept: #0*
*            matchedName: "anti-GQ1b"*
*            score: NaN*
*         tail: NonEmptyFSList*
*            head: #1*
*            tail: NonEmptyFSList*
*               head: ConceptMention*
*                  sofa:
ptv.http://www.ncbi.nlm.nih.gov/pubmed/23927937/abstract/303/abstract/503
<http://www.ncbi.nlm.nih.gov/pubmed/23927937/abstract/303/abstract/503>*
*                  begin: 179*
*                  end: 188*
*                  concept: #0*
*                  matchedName: "anti-GQ1b"*
*                  score: NaN*
*               tail: NonEmptyFSList*
*                  head: ConceptMention*
*                     sofa:
ptv.http://www.ncbi.nlm.nih.gov/pubmed/19664367/abstract/0/abstract/330
<http://www.ncbi.nlm.nih.gov/pubmed/19664367/abstract/0/abstract/330>*
*                     begin: 40*
*                     end: 49*
*                     concept: #0*
*                     matchedName: "anti-GQ1b"*
*                     score: NaN*
*                  tail: NonEmptyFSList*
*                     head: ConceptMention*
*                        sofa:
ptv.http://www.ncbi.nlm.nih.gov/pubmed/25379047/abstract/140/abstract/406
<http://www.ncbi.nlm.nih.gov/pubmed/25379047/abstract/140/abstract/406>*
*                        begin: 133*
*                        end: 142*
*                        concept: #0*
*                        matchedName: "anti-GQ1b"*
*                        score: NaN*
*                     tail: NonEmptyFSList*
*                        head: ConceptMention*
*                           sofa:
ptv.http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/189/abstract/386
<http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/189/abstract/386>*
*                           begin: 3*
*                           end: 12*
*                           concept: #0*
*                           matchedName: "anti-GQ1b"*
*                           score: NaN*
*                        tail: NonEmptyFSList*
*                           head: ConceptMention*
*                              sofa:
ptv.http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/189/abstract/386
<http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/189/abstract/386>*
*                              begin: 178*
*                              end: 187*
*                              concept: #0*
*                              matchedName: "anti-GQ1b"*
*                              score: NaN*
*                           tail: EmptyFSList*
*      types: NonEmptyFSList*
*         head: ConceptType*
*            id: <null>*
*            name: "frequent-phrase"*
*            abbreviation: "frequent-phrase"*
*         tail: EmptyFSList*
*   matchedName: "anti-GQ1b"*
*   score: NaN*
*" is over view
"ptv.http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073
<http://www.ncbi.nlm.nih.gov/pubmed/21631649/abstract/756/abstract/1073>"
and cannot be added to indexes associated with the different view
"ptv.http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/1131/abstract/1299
<http://www.ncbi.nlm.nih.gov/pubmed/22698187/abstract/1131/abstract/1299>".*
* at
org.apache.uima.cas.impl.FSIndexRepositoryImpl.ll_addFS_common(FSIndexRepositoryImpl.java:2784)*
* at
org.apache.uima.cas.impl.FSIndexRepositoryImpl.ll_addFS(FSIndexRepositoryImpl.java:2763)*
* at
org.apache.uima.cas.impl.FSIndexRepositoryImpl.addFS(FSIndexRepositoryImpl.java:2068)*
* at
org.apache.uima.cas.impl.FSIndexRepositoryImpl.addFS(FSIndexRepositoryImpl.java:2674)*
* at org.apache.uima.cas.impl.CASImpl.addFsToIndexes(CASImpl.java:4852)*
* at org.apache.uima.jcas.cas.TOP.addToIndexes(TOP.java:126)*
* at org.apache.uima.jcas.cas.TOP.addToIndexes(TOP.java:118)*
* at
java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)*
* at
java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)*
* at
java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)*
* at
java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)*
* at
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)*
* at
java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1380)*
* at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)*
* at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)*
* at
java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)*
* at
java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)*
* at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)*
* at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)*
* at
edu.cmu.lti.oaqa.baseqa.evidence.concept.PassageConceptRecognizer.process(PassageConceptRecognizer.java:96)*
* at org.apache.uima.analysis_component.JCasAnnotator_ImplBase.pr
<http://nent.JCasAnnotator_ImplBase.pr>ocess(JCasAnnotator_ImplBase.java:48)*
* at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:385)*
* ... 9 more*

Kindly help me regarding this exception as soon as possible. I will be
really grateful to you for this help.

*--*
*Fatima Zulifqar*

*Computer Science Department Graduated form UET, Lahore*
*Internee at Data Science Research Lab, Al-Khawarizmi Institute of Computer
Science (KICS),  UET, Lahore*