java.lang.reflect.InvocationTargetException

Terracotta Project Issue Tracker | Taylor Gautier | 9 years ago
  1. 0

    I am getting the following NPE when loading a config module. The problem is, I have no idea what is causing the problem - we need to wrap this exception so the error is actionable. 2007-06-25 00:07:00,428 INFO - Log file: '/Users/tgautier/src/forge/projects/labs/liferay/trunk/logs/client-logs/terracotta-client.log'. 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:585) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.createGlobalContext(ClassProcessorHelper.java:401) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.init(ClassProcessorHelper.java:292) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:431) 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$100(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:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) Caused by: java.lang.NullPointerException at com.tc.bundles.KnopflerfishOSGi.startBundle(KnopflerfishOSGi.java:134) at com.tc.bundles.KnopflerfishOSGi.startBundle(KnopflerfishOSGi.java:152) at com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:147) at com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:82) at com.tc.object.bytecode.hook.impl.DSOContextImpl.<init>(DSOContextImpl.java:87) at com.tc.object.bytecode.hook.impl.DSOContextImpl.createGlobalContext(DSOContextImpl.java:63) ... 18 more

    Terracotta Project Issue Tracker | 9 years ago | Taylor Gautier
    java.lang.reflect.InvocationTargetException
  2. 0

    I am getting the following NPE when loading a config module. The problem is, I have no idea what is causing the problem - we need to wrap this exception so the error is actionable. 2007-06-25 00:07:00,428 INFO - Log file: '/Users/tgautier/src/forge/projects/labs/liferay/trunk/logs/client-logs/terracotta-client.log'. 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:585) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.createGlobalContext(ClassProcessorHelper.java:401) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.init(ClassProcessorHelper.java:292) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:431) 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$100(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:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) Caused by: java.lang.NullPointerException at com.tc.bundles.KnopflerfishOSGi.startBundle(KnopflerfishOSGi.java:134) at com.tc.bundles.KnopflerfishOSGi.startBundle(KnopflerfishOSGi.java:152) at com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:147) at com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:82) at com.tc.object.bytecode.hook.impl.DSOContextImpl.<init>(DSOContextImpl.java:87) at com.tc.object.bytecode.hook.impl.DSOContextImpl.createGlobalContext(DSOContextImpl.java:63) ... 18 more

    Terracotta Project Issue Tracker | 9 years ago | Taylor Gautier
    java.lang.reflect.InvocationTargetException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.tc.bundles.KnopflerfishOSGi.startBundle()
    2. com.tc.bundles
      KnopflerfishOSGi.startBundle
      1. com.tc.bundles.KnopflerfishOSGi.startBundle(KnopflerfishOSGi.java:134)
      2. com.tc.bundles.KnopflerfishOSGi.startBundle(KnopflerfishOSGi.java:152)
      2 frames
    3. com.tc.plugins
      ModulesLoader.initModules
      1. com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:147)
      2. com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:82)
      2 frames
    4. com.tc.object
      DSOContextImpl.createGlobalContext
      1. com.tc.object.bytecode.hook.impl.DSOContextImpl.<init>(DSOContextImpl.java:87)
      2. com.tc.object.bytecode.hook.impl.DSOContextImpl.createGlobalContext(DSOContextImpl.java:63)
      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:585)
      4 frames
    6. com.tc.object
      ClassProcessorHelper.defineClass0Pre
      1. com.tc.object.bytecode.hook.impl.ClassProcessorHelper.createGlobalContext(ClassProcessorHelper.java:401)
      2. com.tc.object.bytecode.hook.impl.ClassProcessorHelper.init(ClassProcessorHelper.java:292)
      3. com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:431)
      3 frames
    7. Java RT
      ClassLoader.loadClassInternal
      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$100(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:268)
      10. java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      11. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      11 frames