Hola,
Me aparece el siguiente error cuando intento modificar los valores de lectura/escritura/seguridad de un usuario y hacerlo con la opcion de en cadena activada.
Me aparece el siguiente error cuando intento modificar los valores de lectura/escritura/seguridad de un usuario y hacerlo con la opcion de en cadena activada.
Code: Select all
2015-03-08 14:52:16,919 [Hibernate Search: Directory writer-1] ERROR org.hibernate.search.exception.impl.LogErrorHandler - Exception occurred org.apac
he.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@C:\openkm-6.2.5-community\tomcat\repository\index\com.openkm.dao.bean.N
odeBase\write.lock
Primary Failure:
Entity com.openkm.dao.bean.NodeFolder Id 4ade4b8d-8cab-4d33-b0eb-eb17ebb61c03 Work Type org.hibernate.search.backend.DeleteLuceneWork
Subsequent failures:
Entity com.openkm.dao.bean.NodeFolder Id 4ade4b8d-8cab-4d33-b0eb-eb17ebb61c03 Work Type org.hibernate.search.backend.AddLuceneWork
org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@C:\openkm-6.2.5-community\tomcat\repository\index\com.openkm.da
o.bean.NodeBase\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:724)
2015-03-08 14:52:16,959 [Hibernate Search: Directory writer-1] ERROR org.hibernate.search.backend.impl.lucene.PerDPQueueProcessor - Unexpected error in Lucene Backend:
org.hibernate.search.SearchException: Unable to remove class com.openkm.dao.bean.NodeFolder#4ade4b8d-8cab-4d33-b0eb-eb17ebb61c03 from index.
at org.hibernate.search.backend.impl.lucene.works.DeleteWorkDelegate.performWork(DeleteWorkDelegate.java:91)
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:724)
Caused by: java.lang.NullPointerException
at org.hibernate.search.backend.impl.lucene.works.DeleteWorkDelegate.performWork(DeleteWorkDelegate.java:87)
... 6 more
2015-03-08 14:52:16,959 [Hibernate Search: Directory writer-1] ERROR org.hibernate.search.exception.impl.LogErrorHandler - Exception occurred org.hibe
rnate.search.SearchException: Unable to remove class com.openkm.dao.bean.NodeFolder#4ade4b8d-8cab-4d33-b0eb-eb17ebb61c03 from index.
Primary Failure:
Entity com.openkm.dao.bean.NodeFolder Id 4ade4b8d-8cab-4d33-b0eb-eb17ebb61c03 Work Type org.hibernate.search.backend.DeleteLuceneWork
Subsequent failures:
Entity com.openkm.dao.bean.NodeFolder Id 4ade4b8d-8cab-4d33-b0eb-eb17ebb61c03 Work Type org.hibernate.search.backend.AddLuceneWork
Entity com.openkm.dao.bean.NodeFolder Id 4ade4b8d-8cab-4d33-b0eb-eb17ebb61c03 Work Type org.hibernate.search.backend.AddLuceneWork
org.hibernate.search.SearchException: Unable to remove class com.openkm.dao.bean.NodeFolder#4ade4b8d-8cab-4d33-b0eb-eb17ebb61c03 from index.
at org.hibernate.search.backend.impl.lucene.works.DeleteWorkDelegate.performWork(DeleteWorkDelegate.java:91)
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:724)
Caused by: java.lang.NullPointerException
at org.hibernate.search.backend.impl.lucene.works.DeleteWorkDelegate.performWork(DeleteWorkDelegate.java:87)
... 6 more
2015-03-08 14:52:16,959 [Hibernate Search: Directory writer-1] WARN org.hibernate.search.backend.Workspace - going to force release of the IndexWriter lock
2015-03-08 14:55:01,053 [Thread-21] INFO com.openkm.util.pendtask.PendingTaskExecutor - Processing {node=4ade4b8d-8cab-4d33-b0eb-eb17ebb61c03, task=change_security, params={"user":"okmAdmin","roles":["ROLE_ADMIN"],"grantUsers":{},"revokeUsers":{},"grantRoles":{"ROLE_USER":15},"revokeRoles":{"ROLE_2":15}}, created=Sun Mar 08 14:52:43 CET 2015, status=null}