lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woolf, Ross" <>
Subject RE: Exception invoking MultiPhraseQuery
Date Tue, 12 Jan 2010 19:08:27 GMT
Thanks, I'll try that.  As for the stack trace
"com.sun.jdi.InvocationException occurred invoking method"

is the total of the error I get.  And I only see this when I select "mpq" in the Variables
window and that is displayed instead of showing the mpq object.  I've tried catching the exception
but it is not catchable.  I only get the invocation exception displayed and can't inspect

-----Original Message-----
From: Erick Erickson [] 
Sent: Tuesday, January 12, 2010 11:49 AM
Subject: Re: Exception invoking MultiPhraseQuery

I'd try running it outside of Eclipse, and/or checking each and every
of the many configuration options in Eclipse to see if you have an old
jar that Eclipse is using, from jars you've made accessible via the
"java build path" window to projects referenced to......

Alternately, you can look for all the Lucene jars on your machine and
delete (or move) any old ones.

And if none of this helps, can you post the entire stack trace?


On Tue, Jan 12, 2010 at 1:28 PM, Woolf, Ross <> wrote:

> I can't invoke MultiPhraseQuery.  It produces the error:
> com.sun.jdi.InvocationException occurred invoking method
> Here is the code:
> MultiPhraseQuery mpq = new MultiPhraseQuery();
> In the eclipse debugger when I try to inspect mpq after instantiating it
> shows the error.
> I'm on Lucene 2.9.1 with Java 1.5 on Windows XP.  Is MultiPhraseQuery bad
> in 2.9.1?  Does anyone know how I can find out why it is having the
> invocation exception?
> Thanks
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message