You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Michael Conrad <mi...@newsrx.com> on 2021/10/25 18:12:42 UTC
Receiving NPE during search.
We have run across an issue where certain searches result in a vague
NPE. Any help into pointing into a correct direction would be appreciated.
### Example Log Entries:
2021-10-25 18:08:21.683 ERROR (qtp1659840424-39975) [c:alldata s:shard1
r:core_node64 x:alldata_shard1_replica_n63] o.a.s.h.RequestHandlerBase
java.lang.NullPointerException
2021-10-25 18:08:21.683 ERROR (qtp1659840424-39975) [c:alldata s:shard1
r:core_node64 x:alldata_shard1_replica_n63] o.a.s.s.HttpSolrCall
null:java.lang.NullPointerException
2021-10-25 18:09:01.673 ERROR (qtp1659840424-40471) [c:alldata s:shard1
r:core_node64 x:alldata_shard1_replica_n63] o.a.s.h.RequestHandlerBase
java.lang.NullPointerException
2021-10-25 18:09:01.674 ERROR (qtp1659840424-40471) [c:alldata s:shard1
r:core_node64 x:alldata_shard1_replica_n63] o.a.s.s.HttpSolrCall
null:java.lang.NullPointerException
### Example Json Response:
{
"responseHeader":{
"zkConnected":true,
"status":500,
"QTime":37,
"params":{
"q":"issuedate_tdt:[\"2014-04-18T04:00:00Z\" TO
\"2014-04-19T04:00:00Z\"}",
"defType":"edismax",
"distrib":"true",
"_stateVer_":"alldata:2543",
"qf":"_text_txt_en_split^0.1 _text_txt^0.5 _text_ws^2",
"fl":"id",
"start":"0",
"q.op":"AND",
"rows":"50000"}},
"error":{
"trace":"java.lang.NullPointerException\n",
"code":500}}
Re: Receiving NPE during search.
Posted by Michael Conrad <mi...@newsrx.com>.
I changed the global log level from WARN to INFO and still don't see a
stack trace.
2021-10-25 18:38:47.448 ERROR (qtp1659840424-40619) [c:alldata s:shard1
r:core_node64 x:alldata_shard1_replica_n63] o.a.s.h.RequestHandlerBase
java.lang.NullPointerException
2021-10-25 18:38:47.449 ERROR (qtp1659840424-40619) [c:alldata s:shard1
r:core_node64 x:alldata_shard1_replica_n63] o.a.s.s.HttpSolrCall
null:java.lang.NullPointerException
On 10/25/21 2:16 PM, Rahul Goswami wrote:
> Can you please share the complete exception stack trace from the log ?
>
> - Rahul
>
> On Mon, Oct 25, 2021 at 2:12 PM Michael Conrad <mi...@newsrx.com> wrote:
>
>> We have run across an issue where certain searches result in a vague
>> NPE. Any help into pointing into a correct direction would be appreciated.
>>
>> ### Example Log Entries:
>>
>> 2021-10-25 18:08:21.683 ERROR (qtp1659840424-39975) [c:alldata s:shard1
>> r:core_node64 x:alldata_shard1_replica_n63] o.a.s.h.RequestHandlerBase
>> java.lang.NullPointerException
>>
>> 2021-10-25 18:08:21.683 ERROR (qtp1659840424-39975) [c:alldata s:shard1
>> r:core_node64 x:alldata_shard1_replica_n63] o.a.s.s.HttpSolrCall
>> null:java.lang.NullPointerException
>>
>> 2021-10-25 18:09:01.673 ERROR (qtp1659840424-40471) [c:alldata s:shard1
>> r:core_node64 x:alldata_shard1_replica_n63] o.a.s.h.RequestHandlerBase
>> java.lang.NullPointerException
>>
>> 2021-10-25 18:09:01.674 ERROR (qtp1659840424-40471) [c:alldata s:shard1
>> r:core_node64 x:alldata_shard1_replica_n63] o.a.s.s.HttpSolrCall
>> null:java.lang.NullPointerException
>>
>> ### Example Json Response:
>>
>> {
>> "responseHeader":{
>> "zkConnected":true,
>> "status":500,
>> "QTime":37,
>> "params":{
>> "q":"issuedate_tdt:[\"2014-04-18T04:00:00Z\" TO
>> \"2014-04-19T04:00:00Z\"}",
>> "defType":"edismax",
>> "distrib":"true",
>> "_stateVer_":"alldata:2543",
>> "qf":"_text_txt_en_split^0.1 _text_txt^0.5 _text_ws^2",
>> "fl":"id",
>> "start":"0",
>> "q.op":"AND",
>> "rows":"50000"}},
>> "error":{
>> "trace":"java.lang.NullPointerException\n",
>> "code":500}}
>>
>>
Re: Receiving NPE during search.
Posted by Rahul Goswami <ra...@gmail.com>.
Can you please share the complete exception stack trace from the log ?
- Rahul
On Mon, Oct 25, 2021 at 2:12 PM Michael Conrad <mi...@newsrx.com> wrote:
> We have run across an issue where certain searches result in a vague
> NPE. Any help into pointing into a correct direction would be appreciated.
>
> ### Example Log Entries:
>
> 2021-10-25 18:08:21.683 ERROR (qtp1659840424-39975) [c:alldata s:shard1
> r:core_node64 x:alldata_shard1_replica_n63] o.a.s.h.RequestHandlerBase
> java.lang.NullPointerException
>
> 2021-10-25 18:08:21.683 ERROR (qtp1659840424-39975) [c:alldata s:shard1
> r:core_node64 x:alldata_shard1_replica_n63] o.a.s.s.HttpSolrCall
> null:java.lang.NullPointerException
>
> 2021-10-25 18:09:01.673 ERROR (qtp1659840424-40471) [c:alldata s:shard1
> r:core_node64 x:alldata_shard1_replica_n63] o.a.s.h.RequestHandlerBase
> java.lang.NullPointerException
>
> 2021-10-25 18:09:01.674 ERROR (qtp1659840424-40471) [c:alldata s:shard1
> r:core_node64 x:alldata_shard1_replica_n63] o.a.s.s.HttpSolrCall
> null:java.lang.NullPointerException
>
> ### Example Json Response:
>
> {
> "responseHeader":{
> "zkConnected":true,
> "status":500,
> "QTime":37,
> "params":{
> "q":"issuedate_tdt:[\"2014-04-18T04:00:00Z\" TO
> \"2014-04-19T04:00:00Z\"}",
> "defType":"edismax",
> "distrib":"true",
> "_stateVer_":"alldata:2543",
> "qf":"_text_txt_en_split^0.1 _text_txt^0.5 _text_ws^2",
> "fl":"id",
> "start":"0",
> "q.op":"AND",
> "rows":"50000"}},
> "error":{
> "trace":"java.lang.NullPointerException\n",
> "code":500}}
>
>