• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • Terracotta Developer Console
  • hsingh
  • Reporter: kkannaiy
  • August 18, 2009
  • 0
  • Watchers: 0
  • February 12, 2013
  • October 30, 2009

Description

Steps:

  1. start the TC server
  2. start the terracotta hibernate agent with H2lcperf
  3. Launch the dev-console
  4. kill the client
  5. Hibernate node is removed from the console

Actual: sometimes NPE is thrown on the command window when Hibernate node is removed

Note: Exception is not happening everytime but seen twice

C:\Program Files\Terracotta\terracotta-3.1.0-ee\bin>Removed clientBeanName from clientMap: org.terracotta:name=DSO,type=Terracotta Server,channelID=0 Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException at org.terracotta.modules.hibernatecache.presentation.HibernateRuntimeSt atsPanel$ClientDisconnectHandler.run(HibernateRuntimeStatsPanel.java:233) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre ad.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread. java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at org.terracotta.modules.hibernatecache.presentation.H2LCRuntimeStatsPa nel$ClientDisconnectHandler.run(H2LCRuntimeStatsPanel.java:252)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre ad.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread. java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

Comments

Fiona OShea 2009-08-19

fiona: document as known issue

Fiona OShea 2009-08-19

Documented in Known Issues. To be fixed in 3.1 branch

Himadri Singh 2009-12-15

Verified in Terracotta 3.2.0, as of 20091212-151212 (Revision 14206 by [email protected] from 3.2)