• Bug
  • Status: Open
  • 2 Major
  • Resolution:
  • prodmgmt
  • Reporter: ari
  • February 20, 2009
  • 1
  • Watchers: 3
  • March 19, 2010

Description

java.lang.AssertionError: java.lang.reflect.InvocationTargetException at com.tc.runtime.TCRuntime.getMemoryManagerJdk15(TCRuntime.java:59) at com.tc.runtime.TCRuntime.getMemoryManagerJdk15PoolMonitor(TCRuntime.java:42) at com.tc.runtime.TCRuntime.init(TCRuntime.java:34) at com.tc.runtime.TCRuntime.(TCRuntime.java:19) at com.tc.statistics.retrieval.actions.SRAMemoryUsage.(SRAMemoryUsage.java:30) at com.tc.statistics.StatisticsAgentSubSystemImpl.setup(StatisticsAgentSubSystemImpl.java:66) at com.tc.object.DistributedObjectClient.start(DistributedObjectClient.java:374) at com.tc.object.bytecode.ManagerImpl$2.execute(ManagerImpl.java:198) at com.tc.lang.StartupHelper.startUp(StartupHelper.java:39) at com.tc.object.bytecode.ManagerImpl.startClient(ManagerImpl.java:210) at com.tc.object.bytecode.ManagerImpl.init(ManagerImpl.java:152) at com.tc.object.bytecode.ManagerImpl.init(ManagerImpl.java:140) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.createGlobalContext(ClassProcessorHelper.java:594) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.initialize(ClassProcessorHelper.java:393) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:642) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:280) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:215) at java.net.URLClassLoader$1.run(URLClassLoader.java:209) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:208) at java.lang.ClassLoader.loadClass(ClassLoader.java:325) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:270) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:190) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:539) at com.tc.runtime.TCRuntime.getMemoryManagerJdk15(TCRuntime.java:57) ... 26 more Caused by: java.lang.AssertionError: Old or Tenured Memory pool Not found : [Code Cache] at com.tc.runtime.TCMemoryManagerJdk15PoolMonitor.getOldGenMemoryPoolBean(TCMemoryManagerJdk15PoolMonitor.java:47) at com.tc.runtime.TCMemoryManagerJdk15PoolMonitor.(TCMemoryManagerJdk15PoolMonitor.java:31) ... 31 more

Comments

Tim Eck 2009-02-20

You can say -Dcom.tc.memory.monitor.forcebasic=true to workaround that for the moment

Logan Johnson 2009-02-23

Some more details, in case they’re useful: this was Terracotta 2.7.3, JDK 7.0 ea build 47.

The only GC options on my commandline are -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC.

Let me know if there’s anything more that would be useful.

Fiona OShea 2009-02-24

Gary K. has been using in JDK6 without issue. Note that we do not yet certify on JDK 7.

Lucas Nelson 2009-09-21

G1GC is available in JDK 1.6 as well now (using the same experimental option) … and the TC client barfs with the same error. The workaround mentioned does allow the client to start without error.