I opened LUCENE-2526 for this...

Mike

On Thu, Jul 1, 2010 at 2:19 PM, Woolf, Ross <[email protected]> wrote:
> In Lucene 2.9.2 (have not checked 3.x) calling MultiPhraseQuery.toString() 
> throws a null pointer exception.  Below is very simple code to test this out.
>
> import org.apache.lucene.search.MultiPhraseQuery;
>
> public class testMPQ {
>
>        public static void main(String[] args){
>                MultiPhraseQuery mpq = new MultiPhraseQuery();
>                System.out.println(mpq.toString());
>        }
> }
>
> It will produce the following exception:
> Exception in thread "main" java.lang.NullPointerException
>        at 
> org.apache.lucene.search.MultiPhraseQuery.toString(MultiPhraseQuery.java:275)
>        at testMPQ.main(tesMPQ.java:7)
>
>
> ---------------------------------------------------------------------
> 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