I remember a NPE in some seek method, and I think that was fixed.
Is this the latest version?  Compiling with debug flag turned off will
show line numbers.
Otis

--- Tate Jones <[EMAIL PROTECTED]> wrote:
> Gee KMail is crazy at times
> 
> On Thu, 21 Mar 2002 11:08, Tate Jones wrote:
> > If i attempt a search that contains a forward slash '/' the
> following
> > exception occurs
> 
>  <testcase name="testFullTextStringPool" time="3.59">
>     <error 
> type="java.lang.NullPointerException">java.lang.NullPointerException
>   at org.apache.lucene.index.SegmentTermPositions.seek(Unknown
> Source)
>   at org.apache.lucene.index.SegmentTermDocs.seek(Unknown Source)
>   at org.apache.lucene.index.SegmentsTermDocs.termDocs(Unknown
> Source)
>   at org.apache.lucene.index.SegmentsTermDocs.next(Unknown Source)
>   at org.apache.lucene.search.PhrasePositions.next(Unknown Source)
>   at org.apache.lucene.search.PhrasePositions.&lt;init&gt;(Unknown
> Source)
>   at org.apache.lucene.search.PhraseScorer.&lt;init&gt;(Unknown
> Source)
>   at org.apache.lucene.search.ExactPhraseScorer.&lt;init&gt;(Unknown
> Source)
>   at org.apache.lucene.search.PhraseQuery.scorer(Unknown Source)
>   at org.apache.lucene.search.BooleanQuery.scorer(Unknown Source)
>   at org.apache.lucene.search.Query.scorer(Unknown Source)
>   at org.apache.lucene.search.IndexSearcher.search(Unknown Source)
>   at org.apache.lucene.search.Hits.getMoreDocs(Unknown Source)
>   at org.apache.lucene.search.Hits.&lt;init&gt;(Unknown Source)
>   at org.apache.lucene.search.Searcher.search(Unknown Source)
>   at org.apache.lucene.search.Searcher.search(Unknown Source)
> 
> Any ideas on how to escape the forward slash.
> 
> The string added was successful
> "this/is/a/test/for/slashes"
> 
> I then tried to search for 
> "this/is/a/test/for/slashes"
> 
> then the exception occurred.
> 
> Thanks
> Tate
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/

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

Reply via email to