[
https://issues.apache.org/jira/browse/SOLR-7866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Potter updated SOLR-7866:
---------------------------------
Priority: Major (was: Blocker)
Dropping this ticket from Blocker for 5.3 to major status as I haven't been
able to reproduce this issue. We could of course just code around this issue by
catching the NPE but given that I can't reproduce it with empty / non-empty 4.x
and 5.x indexes, I'm hesitant to change code in this area until LUCENE-6719 is
resolved.
> getMaxVersionFromIndex is throwing an NPE if some segments are not current
> --------------------------------------------------------------------------
>
> Key: SOLR-7866
> URL: https://issues.apache.org/jira/browse/SOLR-7866
> Project: Solr
> Issue Type: Bug
> Reporter: Timothy Potter
> Assignee: Timothy Potter
> Fix For: 5.3
>
> Attachments: SOLR-7866.patch
>
>
> Reported by user on #solr irc (via Shalin)
> {code}
> java.lang.NullPointerException
> at
> org.apache.lucene.util.NumericUtils.prefixCodedToLong(NumericUtils.java:226)
> at org.apache.lucene.util.NumericUtils.getMaxLong(NumericUtils.java:582)
> at
> org.apache.solr.update.VersionInfo.getMaxVersionFromIndex(VersionInfo.java:234)
> at
> org.apache.solr.update.UpdateLog.seedBucketsWithHighestVersion(UpdateLog.java:1580)
> at
> org.apache.solr.update.UpdateLog.seedBucketsWithHighestVersion(UpdateLog.java:1610)
> at org.apache.solr.core.SolrCore.seedVersionBuckets(SolrCore.java:861)
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:843)
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:658)
> at org.apache.solr.core.CoreContainer.create(CoreContainer.java:637)
> at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:381)
> at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:375)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:148)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]