Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Other Open Source Projects and the fly likes log4j addA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "log4j addA" Watch "log4j addA" New topic
Author

log4j addA

Jeff Gaer
Ranch Hand

Joined: Jun 04, 2001
Posts: 99
I'm getting a null pointer exception when trying to instantiate a FileAppender using log4j 1.2 on windows 2K.

On the line that calls the constructor I get the following stack trace. I've included the code below to show that I verfied the file exists. What Am i doing wrong???



Sun Certified Java Programmer Java 2<P>Jeff Gaer
Jeff Gaer
Ranch Hand

Joined: Jun 04, 2001
Posts: 99
never mind. Someday I will learn to type
logfile != logFile,
sigh
 
 
subject: log4j addA