[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Problem if I close a popup  XML
Forum Index -> Development
Author Message
ddammann

Power User

Joined: 13/09/2010 09:41:07
Messages: 66
Location: München
Offline

Hi.
I get a NullPointerException if I close a popup in our application.
--------------------------------------------------------------------------------
2015:06:19 13:38:53:870 | 35 | INFO | windowGainedFocus: sun.plugin2.main.client.PluginEmbeddedFrame .......... org.eclnt.client.page.Page$MyWindowFocusListener>windowGainedFocus
2015:06:19 13:38:53:870 | 35 | INFO | windowGainedFocus: sun.plugin2.main.client.PluginEmbeddedFrame .......... org.eclnt.client.page.Page$MyWindowFocusListener>windowGainedFocus
2015:06:19 13:38:53:871 | 35 | SEVERE | Problems: .......... org.eclnt.client.controls.util.CCFocusTracker>notifyFocusGained
.......... Stacktrace Info ..........
java.lang.NullPointerException
at org.eclnt.client.elements.impl.FIELDElement.processServerSideValidation(FIELDElement.java:83
at org.eclnt.client.elements.impl.FIELDElement.notifyFocusLostToComponentInSameWindow(FIELDElement.java:78
at org.eclnt.client.controls.util.CCFocusTracker.notifyFocusGained(CCFocusTracker.java:42)
at org.eclnt.client.elements.PageElement.reactOnEvent(PageElement.java:1386)
at org.eclnt.client.elements.PageElement.bubbleEvent(PageElement.java:1327)
at org.eclnt.client.elements.PageElement.throwEvent(PageElement.java:1320)
at org.eclnt.client.elements.PageElementColumn$MyFocusListener.focusGained(PageElementColumn.java:585)
at java.awt.Component.processFocusEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at sun.awt.SunToolkit$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2015:06:19 13:38:53:872 | 35 | INFO | WINDOW CLOSED: j_id_jsp_158040985_1:jsps_startg_sv:modal_I1 .......... org.eclnt.client.elements.PageElementPopup$MyWindowListener>windowClosed
2015:06:19 13:38:53:873 | 35 | INFO | DIVIDERLOCATION: 1146/149/310/horizontal .......... org.eclnt.client.elements.impl.SPLITPANEElement>applyDividerLocation
2015:06:19 13:38:53:873 | 35 | INFO | LAST: 1146/149/-1 .......... org.eclnt.client.elements.impl.SPLITPANEElement>applyDividerLocation
2015:06:19 13:38:53:873 | 35 | INFO | DIVIDERLOCATION: Setting divider to 310 .......... org.eclnt.client.elements.impl.SPLITPANEElement>applyDividerLocation
2015:06:19 13:38:53:873 | 35 | INFO | DIVIDERLOCATION: 1146/149/310/horizontal .......... org.eclnt.client.elements.impl.SPLITPANEElement>applyDividerLocation
--------------------------------------------------------------------------------

What is the reason?

regards Dörte
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

...just scanned the method:

There are two issues where the NullPointer may occur - we now "secured" both of them. Seems to be a problem that a lost focus of a field is processed and the corresponding window of the field is just in destruction phase...

The "secure" code is part of next Monday's update.

Thanks + regards! Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team