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" <[EMAIL PROTECTED]>
To: "Lucene Developers List" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to