• Error org.hibernate.search.exception.impl.LogErrorHandler

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #42605  by e.mueller
 
Please help; i become a error and the CPU-Usage goes to 100%
Code: Select all
2016-11-21 09:19:09,636 [http-bio-0.0.0.0-8080-exec-3] INFO  com.bradmcevoy.http.HttpManager- PROPFIND :: http://www.dms-ejv.ch/OpenKM/webdav/okm_root/UV%20ZSJV/intern/1006%20Mutationen_Mitgliederkasse/Mitglieder-Beitraege-BESR/Rechnungen/2016/Alphornbl%C3%A4serInnen_Mit_Mitgliederbeitr%C3%A4gen.docx - http://www.dms-ejv.ch/OpenKM/webdav/okm_root/UV%20ZSJV/intern/1006%20Mutationen_Mitgliederkasse/Mitglieder-Beitraege-BESR/Rechnungen/2016/Alphornbl%C3%A4serInnen_Mit_Mitgliederbeitr%C3%A4gen.docx
2016-11-21 09:19:11,635 [http-bio-0.0.0.0-8080-exec-8] INFO  com.bradmcevoy.http.HttpManager- PUT :: http://www.dms-ejv.ch/OpenKM/webdav/okm_root/UV%20ZSJV/intern/1006%20Mutationen_Mitgliederkasse/Mitglieder-Beitraege-BESR/Rechnungen/2016/~$phornbl%C3%A4serInnen_Mit_Mitgliederbeitr%C3%A4gen.docx - http://www.dms-ejv.ch/OpenKM/webdav/okm_root/UV%20ZSJV/intern/1006%20Mutationen_Mitgliederkasse/Mitglieder-Beitraege-BESR/Rechnungen/2016/~$phornbl%C3%A4serInnen_Mit_Mitgliederbeitr%C3%A4gen.docx
2016-11-21 09:19:11,637 [http-bio-0.0.0.0-8080-exec-8] WARN  com.openkm.webdav.resource.ResourceUtils- PathNotFoundException: /okm:root/UV ZSJV/intern/1006 Mutationen_Mitgliederkasse/Mitglieder-Beitraege-BESR/Rechnungen/2016/~$phornbläserInnen_Mit_Mitgliederbeiträgen.docx
2016-11-21 09:19:11,638 [http-bio-0.0.0.0-8080-exec-8] WARN  com.openkm.webdav.resource.ResourceUtils- PathNotFoundException: /okm:root/UV ZSJV/intern/1006 Mutationen_Mitgliederkasse/Mitglieder-Beitraege-BESR/Rechnungen/2016/~$phornbläserInnen_Mit_Mitgliederbeiträgen.docx
2016-11-21 09:19:17,881 [Hibernate Search: Directory writer-1] ERROR org.hibernate.search.exception.impl.LogErrorHandler- Exception occurred org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@/Daten/okmrepo/index/com.openkm.dao.bean.NodeDocumentVersion/write.lock
Primary Failure:
	Entity com.openkm.dao.bean.NodeDocumentVersion  Id 299e0786-7318-4325-8203-dae4459dca10  Work Type  org.hibernate.search.backend.AddLuceneWork

org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@/Daten/okmrepo/index/com.openkm.dao.bean.NodeDocumentVersion/write.lock
	at org.apache.lucene.store.Lock.obtain(Lock.java:84)
	at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1097)
	at org.hibernate.search.backend.Workspace.createNewIndexWriter(Workspace.java:202)
	at org.hibernate.search.backend.Workspace.getIndexWriter(Workspace.java:180)
	at org.hibernate.search.backend.impl.lucene.PerDPQueueProcessor.run(PerDPQueueProcessor.java:103)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
2016-11-21 09:19:17,889 [Hibernate Search: Directory writer-1] ERROR org.hibernate.search.backend.impl.lucene.PerDPQueueProcessor- Unexpected error in Lucene Backend: 
java.lang.NullPointerException
	at org.hibernate.search.backend.impl.lucene.works.AddWorkDelegate.performWork(AddWorkDelegate.java:76)
	at org.hibernate.search.backend.impl.lucene.PerDPQueueProcessor.run(PerDPQueueProcessor.java:106)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
2016-11-21 09:19:17,889 [Hibernate Search: Directory writer-1] ERROR org.hibernate.search.exception.impl.LogErrorHandler- Exception occurred java.lang.NullPointerException
Primary Failure:
	Entity com.openkm.dao.bean.NodeDocumentVersion  Id 299e0786-7318-4325-8203-dae4459dca10  Work Type  org.hibernate.search.backend.AddLuceneWork

java.lang.NullPointerException
	at org.hibernate.search.backend.impl.lucene.works.AddWorkDelegate.performWork(AddWorkDelegate.java:76)
	at org.hibernate.search.backend.impl.lucene.PerDPQueueProcessor.run(PerDPQueueProcessor.java:106)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
2016-11-21 09:19:17,889 [Hibernate Search: Directory writer-1] WARN  org.hibernate.search.backend.Workspace- going to force release of the IndexWriter lock
 #42627  by jllort
 
Seems the application has not shutdown correctly and the lucene index has been corrupted.

- Stop openkm
- Delete the folder index
- Start openkm
- Go to administration > Tools > Rebuild indexes and click on "Rebuild lucene indexes"

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.