You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Marth (JIRA)" <ji...@apache.org> on 2014/03/05 13:53:43 UTC

[jira] [Updated] (OAK-1485) AsyncIndexUpdate unable to cope with restarts in an OSGi environment

     [ https://issues.apache.org/jira/browse/OAK-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Marth updated OAK-1485:
-------------------------------

    Fix Version/s: 0.19

> 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
>             Fix For: 0.19
>
>
> 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)