[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-user
Subject:    NullPointerException in Loader.getResource
From:       Chethana Savalgi <chethana_ps () yahoo ! com>
Date:       2005-11-23 12:37:58
Message-ID: 20051123123758.82606.qmail () web50304 ! mail ! yahoo ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic