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=&quot;Test Room HAW GN-K35...&quot;
> at
> org.apache.solr.uima.**processor.**UIMAUpdateRequestProcessor.**
> processAdd&#40;**UIMAUpdateRequestProcessor.**java:107&#41;
> at
> org.apache.solr.handler.**XMLLoader.processUpdate&#40;**
> XMLLoader.java:158&#41;
> at org.apache.solr.handler.**XMLLoader.load&#40;XMLLoader.**java:79&#41;
> at
> org.apache.solr.handler.**ContentStreamHandlerBase.**
> handleRequestBody&#40;**ContentStreamHandlerBase.java:**58&#41;
> at
> org.apache.solr.handler.**RequestHandlerBase.**handleRequest&#40;**
> RequestHandlerBase.java:129&#**41;
> at org.apache.solr.core.SolrCore.**execute&#40;SolrCore.java:**1372&#41;
> at
> org.apache.solr.servlet.**SolrDispatchFilter.execute&#**
> 40;SolrDispatchFilter.java:**356&#41;
> at
> org.apache.solr.servlet.**SolrDispatchFilter.doFilter&#**
> 40;SolrDispatchFilter.java:**252&#41;
> at
> com.ibm.ws.webcontainer.**filter.FilterInstanceWrapper.**doFilter&#40;**
> FilterInstanceWrapper.java:**192&#41;
> at
> com.ibm.ws.webcontainer.**filter.WebAppFilterChain.**doFilter&#40;**
> WebAppFilterChain.java:89&#41;
> at
> com.ibm.ws.webcontainer.**filter.WebAppFilterManager.**doFilter&#40;**
> WebAppFilterManager.java:919&#**41;
> at
> com.ibm.ws.webcontainer.**filter.WebAppFilterManager.**invokeFilters&#40;*
> *WebAppFilterManager.java:1016&**#41;
> at
> com.ibm.ws.webcontainer.**webapp.WebApp.handleRequest&#**
> 40;WebApp.java:3703&#41;
> at
> com.ibm.ws.webcontainer.**webapp.WebGroup.handleRequest&**
> #40;WebGroup.java:304&#41;
> at
> com.ibm.ws.webcontainer.**WebContainer.handleRequest&#**
> 40;WebContainer.java:953&#41;
> at
> com.ibm.ws.webcontainer.**WSWebContainer.handleRequest&#**
> 40;WSWebContainer.java:1655&#**41;
> at
> com.ibm.ws.webcontainer.**channel.WCChannelLink.ready&#**
> 40;WCChannelLink.java:195&#41;
> at
> com.ibm.ws.http.channel.**inbound.impl.HttpInboundLink.**
> handleDiscrimination&#40;**HttpInboundLink.java:452&#41;
> at
> com.ibm.ws.http.channel.**inbound.impl.HttpInboundLink.**
> handleNewRequest&#40;**HttpInboundLink.java:511&#41;
> at
> com.ibm.ws.http.channel.**inbound.impl.HttpInboundLink.**
> processRequest&#40;**HttpInboundLink.java:305&#41;
> at
> com.ibm.ws.http.channel.**inbound.impl.HttpInboundLink.**
> ready&#40;HttpInboundLink.**java:276&#41;
> at
> com.ibm.ws.tcp.channel.impl.**NewConnectionInitialReadCallba**
> ck.sendToDiscriminators&#40;**NewConnectionInitialReadCallba**
> ck.java:214&#41;
> at
> com.ibm.ws.tcp.channel.impl.**NewConnectionInitialReadCallba**
> ck.complete&#40;**NewConnectionInitialReadCallba**ck.java:113&#41;
> at
> com.ibm.ws.tcp.channel.impl.**AioReadCompletionListener.**
> futureCompleted&#40;**AioReadCompletionListener.**java:165&#41;
> at
> com.ibm.io.async.**AbstractAsyncFuture.**invokeCallback&#40;**
> AbstractAsyncFuture.java:217&#**41;
> at
> com.ibm.io.async.**AsyncChannelFuture.**fireCompletionActions&#40;**
> AsyncChannelFuture.java:161&#**41;
> at com.ibm.io.async.AsyncFuture.**completed&#40;AsyncFuture.**
> java:138&#41;
> at com.ibm.io.async.**ResultHandler.complete&#40;**
> ResultHandler.java:204&#41;
> at
> com.ibm.io.async.**ResultHandler.**runEventProcessingLoop&#40;**
> ResultHandler.java:775&#41;
> at com.ibm.io.async.**ResultHandler$2.run&#40;**
> ResultHandler.java:905&#41;
> at com.ibm.ws.util.ThreadPool$**Worker.run&#40;ThreadPool.**java:1650&#41;
> Caused by: org.apache.uima.resource.**ResourceInitializationExceptio**n
> at
> org.apache.solr.uima.**processor.ae.**OverridingParamsAEProvider.**
> getAE&#40;**OverridingParamsAEProvider.**java:86&#41;
> at
> org.apache.solr.uima.**processor.**UIMAUpdateRequestProcessor.**
> processText&#40;**UIMAUpdateRequestProcessor.**java:144&#41;
> at
> org.apache.solr.uima.**processor.**UIMAUpdateRequestProcessor.**
> processAdd&#40;**UIMAUpdateRequestProcessor.**java:77&#41;
> ... 30 more
> Caused by: java.lang.NullPointerException
> at
> org.apache.uima.util.**XMLInputSource.&lt;init&gt;&#**
> 40;XMLInputSource.java:118&#**41;
> at
> org.apache.solr.uima.**processor.ae.**OverridingParamsAEProvider.**
> getAE&#40;**OverridingParamsAEProvider.**java:58&#41;
> ... 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.
>

Reply via email to