jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-1485) AsyncIndexUpdate unable to cope with restarts in an OSGi environment
Date Mon, 03 Mar 2014 13:33:20 GMT
Alex Parvulescu created OAK-1485:
------------------------------------

             Summary: AsyncIndexUpdate unable to cope with restarts in an OSGi environment
                 Key: OAK-1485
                 URL: https://issues.apache.org/jira/browse/OAK-1485
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core
            Reporter: Alex Parvulescu


Restarting the oak-core bundle leaves the Async Indexer in an bad state 

{code}
org.apache.sling.commons.scheduler.impl.QuartzScheduler Exception during job execution of
org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate@1408475 : service must be activated
when used
java.lang.IllegalStateException: service must be activated when used
	at com.google.common.base.Preconditions.checkState(Preconditions.java:150)
	at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService.getNodeStore(SegmentNodeStoreService.java:70)
	at org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService.getNodeStore(SegmentNodeStoreService.java:40)
	at org.apache.jackrabbit.oak.spi.state.ProxyNodeStore.checkpoint(ProxyNodeStore.java:67)
	at org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate.run(AsyncIndexUpdate.java:115)
	at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:105)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:207)
	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)
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message