[ https://jira.terracotta.org/jira//browse/CDV-309?page=all ]
Juris Galang resolved CDV-309.
------------------------------
Fix Version/s: 2.4.3
Fixed In Revision: rev 5260 (was: rev 4096)
Resolution: Fixed
> NPE on load config module - need better message on failure to load/init
> modules
> -------------------------------------------------------------------------------
>
> Key: CDV-309
> URL: https://jira.terracotta.org/jira//browse/CDV-309
> Project: Community Development
> Issue Type: Bug
> Reporter: Taylor Gautier
> Assigned To: Juris Galang
> Priority: 0 Showstopper
> Fix For: 2.4.3
>
>
> 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev