Hi,

 

I've configured integration with UIMA but when I try to add a document I
always got the error reported at bottom of the mail.

 

It seems to be related to openCalais, but I've registered to OpenCalais and
setup my token in solrconfig, so I wonder if anyone has some clue on what
could be the reason of the error.

 

I'm running this on Solr 5.3.1 instance running on linux.

 

Gian Maria.

 

null:org.apache.solr.common.SolrException: processing error null. id=doc4,
text="This is some textual content to verify UIMA integration..."

         at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processAdd(UIMAUpd
ateRequestProcessor.java:127)

         at
org.apache.solr.handler.loader.XMLLoader.processUpdate(XMLLoader.java:250)

         at
org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:177)

         at
org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.jav
a:98)

         at
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentSt
reamHandlerBase.java:74)

         at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.
java:143)

         at org.apache.solr.core.SolrCore.execute(SolrCore.java:2068)

         at
org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:669)

         at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:462)

         at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:
210)

         at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:
179)

         at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler
.java:1652)

         at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)

         at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143
)

         at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)

         at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java
:223)

         at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java
:1127)

         at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

         at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:
185)

         at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:
1061)

         at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141
)

         at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHand
lerCollection.java:215)

         at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.
java:110)

         at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:9
7)

         at org.eclipse.jetty.server.Server.handle(Server.java:499)

         at
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)

         at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)

         at
org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)

         at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:
635)

         at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:5
55)

         at java.lang.Thread.run(Thread.java:745)

Caused by: org.apache.uima.analysis_engine.AnalysisEngineProcessException

         at
org.apache.uima.annotator.calais.OpenCalaisAnnotator.process(OpenCalaisAnnot
ator.java:208)

         at
org.apache.uima.analysis_component.CasAnnotator_ImplBase.process(CasAnnotato
r_ImplBase.java:56)

         at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalys
isComponentProcess(PrimitiveAnalysisEngine_impl.java:377)

         at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAnd
OutputNewCASes(PrimitiveAnalysisEngine_impl.java:295)

         at
org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.proce
ssUntilNextOutputCas(ASB_impl.java:567)

         at
org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.<init
>(ASB_impl.java:409)

         at
org.apache.uima.analysis_engine.asb.impl.ASB_impl.process(ASB_impl.java:342)

         at
org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAnd
OutputNewCASes(AggregateAnalysisEngine_impl.java:267)

         at
org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(Analysis
EngineImplBase.java:267)

         at
org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(Analysis
EngineImplBase.java:280)

         at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processText(UIMAUp
dateRequestProcessor.java:173)

         at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processAdd(UIMAUpd
ateRequestProcessor.java:79)

         ... 30 more

Caused by: org.xml.sax.SAXParseException; lineNumber: 15; columnNumber: 7;
The element type "meta" must be terminated by the matching end-tag
"</meta>".

         at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:25
7)

         at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBu
ilderImpl.java:347)

         at
javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)

         at
org.apache.uima.annotator.calais.OpenCalaisAnnotator.process(OpenCalaisAnnot
ator.java:132)

 

 

--
Gian Maria Ricci
Cell: +39 320 0136949

 <http://mvp.microsoft.com/en-us/mvp/Gian%20Maria%20Ricci-4025635>
<http://www.linkedin.com/in/gianmariaricci>
<https://twitter.com/alkampfer>   <http://feeds.feedburner.com/AlkampferEng>


 

Reply via email to