lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nate Dire <n...@highspot.com.INVALID>
Subject NPE in modifyCollection
Date Tue, 21 Nov 2017 19:04:46 GMT
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

Mime
View raw message