lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Guy (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SOLR-3797) NullPointerException when attempting search using JSON format. XML formatted search does not error using same params.
Date Thu, 06 Sep 2012 04:00:09 GMT

     [ https://issues.apache.org/jira/browse/SOLR-3797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Guy closed SOLR-3797.
----------------------------

    Resolution: Invalid

This is because of how I created the core as a copy of another core I believe. 
                
> NullPointerException when attempting search using JSON format. XML formatted search does
not error using same params.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3797
>                 URL: https://issues.apache.org/jira/browse/SOLR-3797
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0-BETA
>         Environment: OS X 10.7.4 and Ubuntu
>            Reporter: Daniel Guy
>            Priority: Blocker
>             Fix For: 4.0
>
>         Attachments: schema.xml, solrconfig.xml
>
>
> Receive the following error when attempting a *.* search using json return format:
> SEVERE: null:java.lang.NullPointerException
> 	at org.apache.solr.response.JSONWriter.writeStr(JSONResponseWriter.java:447)
> 	at org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:133)
> 	at org.apache.solr.response.JSONWriter.writeSolrDocument(JSONResponseWriter.java:355)
> 	at org.apache.solr.response.TextResponseWriter.writeDocuments(TextResponseWriter.java:275)
> 	at org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:172)
> 	at org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:179)
> 	at org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:295)
> 	at org.apache.solr.response.JSONWriter.writeResponse(JSONResponseWriter.java:91)
> 	at org.apache.solr.response.JSONResponseWriter.write(JSONResponseWriter.java:57)
> 	at org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:410)
> 	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:288)
> 	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1337)
> 	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:484)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
> 	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
> 	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065)
> 	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413)
> 	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> 	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
> 	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
> 	at org.eclipse.jetty.server.Server.handle(Server.java:351)
> 	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454)
> 	at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:47)
> 	at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890)
> 	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944)
> 	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:634)
> 	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
> 	at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:66)
> 	at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:254)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
> 	at java.lang.Thread.run(Thread.java:680)
> Full url: http://localhost:8983/solr/offers/select?q=*.*&wt=json

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message