lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-4041) Null pointer exception
Date Tue, 08 May 2012 05:25:57 GMT

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

Ryan McKinley resolved LUCENE-4041.
-----------------------------------

       Resolution: Invalid
    Lucene Fields:   (was: New)

Can you post this kind of question to solr-user@lucene.apache.org

you are likely to get better/faster response there

It looks like you are mising a query parameter.  Make sure you have:
/solr/select?q=hello

If that gives you the NPE, post to the list and include:
* what version are you running
* general setup info

ryan



                
> Null pointer exception
> ----------------------
>
>                 Key: LUCENE-4041
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4041
>             Project: Lucene - Java
>          Issue Type: Bug
>         Environment: php , mysql , curl post/get
>            Reporter: anoop
>            Priority: Critical
>              Labels: patch
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
>  When I try a long query I got following error. Dont know why. I tried my maximum , pls
help me 
> HTTP ERROR 500
> Problem accessing /solr/select/. Reason:
>     null
> java.lang.NullPointerException
> 	at java.io.StringReader.<init>(StringReader.java:33)
> 	at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:203)
> 	at org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java:80)
> 	at org.apache.solr.search.QParser.getQuery(QParser.java:142)
> 	at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:101)
> 	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:173)
> 	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1372)
> 	at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
> 	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
> 	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)
> Powered by Jetty://

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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