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 23876 - exception on unchecking "show event tab" in "component vew" tab of Properties dialog when starting GUIBrouser with no parameters
Summary: exception on unchecking "show event tab" in "component vew" tab of Properties...
Status: CLOSED WORKSFORME
Alias: None
Product: qa
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-23 00:00 UTC by Boris Garbuzov
Modified: 2011-02-17 09:30 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 Boris Garbuzov 2002-05-23 00:00:26 UTC
The following exception occures on unchecking "show event 
tab" in "component vew" tab of Properties dialog when 
starting GUIBrouser with no parameters 


---------------
C:\home\projects\mymailloop\jemmy\JemmyApplet>java 
org.netbeans.jemmy.explorer.G
UIBrowser
Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: -1 < 0
        at java.util.Vector.elementAt(Unknown Source)
        at javax.swing.DefaultListModel.remove(Unknown 
Source)
        at 
org.netbeans.jemmy.explorer.GUIBrowser$15.actionPerformed
(Unknown Sou
rce)
        at javax.swing.AbstractButton.fireActionPerformed
(Unknown Source)
        at 
javax.swing.AbstractButton$ForwardActionEvents.actionPerfor
med(Unknow
n Source)
        at 
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown 
Source)
        at 
javax.swing.JToggleButton$ToggleButtonModel.setPressed
(Unknown Source
)
        at 
javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(Unknown Sour
ce)
        at java.awt.Component.processMouseEvent(Unknown 
Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown 
Source)
        at java.awt.Container.dispatchEventImpl(Unknown 
Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at 
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown 
Source)
        at java.awt.LightweightDispatcher.processMouseEvent
(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent
(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown 
Source)
        at java.awt.Window.dispatchEventImpl(Unknown 
Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown 
Source)
        at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy
(Unknown Source)

        at 
java.awt.EventDispatchThread.pumpEventsForHierarchy
(Unknown Source)
        at java.awt.Dialog.show(Unknown Source)
        at 
org.netbeans.jemmy.explorer.GUIBrowser$6.actionPerformed
(Unknown Sour
ce)
        at javax.swing.AbstractButton.fireActionPerformed
(Unknown Source)
        at 
javax.swing.AbstractButton$ForwardActionEvents.actionPerfor
med(Unknow
n Source)
        at 
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown 
Source)
        at javax.swing.DefaultButtonModel.setPressed
(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown 
Source)
        at 
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mo
useRelease
d(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown 
Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown 
Source)
        at java.awt.Container.dispatchEventImpl(Unknown 
Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at 
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown 
Source)
        at java.awt.LightweightDispatcher.processMouseEvent
(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent
(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown 
Source)
        at java.awt.Window.dispatchEventImpl(Unknown 
Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown 
Source)
        at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy
(Unknown Source)

        at 
java.awt.EventDispatchThread.pumpEventsForHierarchy
(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown 
Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Comment 1 Alexandre Iline 2002-06-12 05:10:39 UTC
Need more info - works fine for me.
Coud you plase describe _exact_ scenario how you 
got it, including NB build, OS, whatever?
Or, at least, ge stack trace with line numbers -tha 
wouldbe enough, I guess.


Comment 2 Jiri Skrivanek 2002-06-13 06:43:33 UTC
I haven't experienced any exception but I takes too long to start GUI
browser. I run GUI browser from NetBeans and it takes several minutes
to come up. IMO, It would be better, if UI of GUI browser appears only
with frames and dialogs an additional parsing is done on background or
on demand of user (user chooses a frame to see its sub components).

Environment: Solaris, JDK1.4.0, NetBeans dev 200206110100.