File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "log4j addA" Watch "log4j addA" New topic

log4j addA

Jeff Gaer
Ranch Hand

Joined: Jun 04, 2001
Posts: 100
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: 100
never mind. Someday I will learn to type
logfile != logFile,
I agree. Here's the link:
subject: log4j addA
It's not a secret anymore!