Exception in Mouse.release when released outside the display host's bounds
--------------------------------------------------------------------------
Key: PIVOT-311
URL: https://issues.apache.org/jira/browse/PIVOT-311
Project: Pivot
Issue Type: Bug
Components: wtk
Affects Versions: 1.3
Reporter: Todd Volkert
Fix For: 1.4
Steps to reproduce:
1) Launch the kitchen sink tutorial app in desktop application context
2) Expand the "Tables" section
3) Drag the resize handle of the first column to the left until your mouse is
outside the bounds of the host frame entirely.
4) Release the mouse
Result:
java.lang.NullPointerException
at org.apache.pivot.wtk.Mouse.release(Mouse.java:119)
at
org.apache.pivot.wtk.skin.terra.TerraTableViewHeaderSkin.mouseUp(TerraTableViewHeaderSkin.java:689)
at
org.apache.pivot.wtk.Component$ComponentMouseButtonListenerList.mouseUp(Component.java:465)
at org.apache.pivot.wtk.Component.mouseUp(Component.java:2566)
at
org.apache.pivot.wtk.ApplicationContext$DisplayHost.processMouseEvent(ApplicationContext.java:872)
at java.awt.Component.processEvent(Component.java:6028)
at
org.apache.pivot.wtk.ApplicationContext$DisplayHost.processEvent(ApplicationContext.java:653)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.