[ https://issues.apache.org/jira/browse/SOLR-5117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar resolved SOLR-5117. ----------------------------------------- Resolution: Cannot Reproduce Hoss, I have never been able to reproduce this (and the code has changed a lot since then). The line on which the NPE occurs is: {code} idVsVersion.put(document.getFieldValue("id").toString(), document.getFieldValue("_version_").toString()); {code} idVsVersion exists already so the NPE can only happen if the document was null or if the "id" or "_version_" fields didn't exist in the doc. I can't see why that would ever happen. > NPE from ShardSplitTest.logDebugHelp > ------------------------------------ > > Key: SOLR-5117 > URL: https://issues.apache.org/jira/browse/SOLR-5117 > Project: Solr > Issue Type: Bug > Reporter: Hoss Man > Assignee: Shalin Shekhar Mangar > Attachments: SOLR-5117.log.txt > > > While running tests, i noticed this failure on trunk (which i could not > reproduce with the fixed seed)... > {noformat} > <testcase classname="org.apache.solr.cloud.ShardSplitTest" > name="testDistribSearch" time="52.907"> > <error message="" > type="java.lang.NullPointerException">java.lang.NullPointerException > at > __randomizedtesting.SeedInfo.seed([BC4CAC530EE484CC:3DAA224B79BBE4F0]:0) > at > org.apache.solr.cloud.ShardSplitTest.logDebugHelp(ShardSplitTest.java:315) > at > org.apache.solr.cloud.ShardSplitTest.checkDocCountsAndShardStates(ShardSplitTest.java:224) > at > org.apache.solr.cloud.ShardSplitTest.doTest(ShardSplitTest.java:173) > at > org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:835) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > {noformat} -- This message was sent by Atlassian JIRA (v6.1#6144) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org