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 22744 - NPE during server registry expanding
Summary: NPE during server registry expanding
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: -FFJ-
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: Damian Frach
URL:
Keywords:
Depends on:
Blocks: 22644
  Show dependency tree
 
Reported: 2002-04-24 15:14 UTC by Damian Frach
Modified: 2002-04-24 15:34 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 Damian Frach 2002-04-24 15:14:09 UTC
Forte for Java, EE v. 4.0 (Build 20020424-1313)

NPE during server registry expanding

java.lang.NullPointerException
        at 
org.netbeans.modules.j2ee.impl.ServerRegistryImpl.selectInst
ance(ServerRegistryImpl.java:211)
        at 
org.netbeans.modules.j2ee.impl.ServerRegistryImpl.getDefault
WebInstance(ServerRegistryImpl.java:237)
        at 
org.netbeans.modules.j2ee.ui.ServerRegistryNode.createKeyNod
es(ServerRegistryNode.java:104)
        at 
org.netbeans.modules.j2ee.ui.ServerRegistryNode$RegistryChil
dren.createNodes(ServerRegistryNode.java:272)
        at org.openide.nodes.Children$Keys$KE.nodes
(Children.java:1826)
        at org.openide.nodes.ChildrenArray.nodesFor
(ChildrenArray.java:125)
        at org.openide.nodes.Children$Info.nodes
(Children.java:929)
        at org.openide.nodes.Children.updateAdd
(Children.java:737)
        at org.openide.nodes.Children.setEntries
(Children.java:526)
        at org.openide.nodes.Children$3.run
(Children.java:1719)
        at org.openide.util.Mutex.leave(Mutex.java:604)
        at org.openide.util.Mutex.readAccess(Mutex.java:173)
        at 
org.openide.explorer.view.VisualizerNode.getChildren
(VisualizerNode.java:147)
        at 
org.openide.explorer.view.VisualizerNode.getChildCount
(VisualizerNode.java:187)
        at javax.swing.tree.DefaultTreeModel.getChildCount
(DefaultTreeModel.java:168)
        at 
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.exp
and(VariableHeightLayoutCache.java:1461)
        at 
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.exp
and(VariableHeightLayoutCache.java:1270)
        at 
javax.swing.tree.VariableHeightLayoutCache.ensurePathIsExpan
ded(VariableHeightLayoutCache.java:966)
        at 
javax.swing.tree.VariableHeightLayoutCache.setExpandedState
(VariableHeightLayoutCache.java:164)
        at 
javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants
(BasicTreeUI.java:1494)
        at 
javax.swing.plaf.basic.BasicTreeUI$TreeExpansionHandler.tree
Expanded(BasicTreeUI.java:2312)
        at javax.swing.JTree.fireTreeExpanded
(JTree.java:2238)
        at javax.swing.JTree.setExpandedState
(JTree.java:3009)
        at javax.swing.JTree.expandPath(JTree.java:1744)
        at 
javax.swing.plaf.basic.BasicTreeUI.toggleExpandState
(BasicTreeUI.java:2093)
        at 
javax.swing.plaf.basic.BasicTreeUI.handleExpandControlClick
(BasicTreeUI.java:2080)
        at 
javax.swing.plaf.basic.BasicTreeUI.checkForClickInExpandCont
rol(BasicTreeUI.java:2034)
        at 
javax.swing.plaf.basic.BasicTreeUI$MouseHandler.handleSelect
ion(BasicTreeUI.java:2809)
        at 
javax.swing.plaf.basic.BasicTreeUI$MouseHandler.mousePressed
(BasicTreeUI.java:2779)
        at java.awt.AWTEventMulticaster.mousePressed
(AWTEventMulticaster.java:218)
        at java.awt.AWTEventMulticaster.mousePressed
(AWTEventMulticaster.java:217)
        at java.awt.AWTEventMulticaster.mousePressed
(AWTEventMulticaster.java:217)
        at java.awt.AWTEventMulticaster.mousePressed
(AWTEventMulticaster.java:217)
        at java.awt.Component.processMouseEvent
(Component.java:5018)
        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:2926)
        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)
        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)
Comment 1 Damian Frach 2002-04-24 15:20:14 UTC
it is not probably only P2
Comment 2 Damian Frach 2002-04-24 15:34:18 UTC
fix was integrated