lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Sperryn" <br...@bcom.co.za>
Subject Re: problem getting a nullpointer exception when porting to linux
Date Wed, 10 Nov 2004 11:35:40 GMT
java.lang.NullPointerException
	at org.apache.lucene.search.IndexSearcher.explain(IndexSearcher.java:170)
	at org.apache.lucene.search.Hits.getMoreDocs(Hits.java:64)
	at org.apache.lucene.search.Hits.(Hits.java:43)
	at org.apache.lucene.search.Searcher.search(Searcher.java:33)
	at org.apache.lucene.search.Searcher.search(Searcher.java:27)
	at org.apache.jsp.results_jsp._jspService(results_jsp.java:292)

i hope this helps....

----- Original Message -----
From: "Bernhard Messer" <bmesser@apache.org>
To: "Lucene Developers List" <lucene-dev@jakarta.apache.org>
Sent: Wednesday, November 10, 2004 1:31 PM
Subject: Re: problem getting a nullpointer exception when porting to linux


> Brian,
>
> the line of code you pasted is not very useful to see where the problem
> exists. Could you please provide a small sample how the index is
> generated and the query is sent to lucene. If that is not possible,
> maybe the stacktrace could be helpful also.
>
> Thanks
> Bernhard
>
> Brian Sperryn schrieb:
>
> >hi everyone!
> >
> >could someone please help me...
> >i'm getting a null pointer from the line:
> >
> >hits = searcher.search(query);
> >
> >i can't understand why, it only happens in a linux environment, not on my
development XP environment....
> >i've re-indexed but that didn't seem to help...
> >
> >thanks in advance
> >
> >regards
> >-Brian Sperryn
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>


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


Mime
View raw message