You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Alex Deparvu (Jira)" <ji...@apache.org> on 2023/09/11 15:23:00 UTC

[jira] [Updated] (SOLR-16971) RealTimeGet with Composite router throws NPE

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

Alex Deparvu updated SOLR-16971:
--------------------------------
    Description: 
RealTimeGet with Composite router throws NPE at slice resolution time making it unusable.
I would like to add a check and possibly return nothing instead of the NPE.

{noformat}
[c:content s:shard1 r:core_node3 x:content_shard1_replica_n1] 
o.a.s.h.RequestHandlerBase java.lang.NullPointerException: 
Cannot invoke "org.apache.solr.common.cloud.Slice.getName()" because "slice" is null => 
java.lang.NullPointerException: Cannot invoke "org.apache.solr.common.cloud.Slice.getName()" because "slice" is null
{noformat}

  was:
RealTimeGet with Composite router throws NPE at slice resolution time making it unusable.
I would like to add a check and possibly return nothing instead of the NPE.


> RealTimeGet with Composite router throws NPE
> --------------------------------------------
>
>                 Key: SOLR-16971
>                 URL: https://issues.apache.org/jira/browse/SOLR-16971
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Alex Deparvu
>            Assignee: Alex Deparvu
>            Priority: Major
>
> RealTimeGet with Composite router throws NPE at slice resolution time making it unusable.
> I would like to add a check and possibly return nothing instead of the NPE.
> {noformat}
> [c:content s:shard1 r:core_node3 x:content_shard1_replica_n1] 
> o.a.s.h.RequestHandlerBase java.lang.NullPointerException: 
> Cannot invoke "org.apache.solr.common.cloud.Slice.getName()" because "slice" is null => 
> java.lang.NullPointerException: Cannot invoke "org.apache.solr.common.cloud.Slice.getName()" because "slice" is null
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org