lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From soumitra80 <soumitra.mazumde...@gmail.com>
Subject Re: SOl6.3 Alchemy Annotator Not Working
Date Fri, 25 Nov 2016 03:50:50 GMT
I  have managed to get it working.
Now getting a exception for a different annotator.

org.apache.solr.common.SolrException: processing error
java.lang.NullPointerException.
id=C:\IBMASSIGNMENTS\WatsonCognitive\data\WatsonConferenceRooms.pdf, 
text="null
C:\NONIBM\uimaj-2.9.0-bin\apache-uima\examples\data\WatsonConferenceRooms.txt
Thursday, Novembe..."
	at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processAdd(UIMAUpdateRequestProcessor.java:120)
	at org.apache.solr.handler.dataimport.SolrWriter.upload(SolrWriter.java:74)
	at
org.apache.solr.handler.dataimport.DataImportHandler$1.upload(DataImportHandler.java:254)
	at
org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:526)
	at
org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:516)
	at
org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:414)
	at
org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:329)
	at
org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:232)
	at
org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:416)
	at
org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:475)
	at
org.apache.solr.handler.dataimport.DataImportHandler.handleRequestBody(DataImportHandler.java:180)
	at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:153)
	at org.apache.solr.core.SolrCore.execute(SolrCore.java:2213)
	at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:654)
	at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:460)
	at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:303)
	at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:254)
	at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
	at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
	at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
	at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
	at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160)
	at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
	at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
	at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)
	at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
	at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
	at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
	at org.eclipse.jetty.server.Server.handle(Server.java:518)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
	at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)
	at
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
	at
org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
	at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)
	at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.execute(ExecuteProduceConsume.java:102)
	at org.eclipse.jetty.io.ManagedSelector.run(ManagedSelector.java:137)
	at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
	at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
	at java.lang.Thread.run(Thread.java:785)
Caused by: org.apache.solr.uima.processor.FieldMappingException:
java.lang.NullPointerException
	at
org.apache.solr.uima.processor.UIMAToSolrMapper.map(UIMAToSolrMapper.java:83)
	at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processAdd(UIMAUpdateRequestProcessor.java:88)
	... 41 more
Caused by: java.lang.NullPointerException
	at
org.apache.uima.cas.impl.FSIndexRepositoryImpl.getAllIndexedFS(FSIndexRepositoryImpl.java:3010)
	at
org.apache.uima.cas.impl.FSIndexRepositoryImpl.getAllIndexedFS(FSIndexRepositoryImpl.java:2987)
	at
org.apache.solr.uima.processor.UIMAToSolrMapper.map(UIMAToSolrMapper.java:58)
	... 42 more



--
View this message in context: http://lucene.472066.n3.nabble.com/SOl6-3-Alchemy-Annotator-Not-Working-tp4307228p4307373.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message