Felix reports: Stopping a bundle that is starting or stopping is currently not supported. Should not happen in Exam. --------------------------------------------------------------------------------------------------------------------
Key: PAXEXAM-37 URL: http://issues.ops4j.org/browse/PAXEXAM-37 Project: Pax Exam Issue Type: Task Environment: all standard + profile spring.dm 1.2rc1 Reporter: Toni Menzel Assignee: Toni Menzel [FelixDispatchQueue] DEBUG com.springsource.net.sf.cglib - BundleEvent RESOLVED [FelixDispatchQueue] DEBUG org.springframework.aop - BundleEvent RESOLVED [FelixDispatchQueue] DEBUG com.springsource.edu.emory.mathcs.backport - BundleEvent RESOLVED [FelixStartLevel] DEBUG org.ops4j.pax.swissbox.extender.BundleWatcher - Scanning bundle [org.springframework.beans] [FelixDispatchQueue] DEBUG org.springframework.aop - BundleEvent STARTED [FelixDispatchQueue] DEBUG org.springframework.beans - BundleEvent STARTED [FelixStartLevel] DEBUG org.ops4j.pax.swissbox.extender.BundleWatcher - Scanning bundle [org.springframework.context] [FelixDispatchQueue] DEBUG org.springframework.context - BundleEvent RESOLVED [FelixDispatchQueue] DEBUG org.springframework.context - BundleEvent STARTED [FelixStartLevel] DEBUG org.ops4j.pax.swissbox.extender.BundleWatcher - Scanning bundle [org.springframework.context.support] [FelixStartLevel] DEBUG org.ops4j.pax.swissbox.extender.BundleWatcher - Scanning bundle [org.springframework.core] [FelixDispatchQueue] DEBUG org.springframework.context.support - BundleEvent RESOLVED [FelixDispatchQueue] DEBUG org.springframework.context.support - BundleEvent STARTED [FelixDispatchQueue] DEBUG org.springframework.core - BundleEvent STARTED [FelixStartLevel] DEBUG org.ops4j.pax.swissbox.extender.BundleWatcher - Scanning bundle [com.springsource.org.objectweb.asm] [FelixDispatchQueue] DEBUG com.springsource.org.objectweb.asm - BundleEvent RESOLVED [FelixDispatchQueue] DEBUG com.springsource.org.objectweb.asm - BundleEvent STARTED [FelixStartLevel] DEBUG org.ops4j.pax.swissbox.extender.BundleWatcher - Scanning bundle [com.springsource.edu.emory.mathcs.backport] [FelixDispatchQueue] DEBUG com.springsource.edu.emory.mathcs.backport - BundleEvent STARTED [FelixStartLevel] DEBUG org.ops4j.pax.swissbox.extender.BundleWatcher - Scanning bundle [com.springsource.net.sf.cglib] [FelixDispatchQueue] DEBUG com.springsource.net.sf.cglib - BundleEvent STARTED [FelixStartLevel] DEBUG org.ops4j.pax.swissbox.extender.BundleWatcher - Scanning bundle [org.springframework.osgi.extensions.annotations] [FelixStartLevel] DEBUG org.ops4j.pax.swissbox.extender.BundleWatcher - Scanning bundle [org.springframework.osgi.core] [FelixDispatchQueue] DEBUG org.springframework.osgi.core - BundleEvent RESOLVED [FelixDispatchQueue] DEBUG org.springframework.osgi.io - BundleEvent RESOLVED [FelixDispatchQueue] DEBUG org.springframework.osgi.extender - BundleEvent RESOLVED [FelixDispatchQueue] DEBUG org.springframework.osgi.extensions.annotations - BundleEvent RESOLVED [FelixDispatchQueue] DEBUG org.springframework.osgi.extensions.annotations - BundleEvent STARTED [FelixDispatchQueue] DEBUG org.springframework.osgi.core - BundleEvent STARTED [FelixDispatchQueue] DEBUG pax-exam-probe - BundleEvent INSTALLED [RMI TCP Connection(1)-192.168.1.35] DEBUG org.ops4j.pax.swissbox.extender.BundleWatcher - Scanning bundle [pax-exam-probe] [FelixDispatchQueue] DEBUG pax-exam-probe - BundleEvent RESOLVED [RMI TCP Connection(1)-192.168.1.35] DEBUG org.ops4j.pax.swissbox.extender.BundleWatcher - Found resources [ManifestEntry{ key=PaxExam-TestMethodName, value=testConfig }, ManifestEntry{ key=PaxExam-TestClassName, value=org.ops4j.pax.exam.it.ProfilesRepositoryTest }] [RMI TCP Connection(1)-192.168.1.35] INFO org.ops4j.pax.exam.junit.extender.impl.internal.TestBundleObserver - Found test: org.ops4j.pax.exam.it.ProfilesRepositoryTest.testConfig [RMI TCP Connection(1)-192.168.1.35] DEBUG pax-exam-probe - ServiceEvent REGISTERED [RMI TCP Connection(1)-192.168.1.35] INFO org.ops4j.pax.exam.junit.extender.impl.internal.TestBundleObserver - Registered testcase [org.ops4j.pax.exam.it.ProfilesRepositoryTest.testConfig] [FelixDispatchQueue] DEBUG pax-exam-probe - BundleEvent STARTED [FelixStartLevel] INFO org.springframework.osgi.extender.internal.activator.ContextLoaderListener - Starting [org.springframework.osgi.extender] bundle v.[1.2.0.rc1] [RMI TCP Connection(1)-192.168.1.35] INFO org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl - Remote call of [org.ops4j.pax.exam.junit.extender.CallableTestMethod.call] [RMI TCP Connection(1)-192.168.1.35] INFO org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl - Look up service [org.ops4j.pax.exam.junit.extender.CallableTestMethod], timeout in 0 millis Checking bundle states.. [ PaxRunnerTestContainer] - Shutting down the test container (Pax Runner) [FelixStartLevel] DEBUG org.springframework.osgi.extender.internal.support.NamespaceManager - Adding namespace handler resolver for Spring AOP (org.springframework.aop) [FelixStartLevel] DEBUG org.springframework.osgi.extender.internal.support.NamespacePlugins - Adding as handler Spring AOP (org.springframework.aop) org.ops4j.pax.exam.spi.container.TestContainerException: System bundle cannot be stopped at org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient.stop(RemoteBundleContextClient.java:209) at org.ops4j.pax.exam.container.def.internal.PaxRunnerTestContainer.stop(PaxRunnerTestContainer.java:158) at org.ops4j.pax.exam.junit.internal.JUnit4TestMethod.invoke(JUnit4TestMethod.java:121) at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98) at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79) at org.ops4j.pax.exam.junit.internal.JUnit4MethodRoadie.runBeforesThenTestThenAfters(JUnit4MethodRoadie.java:60) at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77) at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42) at org.ops4j.pax.exam.junit.JUnit4TestRunner.invokeTestMethod(JUnit4TestRunner.java:221) at org.ops4j.pax.exam.junit.JUnit4TestRunner.runMethods(JUnit4TestRunner.java:171) at org.ops4j.pax.exam.junit.JUnit4TestRunner$1.run(JUnit4TestRunner.java:161) at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27) at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37) at org.ops4j.pax.exam.junit.JUnit4TestRunner.run(JUnit4TestRunner.java:157) at com.intellij.rt.junit4.Junit4ClassSuite.run(Junit4ClassSuite.java:99) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40) Caused by: org.osgi.framework.BundleException: Stopping a bundle that is starting or stopping is currently not supported. at org.apache.felix.framework.Felix._stopBundle(Felix.java:2069) at org.apache.felix.framework.Felix.stopBundle(Felix.java:2034) at org.apache.felix.framework.Felix.stop(Felix.java:964) at org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.stopBundle(RemoteBundleContextImpl.java:135) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) at java.lang.Thread.run(Thread.java:613) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:179) at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132) at $Proxy8.stopBundle(Unknown Source) at org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient.stop(RemoteBundleContextClient.java:201) ... 20 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.ops4j.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general