Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.0.10
-
None
-
Windows 7, Oracle Java 7 JDK, Glassfish 3.2.1.1
Description
When using logback with glassfish, a NullPointerException exception is thrown, since glassfish seems to have a different classloader not always available via class.getClassLoader().
So the bug seem to be in ch.qos.logback.classic.util.EnvUtil in line 25. Here the classloader is used, without checking for a null value first, hence the NullPointerException.