This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 11146 - IndexOutOfBoundException-> after warning : Cannot attach to the event handler...
Summary: IndexOutOfBoundException-> after warning : Cannot attach to the event handler...
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Pavek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-04-06 15:31 UTC by Marian Mirilovic
Modified: 2007-07-27 06:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2001-04-06 15:31:12 UTC
[nb_r32](22), [jdk1.3.1](rc1)

e.g. TabbedButton

Steps to reproduce:
1. add TabbedButton to frame
2. push popup menu and select Ancestor | ancestoreMoved
3. push popup menu and select HierarchyBounds | ancestoreMoved

now obtain exception:

Fri Apr 06 16:28:26 CEST 2001: java.lang.ArrayIndexOutOfBoundsException: null
java.lang.ArrayIndexOutOfBoundsException
        at java.util.Vector.get(Vector.java:701)
        at
org.netbeans.modules.form.Event.createDefaultEventHandler(Event.java:76)
        at
org.netbeans.modules.form.actions.EventsAction$3.actionPerformed(EventsAction.java:258)
        at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
        at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
        at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
        at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:279)
        at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:886)
        at java.awt.Component.processMouseEvent(Component.java:3715)
        at java.awt.Component.processEvent(Component.java:3544)
        at java.awt.Container.processEvent(Container.java:1164)
        at java.awt.Component.dispatchEventImpl(Component.java:2593)
        at java.awt.Container.dispatchEventImpl(Container.java:1213)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
        at java.awt.Container.dispatchEventImpl(Container.java:1200)
        at java.awt.Window.dispatchEventImpl(Window.java:914)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Comment 1 Tomas Pavek 2001-04-06 17:53:33 UTC
Fixed (trunk, release32).
Comment 2 Marian Mirilovic 2001-04-09 10:50:38 UTC
verified in [nb_r32](23), [pilsen](010407)
Comment 3 Jan Chalupa 2001-05-05 22:22:50 UTC
Target milestone -> 3.2
Comment 4 Quality Engineering 2003-06-30 18:30:46 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 5 Vince Kraemer 2007-07-27 06:41:22 UTC
*** Issue 110547 has been marked as a duplicate of this issue. ***