Project

General

Profile

Bug #2018

NPE in Component Classloader

Added by Henning Blohm about 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
z2-core
Target version:
Start date:
05.09.2018
Due date:
% Done:

100%

Estimated time:
origin:

Description

Ran into the following exception.

09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]: Caused by: java.security.PrivilegedActionException: java.lang.reflect.InvocationTargetException
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at java.security.AccessController.doPrivileged(Native Method)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at com.zfabrik.util.threading.ThreadUtil.cleanContextExceptionExecute(ThreadUtil.java:46)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at com.zfabrik.util.threading.ThreadUtil.cleanContextExceptionExecute(ThreadUtil.java:65)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at com.zfabrik.components.java.JavaComponentUtil$1.invoke(JavaComponentUtil.java:226)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  ... 47 more
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]: Caused by: java.lang.reflect.InvocationTargetException
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at java.lang.reflect.Method.invoke(Method.java:498)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at com.zfabrik.components.java.JavaComponentUtil$1$1.call(JavaComponentUtil.java:229)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at com.zfabrik.util.threading.ThreadUtil$1.run(ThreadUtil.java:48)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  ... 51 more
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]: Caused by: java.lang.NullPointerException
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at com.zfabrik.impl.components.java.ComponentClassLoader.getResource(ComponentClassLoader.java:802)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at com.zfabrik.impl.components.java.ComponentClassLoader.getResource(ComponentClassLoader.java:791)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:232)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at com.zfabrik.impl.components.java.jdt.NameEnvironmentImpl._findType(NameEnvironmentImpl.java:116)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at com.zfabrik.impl.components.java.jdt.NameEnvironmentImpl.findType(NameEnvironmentImpl.java:47)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.createPackage(LookupEnvironment.java:790)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:110)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:211)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:820)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:385)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:431)
09/05 14:45:36 [51]...ent/jobWorker@0.2 [800]:  at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:417)

</bre>

Also available in: Atom PDF