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 103061 - ArrayIndexOutOfBoundsException when right-click on APP Java DB in Runtime Tab
Summary: ArrayIndexOutOfBoundsException when right-click on APP Java DB in Runtime Tab
Status: RESOLVED DUPLICATE of bug 96915
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P2 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
: 103060 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-01 19:25 UTC by David Vancouvering
Modified: 2007-05-02 09:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file for this bug (39.47 KB, text/plain)
2007-05-01 19:26 UTC, David Vancouvering
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Vancouvering 2007-05-01 19:25:11 UTC
I have not seen this before, and I don't know if it's reproducible, but here is
the scenario:

- Start NB fresh (clean userdir)
- Create a visual web app
- Drag table to page
- Connect to APP database
- Drag CUSTOMER to table
- Deploy and run
- Close NB
- Open NB
- Go to Runtime tab
- Right-click on APP db to start it
- You get this exception
Comment 1 David Vancouvering 2007-05-01 19:26:32 UTC
Created attachment 42015 [details]
Log file for this bug
Comment 2 David Vancouvering 2007-05-01 19:27:13 UTC
Here is the stack trace from the popup

ava.lang.ArrayIndexOutOfBoundsException: 0
	at
org.netbeans.modules.db.explorer.actions.RefreshChildrenAction.enable(RefreshChildrenAction.java:37)
	at
org.openide.util.actions.NodeAction$DelegateAction.resultChanged(NodeAction.java:589)
	at
org.openide.util.actions.CookieAction$CookieDelegateAction.superResultChanged(CookieAction.java:308)
	at
org.openide.util.actions.CookieAction$CookieDelegateAction.resultChanged(CookieAction.java:304)
	at org.openide.util.actions.NodeAction$DelegateAction.<init>(NodeAction.java:534)
	at
org.openide.util.actions.CookieAction$CookieDelegateAction.<init>(CookieAction.java:297)
	at
org.openide.util.actions.CookieAction.createContextAwareInstance(CookieAction.java:119)
	at org.openide.util.Utilities.actionsToPopup(Utilities.java:2637)
	at org.openide.util.Utilities.actionsToPopup(Utilities.java:2729)
	at org.openide.explorer.view.TreeView.createPopup(TreeView.java:887)
	at org.openide.explorer.view.TreeView$PopupAdapter.showPopup(TreeView.java:1333)
	at org.openide.awt.MouseUtils$PopupMouseAdapter.maybePopup(MouseUtils.java:158)
	at org.openide.awt.MouseUtils$PopupMouseAdapter.mousePressed(MouseUtils.java:149)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
	at java.awt.Component.processMouseEvent(Component.java:5551)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5319)
	at java.awt.Container.processEvent(Container.java:2010)
	at java.awt.Component.dispatchEventImpl(Component.java:4021)
	at java.awt.Container.dispatchEventImpl(Container.java:2068)
	at java.awt.Component.dispatchEvent(Component.java:3869)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3933)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
	at java.awt.Container.dispatchEventImpl(Container.java:2054)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3869)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 3 Andrei Badea 2007-05-02 09:46:53 UTC
*** Issue 103060 has been marked as a duplicate of this issue. ***
Comment 4 Andrei Badea 2007-05-02 09:49:18 UTC
I have seen this once or twice on Linux, but no reproducible steps. Not related
to Derby I think.


*** This issue has been marked as a duplicate of 96915 ***