logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenton <gies...@gmail.com>
Subject Re: Exception
Date Wed, 18 Jul 2007 03:43:52 GMT

Forgot to include versions. My apologies

log4j-1.2.14
Java 1.6.01
Glassfish 2.0b50
Struts 2.08
Windows XP

Thanks for the replies everyone. This exception seems to have disappeared.
Must have been some sporadic something or other.


Kenton 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.findResourceInternalFromRepositories(WebappClassLoader.java:2129)
>         at
> org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:2077)
>         at
> org.apache.catalina.loader.WebappClassLoader.findResource(WebappClassLoader.java:1038)
>         at
> org.apache.catalina.loader.WebappClassLoader.getResource(WebappClassLoader.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>(SecurityUtilities.java:67)
>         at
> freemarker.ext.beans.BeansWrapper.<clinit>(BeansWrapper.java:127)
>         at
> freemarker.template.WrappingTemplateModel.<clinit>(WrappingTemplateModel.java:63)
>         at
> freemarker.template.GeneralPurposeNothing.<clinit>(GeneralPurposeNothing.java:71)
>         at
> freemarker.template.TemplateModel.<clinit>(TemplateModel.java:73)
> 
> 

-- 
View this message in context: http://www.nabble.com/Exception-tf4080258.html#a11662057
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


Mime
View raw message