[logback-user] Redeploying application on Tomcat 5.5 gives NullPointerException
Thorbjørn Ravn Andersen
thunderaxiom at gmail.com
Tue Jun 9 10:00:45 CEST 2009
Thorbjørn Ravn Andersen skrev den 09-06-2009 09:45:
> I just redeployed a WAR file on a Windows based Tomcat 5.5. server,
> after which reloading the login jsp-page resulted in the following
> stack trace:
>
> java.lang.NullPointerException
> ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:121)
I forgot to say where this was, it is the indicated line below.
LogbackMDCAdapter logbackMDCAdapter = (LogbackMDCAdapter) MDC
.getMDCAdapter();
>>>> mdcPropertyMap = logbackMDCAdapter.getPropertyMap();
Apparently the MDC adapter was set to null?
--
Thorbjørn Ravn Andersen "...plus... Tubular Bells!"
More information about the Logback-user
mailing list