Hi - we have some code inside a unit test, extending AbstractFullDistribZkTestBase. I am indexing thousands of documents as part of the test to getCommonCloudSolrClient(); Somewhere down the line it trips over a document. I've debugged inspected the bas document but cannot find anything wrong with it. The thrown exception is beyond unhelpful:
<error message="java.lang.NullPointerException" type="org.apache.solr.client.solrj.SolrServerException">org.apache.solr.client.solrj.SolrServerException: java.lang.NullPointerException at __randomizedtesting.SeedInfo.seed([D78A66027B188E12:A85800974E3282A7]:0) at org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:948) at org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:799) at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:135) at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:152) These are the last lines including that document SolrInputDocument(fields: [id=q9911555, type=query, compound_sid=nl_44da5ce2766326cc_52303206, compound_dig=nl_44da5ce2766326cc_1282013516, filter=44da5ce2766326cc, uid=3141070978, sid=52303206, dig=1282013516, time=2014-10-08T16:51:06Z, query=Omeprazol, qtime=46, lang=nl, hits=46, engine=fake]) [qtp350954577-74] INFO org.apache.solr.update.processor.LogUpdateProcessor - [collection1] webapp= path=/update params={wt=javabin&version=2} {add=[q9911555 (1515548831923568640)]} 0 1 [TEST-TestRelatedCompiler.testBasicRelations-seed#[14DC4C771346037F]] ERROR org.apache.solr.client.solrj.impl.CloudSolrClient - Request to collection collection1 failed due to (0) java.lang.NullPointerException, retry? 0 Any ideas? Thanks, Markus