Bug occured on the latest trunk. There is a regression with
setHideRepresentativeButtonOnVisible feature: if set as true causes null
pointer exceptions.
Reproducing: In MyDoggySet add
dockedTypeDescriptor.setHideRepresentativeButtonOnVisible(true); for the
first tool (near line 270)
After starting demo set, if you click on tool1 you will see stacktrace:
Exception in thread "AWT-EventQueue-0"
java.lang.NullPointerException
at
org.noos.xing.mydoggy.plaf.ui.look.ToolWindowRepresentativeAnchorUI$ToolWin
dowRepresentativeAnchorMouseAdapter.mouseClicked(ToolWindowRepresentativeAn
chorUI.java:448)
at
java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at java.awt.Component.processMouseEvent(Component.java:6266)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4247)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.jav
a:269)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:1
84)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.jav
a: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.noos.xing.mydoggy.plaf.ui.look.ToolWindowRepresentativeAnchorUI$ToolWin
dowRepresentativeAnchorMouseAdapter$1.run(ToolWindowRepresentativeAnchorUI.
java:435)
at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.jav
a:269)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:1
84)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.jav
a: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)
The reason of it is calling uninstallUI() which dropping references to
components before all pending actions are finished.
Angelo De Caro
None
None
Public
|
Date: 2009-12-12 09:53 Fixed. Thanks for the useful feedback. :) |
|
Date: 2009-12-11 20:13 Hello Angelo, |
|
Date: 2009-12-08 18:48 Hi xvik, |
|
Date: 2009-12-08 13:33 Hello Angelo, |
|
Date: 2009-11-01 21:50 Hello Angelo, |
|
Date: 2009-10-22 18:37 Hi Vyacheslav, |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Closed | 2009-12-11 20:14 | xvik |
| close_date | 2009-12-06 18:06 | 2009-12-08 18:48 | adecaro |
| status_id | Open | 2009-12-08 18:48 | adecaro |
| status_id | Closed | 2009-12-08 13:33 | xvik |
| close_date | - | 2009-12-06 18:06 | adecaro |
| status_id | Open | 2009-12-06 18:06 | adecaro |
| assigned_to | nobody | 2009-10-22 18:37 | adecaro |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use