Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-311

Exception in Mouse.release when released outside the display host's bounds

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: wtk
    • Labels:
      None

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              gbrown Gregory K. Brown
              Reporter:
              tvolkert Todd Volkert
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: