From: "Jack Krupansky" jack.krupan...@gmail.com To: solr-user@lucene.apache.org Cc: Date: Mon, 1 Feb 2016 10:55:44 -0500 Subject: Re: Error in UIMA, probably opencalais,
Yes, that is the exact error that I got, but I think that the error is somewhat due to the return value of OpenCalais API because it is in the method OpenCalaisAnnotator.process. As a general question I'd like to know if I can disable the openCalais part and using only Alchemy API. I've found information on this in some old message with OverridingParamsExtServicesAE.xml, but I did not find anything in the documentation that suggest how to do this. Anyone has a link that explain how to use OverridingParamsExtServicesAE.xml to avoid using OpenCalais api? Thanks in advance. Gian Maria. > At the bottom (the fine print!) it says: lineNumber: 15; columnNumber: 7; > The element type "meta" must be terminated by the matching end-tag > "". > > -- Jack Krupansky > > On Mon, Feb 1, 2016 at 10:45 AM, Gian Maria Ricci - aka Alkampfer < > alkamp...@nablasoft.com> wrote: > > > 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(UIMAUpdateRequestProcessor.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.java:98) > > > > at > > org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.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(ContextHandlerCollection.java:215) > > > > at > > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) > > > > at > > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) > > > > 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:555) > > > > at java.lang.Thread.run(Thread.java:745) > > > > Caused by: org.apache.uima.analysis_engine.AnalysisEngineProcessException > > > > *at > > org.apache.uima.annotator.calais.OpenCalaisAnnotator.process(OpenCalaisAnnotator.java:208)* > > > > at > > org.apache.uima.analysis_component.CasAnnotator_ImplBase.process(CasAnnotator_ImplBase.java:56) > > > > at > > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:377) > > > > at > > org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:295) > > > > at > > org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas(ASB_impl.java:567) > > > > at > > org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.(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.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:267) > > > > at > > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:267) > > > > at > > org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:280) > > > > at > > org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processText(UIMAUpdateRequestProcessor.java:173) > > > > at > > org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processAdd(UIMAUpdateRequestProcessor.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 > > "". > > > > at > > com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257) > > > > at > > com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:347) > > > > at > > javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) > > > > at > > org.apache.uima.annotator.calais.OpenCalaisAnnotator.process(OpenCalaisAnnotator.java:132) > > > > > > > > > > > > -- > > Gian Maria Ricci > > Cell: +39 320 0136949 > > > > [image: > > https://ci5.googleusercontent.com/proxy/5oNMOYAeFXZ_LDKanNfoLRHC37mAZkVVhkPN7QxMdA0K5JW2m0bm8azJe7oWZMNt8fKHNX1bzrUTd-kIyE40CmwT2Mlf8OI=s0-d-e1-ft#http://www.codewrecks.com/files/signature/mvp.png] > > [image: > > https://ci3.googleusercontent.com/proxy/f-unQbmk6NtkHFspO5Y6x4jlIf_xrmGLUT3fU9y_7VUHSFUjLs7aUIMdZQYTh3eWIA0sBnvNX3WGXCU59chKXLuAHi2ArWdAcBclKA=s0-d-e1-ft#http://www.codewrecks.com/files/signature/linkedin.jpg] > > [image: > > https://ci3.googleusercontent.com/proxy/gjapMzu3KEakBQUstx_-cN7gHJ_GpcIZNEPjCzOYMrPl-r1DViPE378qNAQyEWbXMTj6mcduIAGaApe9qHG1KN_hyFxQAIkdNSVT=s0-d-e1-ft#http://www.codewrecks.com/files/signature/twitter.jpg] > > [image: > > https://ci5.googleusercontent.com/proxy/iuDOD2sdaxRDvTwS8MO7-CcXchpNJX96uaWuvagoVLcjpAPsJi88XeOonE4vHT6udVimo7yL9ZtdrYueEfH7jXnudmi_Vvw=s0-d-e1-ft#http://www.codewrecks.com/files/signature/rss.jpg] > > [image: > > https://ci6.googleusercontent.com/proxy/EBJjfkBzcsSlAzlyR88y86YXcwaKfn3x7ydAObL1vtjJYclQr_l5TvrFx4PQ5qLNYW3yp7Ig66DJ-0tPJCDbDmYAFcamPQehwg=s0-d-e1-ft#http://www.codewrecks.com/files/signature/skype.jpg] > > > > > >