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 47355 - When I start the ide, and immediately right mouse click on the Tomcat 5 Servers -> http://localhost:8084, the popup menu has only Refresh and View Shared Context menu items enabled. When I action Refresh throws the following exception.
Summary: When I start the ide, and immediately right mouse click on the Tomcat 5 Serve...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-18 10:08 UTC by uaimp
Modified: 2005-05-03 18:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot of the exception (83.38 KB, image/png)
2004-08-18 10:11 UTC, uaimp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description uaimp 2004-08-18 10:08:17 UTC
java.lang.ArrayIndexOutOfBoundsException: 0
	at
org.netbeans.modules.j2ee.deployment.impl.ui.actions.RefreshAction.performAction(RefreshAction.java:35)
	at
org.openide.util.actions.NodeAction$3.run(NodeAction.java:440)
	at
org.openide.util.actions.CallableSystemAction.doPerformAction(CallableSystemAction.java:116)
	at
org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:438)
	at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
	at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2167)
	at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at
javax.swing.AbstractButton.doClick(AbstractButton.java:302)
	at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
	at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
	at
java.awt.Component.processMouseEvent(Component.java:5465)
	at
javax.swing.JComponent.processMouseEvent(JComponent.java:3089)
	at
java.awt.Component.processEvent(Component.java:5230)
	at
java.awt.Container.processEvent(Container.java:1961)
	at
java.awt.Component.dispatchEventImpl(Component.java:3933)
	at
java.awt.Container.dispatchEventImpl(Container.java:2019)
	at
java.awt.Component.dispatchEvent(Component.java:3781)
	at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4205)
	at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3885)
	at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3815)
	at
java.awt.Container.dispatchEventImpl(Container.java:2005)
	at
java.awt.Window.dispatchEventImpl(Window.java:1764)
	at
java.awt.Component.dispatchEvent(Component.java:3781)
[catch] at
java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at
java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 uaimp 2004-08-18 10:11:10 UTC
Created attachment 16907 [details]
Screen shot of the exception
Comment 2 Marian Mirilovic 2004-08-18 10:13:47 UTC
uaimp,

please file an issue against appropriate module 

Thanks ;)
Comment 3 uaimp 2004-08-19 07:50:55 UTC
Marian

I am new to this. I would appreciate if you could tell me what is the 
appropriate module for this issue?

Cheers
Sam
Comment 4 uaimp 2004-08-22 06:57:54 UTC
Tested beta1 release. This problem does not happen.