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.
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
Created attachment 42015 [details] Log file for this bug
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)
*** Issue 103060 has been marked as a duplicate of this issue. ***
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 ***