lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-652) q.alt=*:* when used with dismaxQueryHandler HighlightComponent throws NPE
Date Thu, 24 Jul 2008 17:55:31 GMT

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

Ryan McKinley updated SOLR-652:
-------------------------------

    Attachment: SOLR-652-highlightError.patch

Here is a patch and test that checks the highlighting component before using it...
will commit shortly

> q.alt=*:*  when used with dismaxQueryHandler HighlightComponent throws NPE
> --------------------------------------------------------------------------
>
>                 Key: SOLR-652
>                 URL: https://issues.apache.org/jira/browse/SOLR-652
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Kalyan Manepalli
>            Assignee: Ryan McKinley
>             Fix For: 1.3
>
>         Attachments: SOLR-652-highlightError.patch
>
>
> When q.alt=*:* is used with dismax query handler, HighlightComponent throws NPE.
> Here is the snippet of the exception
> {code}
> null
> java.lang.NullPointerException
> 	at org.apache.solr.handler.component.HighlightComponent.process(HighlightComponent.java:77)
> 	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:156)
> 	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:125)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:989)
> 	at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
> 	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:272)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
> 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
> 	at org.mortbay.jetty.Server.handle(Server.java:285)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
> 	at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
> 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
> {code}
> http://localhost:8888/select/?q.alt=*:*&qt=dismax&hl=on

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message