Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

log4j addA

 
Jeff Gaer
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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???

 
Jeff Gaer
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
never mind. Someday I will learn to type
logfile != logFile,
sigh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic