You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Ryan Heinen <ry...@elasticpath.com> on 2006/10/06 19:52:59 UTC

Re: [BULK] Re: NPE thrown in invertDocument [RESOLVED]

Daniel Naber wrote:
> On Thursday 28 September 2006 23:55, Ryan Heinen wrote:
> 
>> I am creating an index using a RAMDirectory, and am running across a
>> situation where when I call IndexSearcher.addDocument it throws a
>> NullPointerException.
> 
> Could you create a small test case that reporduces this? This usually makes 
> it easier to find the problem (for you) or to fix the bug (for the 
> developers) if there is any.

Well, I finally had a chance to take a closer look at the code in an 
attempt to create a test case when I discovered that the particular 
IndexSearcher that I was having trouble with was being given null as 
it's analyzer.

Sorry for the false alarm, and thanks for the help,

Ryan


> 
> Regards
>  Daniel
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org