Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-2234

Activiti example itest fails with java.rmi.NoSuchObjectException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0
    • itests
    • None

    Description

      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.

      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)
      

      Attachments

        1. SM-2234-workaround.patch
          3 kB
          Bart Horré

        Issue Links

          Activity

            People

              gertvanthienen Gert Vanthienen
              gertvanthienen Gert Vanthienen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: