[
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}
one workaround is to pass "_route_" param.
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.
{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}
one workaround is to pass "_route_" param.
> 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}
> one workaround is to pass "_route_" param.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]