[pylucene-dev] java.lang.IllegalMonitorStateException

Andi Vajda vajda at osafoundation.org
Fri Jun 30 05:30:36 PDT 2006


On Fri, 30 Jun 2006, Julien Anguenot wrote:

> "/usr/local/linkbynet/nxlucene-0.8.6/src/nxlucene/searcher.py", line 38,
> in __init__
>            self._store = PyLucene.FSDirectory.getDirectory(store_dir,
> False)
>        PyLucene.JavaError: java.lang.IllegalMonitorStateException:
> current thread not owner
>
> Did someone already saw this error ?
>
> gcc-3.4.4
> PyLucene-1.9.1 (compiled from source)
> Python-2.4.2

I assume this is on Linux. Which one ?
It's most likely a bug in libgcj. Try upgrading to gcj 3.4.6.

If that doesn't help, try upgrading to gcj 4.1.0 but for that you might need 
a patch first: http://gcc.gnu.org/ml/java/2006-03/msg00190.html

I'd also recommend upgrading to PyLucene 2.0.0.

Andi..


More information about the pylucene-dev mailing list