Page 1 of 1

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

PostPosted:Mon Nov 21, 2016 10:10 am
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

Re: Error org.hibernate.search.exception.impl.LogErrorHandler

PostPosted:Thu Nov 24, 2016 9:11 pm
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"

Re: Error org.hibernate.search.exception.impl.LogErrorHandler

PostPosted:Tue Nov 29, 2016 8:35 am
by e.mueller
Thank you for the support. This Problem is fixed, but i have another problem on this server: see: viewtopic.php?f=5&t=21040
can you help me please.
BR