java.lang.reflect.InvocationTargetException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • From the forums (http://forums.terracotta.org/forums/posts/list/470.page) Workaround is to use file for tc.config instead of and URL -- this has the side effect of not trying to get a jdk logger while the static initializer for logging is running java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.createGlobalContext(ClassProcessorHelper.java:479) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.init(ClassProcessorHelper.java:370) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:509) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.util.logging.LogManager$1.run(LogManager.java:163) at java.security.AccessController.doPrivileged(Native Method) at java.util.logging.LogManager.<clinit>(LogManager.java:156) at java.util.logging.Logger.getLogger(Logger.java:274) at sun.management.snmp.util.MibLogger.<init>(MibLogger.java:57) at sun.management.snmp.util.MibLogger.<init>(MibLogger.java:42) at sun.management.jmxremote.ConnectorBootstrap.<clinit>(ConnectorBootstrap.java:584) at sun.management.Agent.startAgent(Agent.java:135) at sun.management.Agent.startAgent(Agent.java:239) Caused by: java.lang.ExceptionInInitializerError at sun.net.www.protocol.http.Handler.openConnection(Handler.java:44) at sun.net.www.protocol.http.Handler.openConnection(Handler.java:39) at java.net.URL.openConnection(URL.java:945) at com.tc.config.schema.setup.sources.ServerConfigurationSource.getInputStream(ServerConfigurationSource.java:41) at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.trySource(StandardXMLFileConfigurationCreator.java:239) at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.createConfigurationIntoRepositories(StandardXMLFileConfigurationCreator.java:176) at com.tc.config.schema.setup.BaseTVSConfigurationSetupManager.runConfigurationCreator(BaseTVSConfigurationSetupManager.java:98) at com.tc.config.schema.setup.StandardL1TVSConfigurationSetupManager.<init>(StandardL1TVSConfigurationSetupManager.java:47) at com.tc.config.schema.setup.StandardTVSConfigurationSetupManagerFactory.createL1TVSConfigurationSetupManager(StandardTVSConfigurationSetupManagerFactory.java:187) at com.tc.object.bytecode.hook.impl.DSOContextImpl.getGlobalConfigHelper(DSOContextImpl.java:169) at com.tc.object.bytecode.hook.impl.DSOContextImpl.createGlobalContext(DSOContextImpl.java:61) ... 26 more Caused by: java.lang.NullPointerException at java.util.logging.Logger.getLogger(Logger.java:275) at sun.net.www.protocol.http.HttpURLConnection.<clinit>(HttpURLConnection.java:63) ... 37 more
    via by Tim Eck,
  • From the forums (http://forums.terracotta.org/forums/posts/list/470.page) Workaround is to use file for tc.config instead of and URL -- this has the side effect of not trying to get a jdk logger while the static initializer for logging is running java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.createGlobalContext(ClassProcessorHelper.java:479) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.init(ClassProcessorHelper.java:370) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:509) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.util.logging.LogManager$1.run(LogManager.java:163) at java.security.AccessController.doPrivileged(Native Method) at java.util.logging.LogManager.<clinit>(LogManager.java:156) at java.util.logging.Logger.getLogger(Logger.java:274) at sun.management.snmp.util.MibLogger.<init>(MibLogger.java:57) at sun.management.snmp.util.MibLogger.<init>(MibLogger.java:42) at sun.management.jmxremote.ConnectorBootstrap.<clinit>(ConnectorBootstrap.java:584) at sun.management.Agent.startAgent(Agent.java:135) at sun.management.Agent.startAgent(Agent.java:239) Caused by: java.lang.ExceptionInInitializerError at sun.net.www.protocol.http.Handler.openConnection(Handler.java:44) at sun.net.www.protocol.http.Handler.openConnection(Handler.java:39) at java.net.URL.openConnection(URL.java:945) at com.tc.config.schema.setup.sources.ServerConfigurationSource.getInputStream(ServerConfigurationSource.java:41) at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.trySource(StandardXMLFileConfigurationCreator.java:239) at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.createConfigurationIntoRepositories(StandardXMLFileConfigurationCreator.java:176) at com.tc.config.schema.setup.BaseTVSConfigurationSetupManager.runConfigurationCreator(BaseTVSConfigurationSetupManager.java:98) at com.tc.config.schema.setup.StandardL1TVSConfigurationSetupManager.<init>(StandardL1TVSConfigurationSetupManager.java:47) at com.tc.config.schema.setup.StandardTVSConfigurationSetupManagerFactory.createL1TVSConfigurationSetupManager(StandardTVSConfigurationSetupManagerFactory.java:187) at com.tc.object.bytecode.hook.impl.DSOContextImpl.getGlobalConfigHelper(DSOContextImpl.java:169) at com.tc.object.bytecode.hook.impl.DSOContextImpl.createGlobalContext(DSOContextImpl.java:61) ... 26 more Caused by: java.lang.NullPointerException at java.util.logging.Logger.getLogger(Logger.java:275) at sun.net.www.protocol.http.HttpURLConnection.<clinit>(HttpURLConnection.java:63) ... 37 more
    via by Tim Eck,
    • java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.createGlobalContext(ClassProcessorHelper.java:479) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.init(ClassProcessorHelper.java:370) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:509) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.util.logging.LogManager$1.run(LogManager.java:163) at java.security.AccessController.doPrivileged(Native Method) at java.util.logging.LogManager.<clinit>(LogManager.java:156) at java.util.logging.Logger.getLogger(Logger.java:274) at sun.management.snmp.util.MibLogger.<init>(MibLogger.java:57) at sun.management.snmp.util.MibLogger.<init>(MibLogger.java:42) at sun.management.jmxremote.ConnectorBootstrap.<clinit>(ConnectorBootstrap.java:584) at sun.management.Agent.startAgent(Agent.java:135) at sun.management.Agent.startAgent(Agent.java:239) Caused by: java.lang.ExceptionInInitializerError at sun.net.www.protocol.http.Handler.openConnection(Handler.java:44) at sun.net.www.protocol.http.Handler.openConnection(Handler.java:39) at java.net.URL.openConnection(URL.java:945) at com.tc.config.schema.setup.sources.ServerConfigurationSource.getInputStream(ServerConfigurationSource.java:41) at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.trySource(StandardXMLFileConfigurationCreator.java:239) at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.createConfigurationIntoRepositories(StandardXMLFileConfigurationCreator.java:176) at com.tc.config.schema.setup.BaseTVSConfigurationSetupManager.runConfigurationCreator(BaseTVSConfigurationSetupManager.java:98) at com.tc.config.schema.setup.StandardL1TVSConfigurationSetupManager.<init>(StandardL1TVSConfigurationSetupManager.java:47) at com.tc.config.schema.setup.StandardTVSConfigurationSetupManagerFactory.createL1TVSConfigurationSetupManager(StandardTVSConfigurationSetupManagerFactory.java:187) at com.tc.object.bytecode.hook.impl.DSOContextImpl.getGlobalConfigHelper(DSOContextImpl.java:169) at com.tc.object.bytecode.hook.impl.DSOContextImpl.createGlobalContext(DSOContextImpl.java:61) ... 26 more Caused by: java.lang.NullPointerException at java.util.logging.Logger.getLogger(Logger.java:275) at sun.net.www.protocol.http.HttpURLConnection.<clinit>(HttpURLConnection.java:63) ... 37 more
    No Bugmate found.