ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shahid ashraf <sha...@trialx.com>
Subject Re: Annotator processing failed
Date Thu, 02 Feb 2017 21:47:56 GMT
Thanks sean..

Seems it might have issue with thread safety of ctakes modules... mainly
postagger. i too am guessing :P


On Fri, Feb 3, 2017 at 2:46 AM, Finan, Sean <
Sean.Finan@childrens.harvard.edu> wrote:

> Hi Shahid,
>
>
>
> Just fyi, That client app is not part of ctakes or supported by the
> general ctakes community.  My initial guess would be that it ran out of
> memory or had an empty or unreadable document.  Again, this is a complete
> shot in the dark as I don’t use that servlet and the error report has
> nothing specific with regard to ctakes.
>
>
>
> Sean
>
>
>
> *From:* shahid ashraf [mailto:shahid@trialx.com]
> *Sent:* Thursday, February 02, 2017 8:37 AM
> *To:* Finan, Sean; dev@ctakes.apache.org; Andrey Kurdumov;
> masanz.james@gmail.com
> *Subject:* Annotator processing failed
>
>
>
> I am using ctakes examples java servlet from here http://healthnlp.github.
> io/examples/
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__healthnlp.github.io_examples_&d=DwMFaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=-pS4a8HsJtgy3fXJt8JmXdvd3X9gG3l5UR-hkoRDG0A&s=qaWZ-ReKaj42RMRONEYR2tHoDSKM2KFJT9DyzNdzNi4&e=>
>
> After processing some documents maybe 1000+ it gets this error
>
> javax.servlet.ServletException: org.apache.uima.analysis_engine.AnalysisEngineProcessException:
Annotator processing failed.
>
>         org.apache.ctakes.web.client.servlet.DemoServlet.doPost(DemoServlet.java:103)
>
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
>
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>
>         org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>
> *root cause*
>
> org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator processing
failed.
>
>         org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:412)
>
>         org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:314)
>
>         org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas(ASB_impl.java:570)
>
>         org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.<init>(ASB_impl.java:412)
>
>         org.apache.uima.analysis_engine.asb.impl.ASB_impl.process(ASB_impl.java:344)
>
>         org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:265)
>
>         org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas(ASB_impl.java:570)
>
>         org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.<init>(ASB_impl.java:412)
>
>         org.apache.uima.analysis_engine.asb.impl.ASB_impl.process(ASB_impl.java:344)
>
>         org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:265)
>
>         org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:269)
>
>         org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:284)
>
>         org.apache.ctakes.web.client.servlet.DemoServlet.doPost(DemoServlet.java:92)
>
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
>
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
>
>         org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>
> *root cause*
>
> java.lang.NullPointerException
>
>
>
> --
>
> with Regards
>
> Shahid Ashraf
>



-- 
with Regards
Shahid Ashraf

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message