lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael <youamus...@gmail.com>
Subject NPE in JSONWriter using Distributed Search w/Grouping
Date Fri, 11 Nov 2011 21:14:21 GMT
Hello -

I am doing some testing with a nightly build from 11/4/2011 and I regularly
encounter an NPE in the JSONWriter when performing a distributed search
with grouping on a single numeric field.  The same searches non-disributed
to not encounter this issue.  None of the individual shards log any sort of
error, however the server that is distributing the search logs the
following stack trace fairly regular and returns a 500 error:

Nov 11, 2011 12:30:01 PM org.apache.solr.common.SolrException log
SEVERE: java.lang.NullPointerException
        at
org.apache.solr.response.JSONWriter.writeSolrDocument(JSONResponseWriter.java:320)
        at
org.apache.solr.response.TextResponseWriter.writeSolrDocumentList(TextResponseWriter.java:201)
        at
org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:169)
        at
org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:174)
        at
org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:290)
        at
org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:173)
        at
org.apache.solr.response.JSONWriter.writeArray(JSONResponseWriter.java:522)
        at
org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:175)
        at
org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:174)
        at
org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:290)
        at
org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:173)
        at
org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:174)
        at
org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:294)
        at
org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:173)
        at
org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:174)
        at
org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:290)
        at
org.apache.solr.response.JSONWriter.writeResponse(JSONResponseWriter.java:87)
        at
org.apache.solr.response.JSONResponseWriter.write(JSONResponseWriter.java:51)
        at
org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:340)
        at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:261)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
        at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
        at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

Should I create a JIRA issue for this?

Thanks,

Michael

Mime
View raw message