jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-1532) ShareableNodesTest.testAddShareableMixin failures
Date Tue, 18 Mar 2014 13:37:44 GMT

    [ https://issues.apache.org/jira/browse/OAK-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13939193#comment-13939193
] 

Michael Dürig commented on OAK-1532:
------------------------------------

Looks like the test setup causes the event listeners to be unregistered multiple times. At
http://svn.apache.org/r1578872 I made this operation idempotent, which should fix the immediate
issue. 

> ShareableNodesTest.testAddShareableMixin failures
> -------------------------------------------------
>
>                 Key: OAK-1532
>                 URL: https://issues.apache.org/jira/browse/OAK-1532
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.18
>            Reporter: Alex Parvulescu
>            Assignee: Michael Dürig
>              Labels: observation
>
> I'm seeing this test fail consistently on our internal CI builds.
> _org.apache.jackrabbit.core.observation.ShareableNodesTest.testAddShareableMixin_:
> bq. Change processor already stopped
> Stacktrace
> {code}
> java.lang.IllegalStateException: Change processor already stopped
> 	at com.google.common.base.Preconditions.checkState(Preconditions.java:150)
> 	at org.apache.jackrabbit.oak.jcr.observation.ChangeProcessor$RunningGuard.stop(ChangeProcessor.java:259)
> 	at org.apache.jackrabbit.oak.jcr.observation.ChangeProcessor.stop(ChangeProcessor.java:192)
> 	at org.apache.jackrabbit.oak.jcr.observation.ObservationManagerImpl.stop(ObservationManagerImpl.java:267)
> 	at org.apache.jackrabbit.oak.jcr.observation.ObservationManagerImpl.dispose(ObservationManagerImpl.java:117)
> 	at org.apache.jackrabbit.oak.jcr.session.SessionContext.dispose(SessionContext.java:387)
> 	at org.apache.jackrabbit.oak.jcr.session.SessionImpl$10.perform(SessionImpl.java:465)
> 	at org.apache.jackrabbit.oak.jcr.session.SessionImpl$10.perform(SessionImpl.java:462)
> 	at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:263)
> 	at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.safePerform(SessionDelegate.java:306)
> 	at org.apache.jackrabbit.oak.jcr.session.SessionImpl.safePerform(SessionImpl.java:129)
> 	at org.apache.jackrabbit.oak.jcr.session.SessionImpl.logout(SessionImpl.java:462)
> 	at org.apache.jackrabbit.test.AbstractJCRTest.cleanUp(AbstractJCRTest.java:439)
> 	at org.apache.jackrabbit.test.AbstractJCRTest.tearDown(AbstractJCRTest.java:448)
> 	at org.apache.jackrabbit.test.api.observation.AbstractObservationTest.tearDown(AbstractObservationTest.java:67)
> 	at junit.framework.TestCase.runBare(TestCase.java:140)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:464)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:243)
> 	at junit.framework.TestSuite.run(TestSuite.java:238)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:243)
> 	at org.apache.jackrabbit.test.ConcurrentTestSuite.access$001(ConcurrentTestSuite.java:29)
> 	at org.apache.jackrabbit.test.ConcurrentTestSuite$2.run(ConcurrentTestSuite.java:67)
> 	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
> 	at java.lang.Thread.run(Thread.java:662)
> {code}



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

Mime
View raw message