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

Drools6ExamplesTest fails with error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.0.0.M1, 7.0.0
    • itests
    • None

    Description

      The testDroolsCamelExample tests fail with following message

      Running org.apache.servicemix.itests.Drools6ExamplesTest
      Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 19.914 sec <<< FAILURE! - in org.apache.servicemix.itests.Drools6ExamplesTest
      testDroolsCamelExample(org.apache.servicemix.itests.Drools6ExamplesTest)  Time elapsed: 0.013 sec  <<< ERROR!
      java.rmi.NoSuchObjectException: no such object in table
      	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:275)
      	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:252)
      	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
      	at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
      	at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
      	at com.sun.proxy.$Proxy9.remoteCall(Unknown Source)
      	at org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl$1.invoke(RemoteBundleContextClientImpl.java:101)
      	at com.sun.proxy.$Proxy10.call(Unknown Source)
      	at org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.call(RemoteBundleContextClientImpl.java:268)
      	at org.ops4j.pax.exam.container.remote.RBCRemoteTarget.call(RBCRemoteTarget.java:60)
      	at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.call(KarafTestContainer.java:583)
      	at org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.invoke(EagerSingleStagedReactor.java:109)
      	at org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:267)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:98)
      	at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      
      org.apache.servicemix.itests.Drools6ExamplesTest  Time elapsed: 0.014 sec  <<< ERROR!
      java.lang.RuntimeException: java.rmi.NoSuchObjectException: no such object in table
      	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:275)
      	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:252)
      	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
      	at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
      	at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
      	at com.sun.proxy.$Proxy9.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:81)
      	at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.stop(KarafTestContainer.java:525)
      	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:432)
      	at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:107)
      	at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
      
      
      Results :
      
      Tests in error: 
        JUnit4Provider.invoke:128->executeTestSet:153->executeWithRerun:173->execute:283 » Runtime
        Drools6ExamplesTest.testDroolsCamelExample » NoSuchObject no such object in ta...
      
      Tests run: 3, Failures: 0, Errors: 2, Skipped: 0
      

      Problem happens only in itests. No problem while manual installation in ServiceMix

      Attachments

        Activity

          People

            sobkowiak Krzysztof Sobkowiak
            sobkowiak Krzysztof Sobkowiak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: