hl.fl parameter not checked
---------------------------

                 Key: SOLR-444
                 URL: https://issues.apache.org/jira/browse/SOLR-444
             Project: Solr
          Issue Type: Bug
          Components: highlighter
    Affects Versions: 1.3
            Reporter: Sergey Dryganets


this exception apear if send Empty string in the hl.fl request parameter

ava.lang.NullPointerException at 
org.apache.solr.highlight.SolrHighlighter.doHighlighting(SolrHighlighter.java:270)
 at 
org.apache.solr.handler.StandardRequestHandler.handleRequestBody(StandardRequestHandler.java:165)
 at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:78)
 at org.apache.solr.core.SolrCore.execute(SolrCore.java:807) at 
org.apache.solr.servlet.SolrServlet.doGet(SolrServlet.java:64) at 
org.apache.solr.servlet.SolrServlet.doPost(SolrServlet.java:51) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:200)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) 
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261) 
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) 
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at 
java.lang.Thread.run(Thread.java:595)

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

Reply via email to