Perf4J

NPE on startup using AsyncCoalescingStatisticsAppender

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 0.9.12
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    1

Description

Exception in thread "perf4j-async-stats-appender-sink-CoalescingStatistics" java.lang.NullPointerException
at org.perf4j.GroupedTimingStatistics.addStopWatch(GroupedTimingStatistics.java:75)
at org.perf4j.helpers.GroupingStatisticsIterator.getNext(GroupingStatisticsIterator.java:175)
at org.perf4j.helpers.GroupingStatisticsIterator.hasNext(GroupingStatisticsIterator.java:101)
at org.perf4j.log4j.AsyncCoalescingStatisticsAppender$Dispatcher.run(AsyncCoalescingStatisticsAppender.java:344)
at java.lang.Thread.run(Thread.java:613)

See http://markmail.org/message/iqd2xk3k2axvo5fm?q=list:org%2Ecodehaus%2Eperf4j%2Euser for original submission.

Activity

Hide
Rob Winch added a comment -

A patch and a few test cases for null StopWatch results based upon the 0.9.11 tag

Show
Rob Winch added a comment - A patch and a few test cases for null StopWatch results based upon the 0.9.11 tag
Hide
Alex Devine added a comment -

Committed patch as r #72 in trunk.

Show
Alex Devine added a comment - Committed patch as r #72 in trunk.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: