Missing Stack Trace usign log4j

Discussion in 'Java' started by brian.vanheesch@gmail.com, Jan 23, 2006.

  1. Guest

    I am creating a custom log4j appender (extends AppenderSkeleton) to
    record data into a previous developed logging system.

    On occasion (18 times out of test order 120,000 executions) (not
    reproducable, as of yet), I get the following message in my log file:

    >> 160954.679:Notification Processor #4:INFO

    com.datamodel.WorkOrder - CANNOT PROCESS PROPERLY
    java.lang.NullPointerException

    >> 160954.679:Notification Processor #4:INFO

    .....

    the line prefixed with ">>" is the log header record.

    My problem is that I do not know whether the NPE exception is generated
    and reported in the appender or in the calling code; since there is no
    stack trace printed.

    Is there appender debugging tools or can someone offer a suggestion
    here?
     
    , Jan 23, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. RC
    Replies:
    2
    Views:
    484
  2. Alexandra Stehman

    eclipse, junit, log4j, & finding log4j.xml

    Alexandra Stehman, Jan 19, 2004, in forum: Java
    Replies:
    0
    Views:
    6,242
    Alexandra Stehman
    Jan 19, 2004
  3. Alex Hunsley
    Replies:
    2
    Views:
    13,880
    =?ISO-8859-15?Q?Fr=E9d=E9ric_G=E9din?=
    May 28, 2004
  4. Rodolfo
    Replies:
    0
    Views:
    1,195
    Rodolfo
    Jul 12, 2004
  5. Christian Ashby
    Replies:
    5
    Views:
    8,447
    Oscar kind
    Aug 24, 2004
  6. joes
    Replies:
    1
    Views:
    3,096
  7. Replies:
    0
    Views:
    3,349
  8. Replies:
    0
    Views:
    838
Loading...