CDV ❯ NPE in session configurator
-
Bug
-
Status: Closed
-
1 Critical
-
Resolution: Fixed
-
Configurator
-
-
gkeim
-
Reporter: teck
-
March 18, 2009
-
0
-
Watchers: 0
-
April 10, 2009
-
March 20, 2009
Description
Remove the *..* include in tc-config.xml used by the session configurator and run the cart demo clustered. It app should throw a NonPortable exception which is expected, but in the console for the configurator you’ll get this and UI will be hosed
Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException at org.terracotta.ui.session.NonPortableObjectPanel.setEvent(NonPortableObjectPanel.java:509) at org.terracotta.ui.session.SessionIntegratorFrame.handleNonPortableReason(SessionIntegratorFrame.java:2000) at org.terracotta.ui.session.SessionIntegratorFrame.access$6700(SessionIntegratorFrame.java:101) at org.terracotta.ui.session.SessionIntegratorFrame$DSOAppEventListener$1.run(SessionIntegratorFrame.java:1984) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)
Comments
Gary Keim 2009-03-20
nadeem ghani 2009-03-25
fixed on rev12293
When we changed over to Jetty-only, we just invoke java directly and I forgot to enable application events with the proper system property.