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 13854 - java.lang.ArrayIndexOutOfBoundsException while setting breakpoint
Summary: java.lang.ArrayIndexOutOfBoundsException while setting breakpoint
Status: CLOSED WORKSFORME
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-23 19:18 UTC by lduperval
Modified: 2001-07-27 09:25 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 lduperval 2001-07-23 19:18:29 UTC
While trying to unset a breakpoint while in debugging mode, I got the follwing
error (pasted from ide.log):

*********** Exception occurred ************
Mon Jul 23 14:12:36 EDT 2001: java.lang.ArrayIndexOutOfBoundsException: -1
java.lang.ArrayIndexOutOfBoundsException: -1
	at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:233)
	at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseDragged(BasicMenuItemUI.java:789)
	at java.awt.Component.processMouseMotionEvent(Component.java:3206)
	at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:1897)
	at java.awt.Component.processEvent(Component.java:3005)
	at java.awt.Container.processEvent(Container.java:1011)
	at java.awt.Component.dispatchEventImpl(Component.java:2396)
	at java.awt.Container.dispatchEventImpl(Container.java:1056)
	at java.awt.Component.dispatchEvent(Component.java:2309)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2064)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1837)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1751)
	at java.awt.Container.dispatchEventImpl(Container.java:1043)
	at java.awt.Window.dispatchEventImpl(Window.java:745)
	at java.awt.Component.dispatchEvent(Component.java:2309)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:283)
[catch] at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:97)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:79)
*********** Exception occurred ************
Mon Jul 23 14:12:36 EDT 2001: java.lang.ArrayIndexOutOfBoundsException: -1
java.lang.ArrayIndexOutOfBoundsException: -1
	at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:233)
	at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseDragged(BasicMenuItemUI.java:789)
	at java.awt.Component.processMouseMotionEvent(Component.java:3206)
	at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:1897)
	at java.awt.Component.processEvent(Component.java:3005)
	at java.awt.Container.processEvent(Container.java:1011)
	at java.awt.Component.dispatchEventImpl(Component.java:2396)
	at java.awt.Container.dispatchEventImpl(Container.java:1056)
	at java.awt.Component.dispatchEvent(Component.java:2309)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2064)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1837)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1751)
	at java.awt.Container.dispatchEventImpl(Container.java:1043)
	at java.awt.Window.dispatchEventImpl(Window.java:745)
	at java.awt.Component.dispatchEvent(Component.java:2309)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:283)
[catch] at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:97)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:79)
Comment 1 Jan Lahoda 2001-07-23 19:23:46 UTC
I do not see ant connection to editor. Maybe debugger developers could
say what is happenning. By the way, which build are you using?
Comment 2 Jan Lahoda 2001-07-23 19:27:42 UTC
Changing mailing list to reflect subcomponent change.
Comment 3 lduperval 2001-07-23 19:44:39 UTC
Sorry about that. I was sure I sent this to the editor list. Should I
resubmit?

I'm using 3.2 build 39.
Comment 4 Jan Jancura 2001-07-24 12:45:19 UTC
can not reproduce.
Do you have some exact instructions how to reproduce it? Is it always reproducible? 
Comment 5 lduperval 2001-07-24 16:58:52 UTC
No, I can't always reproduce it. I haven't figured what the exact
sequence is. It may be because the JDK used is 1.2.2. A colleague who
uses 1.3.1 tells me he has never had problems like this. I'm trying
1.3.1 and so far a lot of (similar right-button) errors that I'd been
seeing have stopped occuring.
Comment 6 Jan Stola 2001-07-27 09:25:17 UTC
Resolution Worksforme -> Status Closed.