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.
How to reproduce : - start the Tomcat4.0 server (on some Tomcat4.0 installation node) - stop that Tomcat4.0 server - rigt click on the node to display the context menu (See that Start Server action is disabled. - click on the Tomcat 4.0 server node. The Exception occurs : java.lang.NullPointerException at org.netbeans.modules.tomcat.tomcat40.StartServerAction.enabl e(StartServerAction.java:61) at org.openide.util.actions.NodeAction.isEnabled (NodeAction.java:118) at org.openide.awt.Actions$MenuBridge.updateState (Actions.java:508) at org.openide.awt.Actions.connect(Actions.java:93) at org.openide.awt.Actions.connect(Actions.java:81) at org.openide.awt.Actions$MenuItem.<init> (Actions.java:784) at org.openide.util.actions.CallableSystemAction.getPopupPresen ter(CallableSystemAction.java:43) at org.openide.nodes.NodeOp.findContextMenuImpl (NodeOp.java:152) at org.openide.nodes.Node.getContextMenu (Node.java:424) at org.openide.nodes.NodeOp.findContextMenu (NodeOp.java:86) at org.openide.explorer.view.TreeView.createPopup (TreeView.java:983) at org.openide.explorer.view.TreeView$PopupAdapter.showPopup (TreeView.java:914) at org.openide.awt.MouseUtils$PopupMouseAdapter.mouseReleased (MouseUtils.java:151) at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java:228) at java.awt.Component.processMouseEvent (Component.java:5021) at java.awt.Component.processEvent (Component.java:4818) at java.awt.Container.processEvent (Container.java:1380) at java.awt.Component.dispatchEventImpl (Component.java:3526) at java.awt.Container.dispatchEventImpl (Container.java:1437) at java.awt.Component.dispatchEvent (Component.java:3367) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:3214) at java.awt.LightweightDispatcher.processMouseEvent (Container.java:2929) at java.awt.LightweightDispatcher.dispatchEvent (Container.java:2859) at java.awt.Container.dispatchEventImpl (Container.java:1423) at java.awt.Window.dispatchEventImpl (Window.java:1566) at java.awt.Component.dispatchEvent (Component.java:3367) [catch] at java.awt.EventQueue.dispatchEvent (EventQueue.java:445) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:138) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:130) at java.awt.EventDispatchThread.run (EventDispatchThread.java:98)
Fixed in trunk
VERIFIED