java.lang.RuntimeException

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.

  • 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
    via by Taylor Gautier,
  • 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
    via by Taylor Gautier,
    • java.lang.RuntimeException: Unable to create runtime for plugins at com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:106)[bootjar] at com.tc.object.tools.BootJarTool.<init>(BootJarTool.java:202)[bootjar] at com.tc.object.tools.BootJarTool.main(BootJarTool.java:2291)[bootjar] Caused by: java.lang.NullPointerException at com.tc.bundles.KnopflerfishOSGi.startBundle(KnopflerfishOSGi.java:70)[bootjar] at com.tc.bundles.KnopflerfishOSGi.startBundles(KnopflerfishOSGi.java:64)[bootjar] at com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:159)[bootjar] at com.tc.plugins.ModulesLoader.initModules(ModulesLoader.java:89)[bootjar] ... 2 more
    No Bugmate found.