Hi all, 2012/6/1 Jack Krupansky <j...@basetechnology.com>
> Is it failing on the first document? I see "uid 5", suggests that it is > not. If not, how is this document different from the others? > > I see the exception > org.apache.uima.resource.**ResourceInitializationExceptio**n, suggesting > that some file cannot be loaded. > > It sounds like it may be having trouble loading "aePath" > ("analysisEngine"). Or maybe some other file? > thanks Jack, that's correct, it's most likely what's causing the reported error. Tommaso > > -- Jack Krupansky > > -----Original Message----- From: debdoot > Sent: Thursday, May 31, 2012 11:59 AM > To: solr-user@lucene.apache.org > Subject: Re: Solr with UIMA > > > Hi Tommaso, > > I have followed the steps you have listed to try to deploy the example > RoomNumberAnnotator with Solr 3.5. > Here is the error trace that I get: > > > org.apache.solr.common.**SolrException: processing error: null. uid=5, > text="Test Room HAW GN-K35..." > at > org.apache.solr.uima.**processor.**UIMAUpdateRequestProcessor.** > processAdd(**UIMAUpdateRequestProcessor.**java:107) > at > org.apache.solr.handler.**XMLLoader.processUpdate(** > XMLLoader.java:158) > at org.apache.solr.handler.**XMLLoader.load(XMLLoader.**java:79) > at > org.apache.solr.handler.**ContentStreamHandlerBase.** > handleRequestBody(**ContentStreamHandlerBase.java:**58) > at > org.apache.solr.handler.**RequestHandlerBase.**handleRequest(** > RequestHandlerBase.java:129&#**41; > at org.apache.solr.core.SolrCore.**execute(SolrCore.java:**1372) > at > org.apache.solr.servlet.**SolrDispatchFilter.execute&#** > 40;SolrDispatchFilter.java:**356) > at > org.apache.solr.servlet.**SolrDispatchFilter.doFilter&#** > 40;SolrDispatchFilter.java:**252) > at > com.ibm.ws.webcontainer.**filter.FilterInstanceWrapper.**doFilter(** > FilterInstanceWrapper.java:**192) > at > com.ibm.ws.webcontainer.**filter.WebAppFilterChain.**doFilter(** > WebAppFilterChain.java:89) > at > com.ibm.ws.webcontainer.**filter.WebAppFilterManager.**doFilter(** > WebAppFilterManager.java:919&#**41; > at > com.ibm.ws.webcontainer.**filter.WebAppFilterManager.**invokeFilters(* > *WebAppFilterManager.java:1016&**#41; > at > com.ibm.ws.webcontainer.**webapp.WebApp.handleRequest&#** > 40;WebApp.java:3703) > at > com.ibm.ws.webcontainer.**webapp.WebGroup.handleRequest&** > #40;WebGroup.java:304) > at > com.ibm.ws.webcontainer.**WebContainer.handleRequest&#** > 40;WebContainer.java:953) > at > com.ibm.ws.webcontainer.**WSWebContainer.handleRequest&#** > 40;WSWebContainer.java:1655&#**41; > at > com.ibm.ws.webcontainer.**channel.WCChannelLink.ready&#** > 40;WCChannelLink.java:195) > at > com.ibm.ws.http.channel.**inbound.impl.HttpInboundLink.** > handleDiscrimination(**HttpInboundLink.java:452) > at > com.ibm.ws.http.channel.**inbound.impl.HttpInboundLink.** > handleNewRequest(**HttpInboundLink.java:511) > at > com.ibm.ws.http.channel.**inbound.impl.HttpInboundLink.** > processRequest(**HttpInboundLink.java:305) > at > com.ibm.ws.http.channel.**inbound.impl.HttpInboundLink.** > ready(HttpInboundLink.**java:276) > at > com.ibm.ws.tcp.channel.impl.**NewConnectionInitialReadCallba** > ck.sendToDiscriminators(**NewConnectionInitialReadCallba** > ck.java:214) > at > com.ibm.ws.tcp.channel.impl.**NewConnectionInitialReadCallba** > ck.complete(**NewConnectionInitialReadCallba**ck.java:113) > at > com.ibm.ws.tcp.channel.impl.**AioReadCompletionListener.** > futureCompleted(**AioReadCompletionListener.**java:165) > at > com.ibm.io.async.**AbstractAsyncFuture.**invokeCallback(** > AbstractAsyncFuture.java:217&#**41; > at > com.ibm.io.async.**AsyncChannelFuture.**fireCompletionActions(** > AsyncChannelFuture.java:161&#**41; > at com.ibm.io.async.AsyncFuture.**completed(AsyncFuture.** > java:138) > at com.ibm.io.async.**ResultHandler.complete(** > ResultHandler.java:204) > at > com.ibm.io.async.**ResultHandler.**runEventProcessingLoop(** > ResultHandler.java:775) > at com.ibm.io.async.**ResultHandler$2.run(** > ResultHandler.java:905) > at com.ibm.ws.util.ThreadPool$**Worker.run(ThreadPool.**java:1650) > Caused by: org.apache.uima.resource.**ResourceInitializationExceptio**n > at > org.apache.solr.uima.**processor.ae.**OverridingParamsAEProvider.** > getAE(**OverridingParamsAEProvider.**java:86) > at > org.apache.solr.uima.**processor.**UIMAUpdateRequestProcessor.** > processText(**UIMAUpdateRequestProcessor.**java:144) > at > org.apache.solr.uima.**processor.**UIMAUpdateRequestProcessor.** > processAdd(**UIMAUpdateRequestProcessor.**java:77) > ... 30 more > Caused by: java.lang.NullPointerException > at > org.apache.uima.util.**XMLInputSource.<init>&#** > 40;XMLInputSource.java:118&#**41; > at > org.apache.solr.uima.**processor.ae.**OverridingParamsAEProvider.** > getAE(**OverridingParamsAEProvider.**java:58) > ... 32 more > > at > com.ibm.ws.webcontainer.**webapp.**WebAppDispatcherContext.**sendError(** > WebAppDispatcherContext.java:**624) > at > com.ibm.ws.webcontainer.**webapp.**WebAppDispatcherContext.**sendError(** > WebAppDispatcherContext.java:**642) > at > com.ibm.ws.webcontainer.srt.**SRTServletResponse.sendError(** > SRTServletResponse.java:1235) > at > org.apache.solr.servlet.**SolrDispatchFilter.sendError(** > SolrDispatchFilter.java:380) > at > org.apache.solr.servlet.**SolrDispatchFilter.**writeResponse(** > SolrDispatchFilter.java:326) > at > org.apache.solr.servlet.**SolrDispatchFilter.doFilter(** > SolrDispatchFilter.java:265) > .... > .... > > Please let me know if you have any insights on what could be the issue. > > Thanks in advance, > Debdoot > > > -- > View this message in context: http://lucene.472066.n3.** > nabble.com/Solr-with-UIMA-**tp3863324p3987056.html<http://lucene.472066.n3.nabble.com/Solr-with-UIMA-tp3863324p3987056.html> > Sent from the Solr - User mailing list archive at Nabble.com. >