logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: Exception
Date Sun, 15 Jul 2007 16:16:13 GMT

Always mention the version of Log4j you are using.  And if you aren't 
using the latest version, please try the latest and report back with 
whether it corrects the issue or not.

Jake

At 04:00 PM 7/14/2007, you wrote:
 >
 >I'm getting this exception in my Struts application. It looks like a log4j
 >exception (or is it a Tomcat/catalina exception?). Any ideas on how I can
 >get this resolved?
 >
 >java.lang.NullPointerException
 >        at java.lang.String.startsWith(String.java:1422)
 >        at java.lang.String.startsWith(String.java:1451)
 >        at
 >org.apache.naming.resources.FileDirContext.file(FileDirContext.java:916)
 >        at
 >org.apache.naming.resources.FileDirContext.lookup(FileDirContext.java:257)
 >        at
 >org.apache.naming.resources.ProxyDirContext.lookup(ProxyDirContext.java:317)
 >        at
 >org.apache.catalina.loader.WebappClassLoader.findResourceInternalFromR
 >epositories(WebappClassLoader.java:2129)
 >        at
 >org.apache.catalina.loader.WebappClassLoader.findResourceInternal(Weba
 >ppClassLoader.java:2077)
 >        at
 >org.apache.catalina.loader.WebappClassLoader.findResource(WebappClassL
 >oader.java:1038)
 >        at
 >org.apache.catalina.loader.WebappClassLoader.getResource(WebappClassLo
 >ader.java:1181)
 >        at org.apache.log4j.helpers.Loader.getResource(Loader.java:109)
 >        at org.apache.log4j.LogManager.<clinit>(LogManager.java:105)
 >        at org.apache.log4j.Logger.getLogger(Logger.java:104)
 >        at
 >freemarker.log.Log4JLoggerFactory.getLogger(Log4JLoggerFactory.java:65)
 >        at freemarker.log.Logger.getLogger(Logger.java:255)
 >        at
 >freemarker.template.utility.SecurityUtilities.<clinit>(SecurityUtiliti
 >es.java:67)
 >        at freemarker.ext.beans.BeansWrapper.<clinit>(BeansWrapper.java:127)
 >        at
 >freemarker.template.WrappingTemplateModel.<clinit>(WrappingTemplateMod
 >el.java:63)
 >        at
 >freemarker.template.GeneralPurposeNothing.<clinit>(GeneralPurposeNothi
 >ng.java:71)
 >        at freemarker.template.TemplateModel.<clinit>(TemplateModel.java:73)
 >
 >--
 >View this message in context:
 >http://www.nabble.com/Exception-tf4080258.html#a11597252
 >Sent from the Log4j - Users mailing list archive at Nabble.com.
 >
 >
 >---------------------------------------------------------------------
 >To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
 >For additional commands, e-mail: log4j-user-help@logging.apache.org


---------------------------------------------------------------------
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