[pylucene-dev] java.lang.IllegalMonitorStateException

Julien Anguenot ja at nuxeo.com
Fri Jun 30 05:37:53 PDT 2006


Andi Vajda wrote:
> 
> 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 ?

Sorry forgot to give you this information...

Debian.

:~$ uname -a
Linux XXXX 2.6.15 #5 SMP Thu Jan 12 18:12:53 CET 2006 i686 GNU/Linux

> It's most likely a bug in libgcj. Try upgrading to gcj 3.4.6.

ok I'll try.
Note, I saw this error only once yesterday.

> 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.

That's planned but requires me some work to actually update NXLucene and
deal with all the deprecated API that has been removed after 1.9.1...

Thanks for the quick reply.

	J.


-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - www.nuxeo.com
CPS Platform - http://www.cps-project.org
Mobile: +33 (0) 6 72 57 57 66

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.osafoundation.org/pipermail/pylucene-dev/attachments/20060630/9e4ce134/signature.pgp


More information about the pylucene-dev mailing list