JabRef / jabref

Graphical Java application for managing BibTeX and biblatex (.bib) databases
https://devdocs.jabref.org
MIT License
3.48k stars 2.45k forks source link

Rebuild fulltext search index not working #11374

Open amaxi99 opened 1 month ago

amaxi99 commented 1 month ago

JabRef version

Latest development branch build (please note build date below)

Operating system

macOS

Details on version and operating system

macOS 14.5 (also in Windows 11)

Checked with the latest development build (copy version output from About dialog)

Steps to reproduce the behaviour

Appendix

...

Log File ``` Paste an excerpt of your log file here ```
Siedlerchr commented 1 month ago

@LoayGhreeb

koppor commented 1 month ago

Please start JabRef in debug mode and check the log.Maybe something useful is contained.

https://docs.jabref.org/advanced/commandline

amaxi99 commented 1 month ago

here is the debug-logfile

log_2024-06-13_17-06-23.txt

koppor commented 4 weeks ago

Open question: Did work for 5.13? Thus, is it a regression or was it "always" the case?

It will be fixed in https://github.com/JabRef/jabref/pull/11326, but we might need another fix for the next release. We need to evaluate.

koppor commented 4 weeks ago

Issue https://github.com/JabRef/jabref/issues/11378 seems to contradict this one.

koppor commented 4 weeks ago

Also happens with v5.13:

ERROR: Could not initialize the IndexWriter: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: C:\Users\koppor\AppData\Local\org.jabref\jabref\lucene\99\35eb99eb--koppor-bibliography.bib\write.lock
        at org.apache.lucene.core@9.10.0/org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:126)
        at org.apache.lucene.core@9.10.0/org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:43)
        at org.apache.lucene.core@9.10.0/org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:44)
        at org.apache.lucene.core@9.10.0/org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:953)