[
https://issues.apache.org/jira/browse/SM-2234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bart Horré updated SM-2234:
---------------------------
Attachment: SM-2234-workaround.patch
In the supplied patch you'll find a workaround to this failing test.
The linked issue is probably the cause of this test failing, so for now I just
disabled the uninstallation of the activiti feature
> Activiti example itest fails with java.rmi.NoSuchObjectException
> ----------------------------------------------------------------
>
> Key: SM-2234
> URL: https://issues.apache.org/jira/browse/SM-2234
> Project: ServiceMix
> Issue Type: Bug
> Components: itests
> Reporter: Gert Vanthienen
> Fix For: 5.0.0
>
> Attachments: SM-2234-workaround.patch
>
>
> The Activiti integration test seems to run fine once, but then fails. The
> odd thing in this output: there's only one @Test method in that class, but
> this output reports two tests run.
> {noformat}
> Running org.apache.servicemix.itests.ActivitiExamplesTest
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 79.966 sec
> <<< FAILURE!
> org.apache.servicemix.itests.ActivitiExamplesTest Time elapsed: 22.166 sec
> <<< ERROR!
> java.lang.RuntimeException: java.rmi.NoSuchObjectException: no such object in
> table
> at
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:273)
> at
> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:251)
> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:160)
> at
> java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
> at
> java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
> at com.sun.proxy.$Proxy12.uninstallBundle(Unknown Source)
> at
> org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.cleanup(RemoteBundleContextClientImpl.java:159)
> at
> org.ops4j.pax.exam.container.remote.RBCRemoteTarget.stop(RBCRemoteTarget.java:86)
> at
> org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.stop(KarafTestContainer.java:481)
> at
> org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.tearDown(EagerSingleStagedReactor.java:118)
> at
> org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.afterClass(EagerSingleStagedReactor.java:132)
> at
> org.ops4j.pax.exam.spi.reactors.ReactorManager.afterClass(ReactorManager.java:436)
> at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:121)
> at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)