What was the specific error you had to correct? The NPE appears to be in exception handling code so the actual exception is not indicated in the stack trace.
The UIMA code is rather poor in terms of failing to check and report missing parameters or bad parameters which in turn reference data that does not exist. -- Jack Krupansky On Mon, Feb 1, 2016 at 10:18 AM, alkampfer <alkamp...@nablasoft.com> wrote: > > > From: outlook_288fbf38c031d...@outlook.com > To: solr-user@lucene.apache.org > Cc: > Date: Mon, 1 Feb 2016 15:59:02 +0100 > Subject: Error configuring UIMA > > I've solved the problem, it was caused by wrong configuration in > solrconfig.xml. > > Thanks. > > > > > Hi,> > I’ve followed the guide > https://cwiki.apache.org/confluence/display/solr/UIMA+Integration to > setup a UIMA integration to test this feature. The doc is not updated for > Solr5, I’ve followed the latest comment to that guide and did some other > changes but now each request to /update handler fails with the following > error.> > Someone have a clue on what I did wrong?> > Thanks in advance.> > > {> "responseHeader": {> "status": 500,> "QTime": 443> },> > "error": {> "trace": "java.lang.NullPointerException\n\tat > org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processAdd(UIMAUpdateRequestProcessor.java:105)\n\tat > org.apache.solr.handler.loader.JsonLoader$SingleThreadedJsonLoader.processUpdate(JsonLoader.java:143)\n\tat > org.apache.solr.handler.loader.JsonLoader$SingleThreadedJsonLoader.load(JsonLoader.java:113)\n\tat > org.apache.solr.handler.loader.JsonLoader.load(JsonLoader.java:76)\n\tat > org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.java:98)\n\tat > org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)\n\tat > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143)\n\tat > org.apache.solr.core.SolrCore.execute(SolrCore.java:2068)\n\tat > org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:669)\n\tat > org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:462)\n\tat > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:210)\n\tat > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:179)\n\tat > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)\n\tat > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)\n\tat > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)\n\tat > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)\n\tat > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)\n\tat > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)\n\tat > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)\n\tat > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)\n\tat > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)\n\tat > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)\n\tat > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)\n\tat > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)\n\tat > org.eclipse.jetty.server.Server.handle(Server.java:499)\n\tat > org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)\n\tat > org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)\n\tat > org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)\n\tat > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)\n\tat > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)\n\tat > java.lang.Thread.run(Thread.java:745)\n",> "code": 500> }> }> > -- > > Gian Maria Ricci > > Cell: +39 320 0136949> > > >