java.lang.reflect.InvocationTargetException

Terracotta Project Issue Tracker | Tim Eck | 10 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    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

    Terracotta Project Issue Tracker | 10 years ago | Tim Eck
    java.lang.reflect.InvocationTargetException
  2. 0

    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

    Terracotta Project Issue Tracker | 10 years ago | Tim Eck
    java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at java.util.logging.Logger.getLogger()
    2. Java RT
      URL.openConnection
      1. java.util.logging.Logger.getLogger(Logger.java:275)
      2. sun.net.www.protocol.http.HttpURLConnection.<clinit>(HttpURLConnection.java:63)
      3. sun.net.www.protocol.http.Handler.openConnection(Handler.java:44)
      4. sun.net.www.protocol.http.Handler.openConnection(Handler.java:39)
      5. java.net.URL.openConnection(URL.java:945)
      5 frames
    3. com.tc.config
      StandardTVSConfigurationSetupManagerFactory.createL1TVSConfigurationSetupManager
      1. com.tc.config.schema.setup.sources.ServerConfigurationSource.getInputStream(ServerConfigurationSource.java:41)
      2. com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.trySource(StandardXMLFileConfigurationCreator.java:239)
      3. com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.createConfigurationIntoRepositories(StandardXMLFileConfigurationCreator.java:176)
      4. com.tc.config.schema.setup.BaseTVSConfigurationSetupManager.runConfigurationCreator(BaseTVSConfigurationSetupManager.java:98)
      5. com.tc.config.schema.setup.StandardL1TVSConfigurationSetupManager.<init>(StandardL1TVSConfigurationSetupManager.java:47)
      6. com.tc.config.schema.setup.StandardTVSConfigurationSetupManagerFactory.createL1TVSConfigurationSetupManager(StandardTVSConfigurationSetupManagerFactory.java:187)
      6 frames
    4. com.tc.object
      DSOContextImpl.createGlobalContext
      1. com.tc.object.bytecode.hook.impl.DSOContextImpl.getGlobalConfigHelper(DSOContextImpl.java:169)
      2. com.tc.object.bytecode.hook.impl.DSOContextImpl.createGlobalContext(DSOContextImpl.java:61)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. com.tc.object
      ClassProcessorHelper.defineClass0Pre
      1. com.tc.object.bytecode.hook.impl.ClassProcessorHelper.createGlobalContext(ClassProcessorHelper.java:479)
      2. com.tc.object.bytecode.hook.impl.ClassProcessorHelper.init(ClassProcessorHelper.java:370)
      3. com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:509)
      3 frames
    7. Java RT
      Agent.startAgent
      1. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      2. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      3. java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      4. java.net.URLClassLoader.access$000(URLClassLoader.java:56)
      5. java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      8. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      9. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
      10. java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      11. java.util.logging.LogManager$1.run(LogManager.java:163)
      12. java.security.AccessController.doPrivileged(Native Method)
      13. java.util.logging.LogManager.<clinit>(LogManager.java:156)
      14. java.util.logging.Logger.getLogger(Logger.java:274)
      15. sun.management.snmp.util.MibLogger.<init>(MibLogger.java:57)
      16. sun.management.snmp.util.MibLogger.<init>(MibLogger.java:42)
      17. sun.management.jmxremote.ConnectorBootstrap.<clinit>(ConnectorBootstrap.java:584)
      18. sun.management.Agent.startAgent(Agent.java:135)
      19. sun.management.Agent.startAgent(Agent.java:239)
      19 frames