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

Reply via email to