-
Feature Request
-
Resolution: Done
-
Major
-
1.0.0.Beta5
-
None
-
None
This showed up in the MSC-beta5 AS branch.
The method injector on the stack has the following method:
public void org.jboss.as.arquillian.container.embedded.archive.ConfigService.setIntervalSeconds(int)
10:28:17,911 WARN [org.jboss.msc.inject] (pool-2-thread-1) MSC-00002: Unexpected failure to uninject org.jboss.msc.value.CachedValue@308889
0d: java.lang.IllegalStateException: No value set
at org.jboss.msc.value.ThreadLocalValue.getValue(ThreadLocalValue.java:45) [:]
at org.jboss.msc.value.Values.getValues(Values.java:71) [:]
at org.jboss.msc.value.Values.getValues(Values.java:85) [:]
at org.jboss.msc.inject.MethodInjector.uninject(MethodInjector.java:79) [:]
at org.jboss.msc.service.ServiceInstanceImpl$StopTask.run(ServiceInstanceImpl.java:1174) [:]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_22]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_22]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_22]
[17:40:26] <kkhan> in arquillian/container-embedded both tests work on their own. But when undeploying the container one I get this exception http://pastebin.com/EsCReJNB when undeploying the CreateDestroyService for the mbean, meaning the service is still registered:
[17:40:28] <kkhan> 'service jboss.mbean.registration.jboss:name=test,type=config' mode ACTIVE state=DOWN (DOWN)
[17:40:49] <kkhan> When we try to run the client one in this state the deployment just hangs
[17:41:03] <kkhan> "the client one" = the client test
[17:41:46] <kkhan> They both use the same mbean class + name, so there is probably some (swallowed) exception when trying to install that
[17:42:11] <kkhan> the start/stop service and the mbean registration service get cleaned out
[17:44:34] <kkhan> (In case I wasn't clear when running the tests in container-embedded I normally get JBossASEmbeddedInContainerTestCase run first and then JBossASEmbeddedA