You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Nate Dire <na...@highspot.com.INVALID> on 2017/11/21 19:04:46 UTC
NPE in modifyCollection
Hi,
I'm trying to set a replica placement rule on an existing collection
and getting a NPE. It looks like the update code is assuming there's
a current value.
Collection: highspot_test operation: modifycollection
failed:java.lang.NullPointerException
at org.apache.solr.cloud.OverseerCollectionMessageHandler.modifyCollection(OverseerCollectionMessageHandler.java:677)
if (!updateKey.equals(ZkStateReader.COLLECTION_PROP)
&& !updateKey.equals(Overseer.QUEUE_OPERATION)
> && !collection.get(updateKey).equals(updateEntry.getValue())){
areChangesVisible = false;
break;
}
I'm on 6.5.1, but the code looks the same in head.
I didn't see anything related in Jira; is this a new ticket?
Thanks,
Nate
--
Nate Dire
Software Engineer
Highspot