Volong created SOLR-11643:
-----------------------------

             Summary: NullPointerException at QueryComponent unmarshalSortValues
                 Key: SOLR-11643
                 URL: https://issues.apache.org/jira/browse/SOLR-11643
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: query parsers
    Affects Versions: 6.3
         Environment: JDK1.8.0_111
CentOS release 6.7

            Reporter: Volong
            Priority: Critical


I have 10000 document like this:
{
    "id":1,
    "pj_title": "I like Solr",
    "pj_source":1
}

The id goes from 1 to 10000. And the pj_source goes from 1 to 10000.The 
pj_title is constant.

the schemal is:
<field name="id" type="string" indexed="true" stored="true" required="true" 
multiValued="false" />
 <field name="pj_title" type="text_general" indexed="true" stored="true" 
omitNorms="true" />
 <field name="pj_source" type="int" indexed="true" stored="true"/>

then I got the error:

{code:xml}
<response>
    <lst name="responseHeader">
        <bool name="zkConnected">true</bool>
        <int name="status">500</int>
        <int name="QTime">270</int>
        <lst name="params">
            <str name="q">pj_title:Solr</str>
            <str name="indent">on</str>
            <str name="fq">
pj_source:(5 OR 11 OR 32 OR 20 OR 17 OR 19 OR 27 OR 28 OR 37 OR 36 OR 4 OR 25 
OR 33 OR 39 OR 14 OR 23 OR 1 OR 41 OR 34 OR 35 OR 18 OR 30 OR 21 OR 40 OR 26 OR 
16 OR 15 OR 12 OR 31 OR 22 OR 13 OR 38 OR 29 OR 24 OR 45 )
</str>
            <str name="timeAllowed">1</str>
            <str name="wt">xml</str>
        </lst>
    </lst>
    <lst name="error">
        <str name="trace">
                        java.lang.NullPointerException at
                        
org.apache.solr.handler.component.QueryComponent.unmarshalSortValues(QueryComponent.java:1211)
 at
                        
org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:1062)
 at
                        
org.apache.solr.handler.component.QueryComponent.handleRegularResponses(QueryComponent.java:761)
 at
                        
org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:740)
 at
                        
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:428)
 at
                        
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:153)
 at
                        
org.apache.solr.core.SolrCore.execute(SolrCore.java:2213) at
                        
org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:654) at
                        
org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:460) at
                        
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:303)
 at
                        
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:254)
 at
                        
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
 at
                        
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) at
                        
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at
                        
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) at
                        
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
 at
                        
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160)
 at
                        
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) at
                        
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
 at
                        
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)
 at
                        
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at
                        
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) 
at
                        org.eclipse.jetty.server.Server.handle(Server.java:518) 
at
                        
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308) at
                        
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244) at
                        
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
 at
                        
org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) at
                        
org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) 
at
                        
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)
 at
                        
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)
 at
                        
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
 at
                        
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572) 
at
                        java.lang.Thread.run(Unknown Source)
                </str>
        <int name="code">500</int>
    </lst>
</response>
{code}





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to