Project

General

Profile

Anomalie #3291

[BeanDoubleList] Doubleclick on selected list raise IOOB exception

Added by Ludovic Pecquot about 2 years ago. Updated about 2 years ago.

Status:
Résolu
Priority:
Haut
Category:
jaxx-widget bean
Target version:
Start date:
07/08/2014
Due date:
% Done:

100%


Description

When the selected list of a double list is empty and you doubleclick in it, an IOOB is raised:

Message:
java.lang.ArrayIndexOutOfBoundsException: 1
Level:
SEVERE
Stack Trace:
-1
java.util.ArrayList.elementData(ArrayList.java:400)
java.util.ArrayList.get(ArrayList.java:413)
jaxx.runtime.swing.model.JaxxDefaultListModel.getElementAt(JaxxDefaultListModel.java:96)
jaxx.runtime.swing.editor.bean.BeanDoubleListHandler.onSelectedListClicked(BeanDoubleListHandler.java:398) <<<<<-----
the negative index is not checked
jaxx.runtime.swing.editor.bean.BeanDoubleList.doMouseClicked__on__selectedList(BeanDoubleList.java:442)
sun.reflect.GeneratedMethodAccessor257.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:606)
jaxx.runtime.JAXXUtil$1.invoke(JAXXUtil.java:257)
com.sun.proxy.$Proxy54.mouseClicked(Unknown Source)
java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:269)
java.awt.Component.processMouseEvent(Component.java:6508)
javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
java.awt.Component.processEvent(Component.java:6270)
java.awt.Container.processEvent(Container.java:2229)
java.awt.Component.dispatchEventImpl(Component.java:4861)
java.awt.Container.dispatchEventImpl(Container.java:2287)
java.awt.Component.dispatchEvent(Component.java:4687)
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4501)
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
java.awt.Container.dispatchEventImpl(Container.java:2273)
java.awt.Window.dispatchEventImpl(Window.java:2719)
java.awt.Component.dispatchEvent(Component.java:4687)
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
java.awt.EventQueue.access$200(EventQueue.java:103)
java.awt.EventQueue$3.run(EventQueue.java:694)
java.awt.EventQueue$3.run(EventQueue.java:692)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
java.awt.EventQueue$4.run(EventQueue.java:708)
java.awt.EventQueue$4.run(EventQueue.java:706)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Associated revisions

Revision faea68e6 (diff)
Added by Ludovic Pecquot about 2 years ago

fixes #3291 Doubleclick on selected list raise IOOB exception

History

#1 Updated by Ludovic Pecquot about 2 years ago

  • % Done changed from 0 to 100
  • Status changed from Nouveau to Résolu

Appliqué par commit r2850.

#2 Updated by Tony Chemit about 2 years ago

  • Assignee set to Ludovic Pecquot

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 53.8 MB)