Re: Inserting shards in overridden SearchComponent prepare method yields null pointer

2010-06-01 Thread Chris Hostetter
again that's just a guess) : Date: Tue, 1 Jun 2010 13:20:20 -0700 : From: Jason Rutherglen : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: Inserting shards in overridden SearchComponent prepare method yields : null pointer : : The insert shards code is

Inserting shards in overridden SearchComponent prepare method yields null pointer

2010-06-01 Thread Jason Rutherglen
The insert shards code is as follows: ModifiableSolrParams modParams = new ModifiableSolrParams(params); modParams.set("shards", shards); rb.req.setParams(modParams); Where shards is a valid single shard pseudo URL. Stacktrace: HTTP Status 500 - null java.lang.NullPointerException at org.apache