CDV ❯ Dev-console sometimes locks up after connecting several times to an application with h2lc tim
-
Bug
-
Status: Closed
-
3 Minor
-
Resolution: Fixed
-
-
-
kkannaiy
-
Reporter: gbevin
-
May 29, 2009
-
0
-
Watchers: 0
-
February 12, 2013
-
June 11, 2009
Description
Can’t get this to reproduce consistently, but sometimes when you restart an L1 app and reconnect with the same dev-console, it just locks up while loading the h2lc panel. There’s probably a classloading race in there. I found this in the logs, not sure it’s related but it might be a hint.
java.lang.ClassCastException at java.lang.Class.cast(Class.java:2990) at com.tc.admin.common.MBeanServerInvocationProxy.newMBeanProxy(MBeanServerInvocationProxy.java:39) at com.tc.admin.model.Server.getMBeanProxy(Server.java:593) at org.terracotta.modules.hibernatecache.presentation.CacheRegionsPanel$RegionInfoGetter$1.call(CacheRegionsPanel.java:135) at org.terracotta.modules.hibernatecache.presentation.CacheRegionsPanel$RegionInfoGetter$1.call(CacheRegionsPanel.java:126) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:637)
Verified with 3.1.0-nightly rev13396, dev-console launched with h2lcperf app, kill the L1’s, restarted L1’s and reconnected with the same dev-console multiple times working fine as expected