Select file in FileBrowserSheet
-------------------------------

                 Key: PIVOT-829
                 URL: https://issues.apache.org/jira/browse/PIVOT-829
             Project: Pivot
          Issue Type: Bug
          Components: wtk
    Affects Versions: 2.0
         Environment: Windows 7 x64 java 1.6024
            Reporter: Jérôme Serré
            Priority: Minor


In FileBrowserSheet, if the key "Shift" is pressed before i click on file to 
selected an error is thrown.

Error:

java.lang.IndexOutOfBoundsException
        at org.apache.pivot.wtk.TableView.setSelectedRanges(TableView.java:1472)
        at 
org.apache.pivot.wtk.skin.terra.TerraTableViewSkin.mouseDown(TerraTableViewSkin.java:1213)
        at 
org.apache.pivot.wtk.Component$ComponentMouseButtonListenerList.mouseDown(Component.java:461)
        at org.apache.pivot.wtk.Component.mouseDown(Component.java:2757)
        at org.apache.pivot.wtk.Container.mouseDown(Container.java:727)
        at org.apache.pivot.wtk.Container.mouseDown(Container.java:727)
        at org.apache.pivot.wtk.Container.mouseDown(Container.java:727)
        at org.apache.pivot.wtk.Container.mouseDown(Container.java:727)
        at org.apache.pivot.wtk.Container.mouseDown(Container.java:727)
        at org.apache.pivot.wtk.Container.mouseDown(Container.java:727)
        at org.apache.pivot.wtk.Container.mouseDown(Container.java:727)
        at org.apache.pivot.wtk.Container.mouseDown(Container.java:727)
        at 
org.apache.pivot.wtk.ApplicationContext$DisplayHost.processMouseEvent(ApplicationContext.java:840)
        at java.awt.Component.processEvent(Component.java:6032)
        at 
org.apache.pivot.wtk.ApplicationContext$DisplayHost.processEvent(ApplicationContext.java:709)
        at java.awt.Component.dispatchEventImpl(Component.java:4630)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at 
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4235)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
        at java.awt.Container.dispatchEventImpl(Container.java:2085)
        at java.awt.Window.dispatchEventImpl(Window.java:2478)
        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.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to