[
https://issues.apache.org/jira/browse/SOLR-16971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Deparvu resolved SOLR-16971.
---------------------------------
Fix Version/s: 9.4
Resolution: Fixed
> 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)
> Affects Versions: 9.0
> Reporter: Alex Deparvu
> Assignee: Alex Deparvu
> Priority: Major
> Fix For: 9.4
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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]