[ https://issues.apache.org/jira/browse/SOLR-16971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17765827#comment-17765827 ]
ASF subversion and git services commented on SOLR-16971: -------------------------------------------------------- Commit ca3c81ce37cb9160dff5384e1ab72afd900abb47 in solr's branch refs/heads/branch_9x from Alex Deparvu [ https://gitbox.apache.org/repos/asf?p=solr.git;h=ca3c81ce37c ] SOLR-16971 RealTimeGet with Composite router throws NPE (#1914) (cherry picked from commit 330abd4be3cb6e12ca5034e37e78b78bc8a5c961) > 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 > 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: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org