You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Chethana Savalgi <ch...@yahoo.com> on 2005/11/23 13:37:58 UTC

NullPointerException in Loader.getResource

Hello , 

I am using log4j-1.2.12. I am get the following
exception, when tried to configure the
PropertyConfigurator. 

PropertyConfigurator.configure(Loader.getResource("log4j.properties"));

Log4j property file is in the classpath.

Exception:

log4j:WARN Caught Exception while in
Loader.getResource. This may be innocuous.
java.lang.NullPointerException

Could you please suggest a solution.

thanks in advance, 
-
Chethana




	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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