logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shy guy" <shygu...@gmail.com>
Subject Nullpointer !
Date Fri, 03 Nov 2006 17:15:25 GMT
I am using NullpointerException while logging error with log4j 1.2.14
hundreds of lines are printed in the log and console, before this error
occurs, so file configuration must be write
I m using it from inside RAD 6.0
logging line looks like

  catch (ISPSvcException ise) {
  ->  logger.error("errrr", ise);


Exception in thread "main" java.lang.NullPointerException

at java.io.Writer.write(Writer.java:144)

at org.apache.log4j.helpers.QuietWriter.write(QuietWriter.java:47)

at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:308)

at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)

at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)

at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(
AppenderAttachableImpl.java:65)

at org.apache.log4j.Category.callAppenders(Category.java:203)

at org.apache.log4j.Category.forcedLog(Category.java:388)

at org.apache.log4j.Category.error(Category.java:319)

at com.prudential.sct.sdo.helper.DBAdapterHelperImpl.executeSP(
DBAdapterHelperImpl.java:251)

at com.prudential.sct.sdo.helper.test.CaseCreateTest.testCaseCreate(
CaseCreateTest.java:79)

at com.prudential.sct.sdo.helper.test.CaseCreateTest.main(
CaseCreateTest.java:35)

-k

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message