logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Herbert Groot Jebbink <herbert.groot.jebb...@gmail.com>
Subject NullPointerException in LogManager.java:69
Date Tue, 30 Aug 2005 14:41:24 GMT
Hi,

Out of the blue all our applications are crashing at startup inside
log4j. Log4j is started from a autostart servlet with

public class Log4jInitServlet extends HttpServlet {
	static Logger logger = Logger.getLogger(Log4jInitServlet.class);

The crash is

[8/30/05 12:37:55:190 CET] cbcef2c3 WebGroup      I SRVE0180I: [cri]
[/uat/at] [Servlet.LOG]: InvokerServlet: init
[8/30/05 12:37:56:790 CET] cbcef2c3 WebGroup      E SRVE0020E:
[Servlet Error]-[log4j-init]: Failed to load servlet:
java.lang.ExceptionInInitializerError: java.lang.NullPointerException
      org/apache/log4j/LogManager.<clinit>()V+15 (LogManager.java:69) 
      org/apache/log4j/Logger.getLogger(Ljava/lang/Class;)Lorg/apache/log4j/Logger;+4
(Logger.java:94)
      com/aalh/cri/application/Log4jInitServlet.<clinit>()V+21
(Log4jInitServlet.java:24)
      java/lang/Class.newInstance()Ljava/lang/Object;+14 (Class.java:238)
     java/beans/Beans.instantiate(Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/beans/beancontext/BeanContext;Ljava/beans/AppletInitializer;)Ljava/lang/Object;+180
(Beans.java:202)
    java/beans/Beans.instantiate(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/Object;+1
(Beans.java:46)

We think that nothing is changed, of course I know this is a wrong
statement, something must have changed on this machine, but we can not
find it, our environment is.

log4j-1.2.7.jar
WebSphere 5.0.2.11
Java 1.3.1
OS/400 5.1

Kind Regards, Herbert

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message