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 49917 - Unexpected exception clicking on class file in tree
Summary: Unexpected exception clicking on class file in tree
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-05 06:18 UTC by essin
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log file request by crash message (34.76 KB, text/plain)
2004-10-05 06:20 UTC, essin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description essin 2004-10-05 06:18:29 UTC
java.lang.NullPointerException
	at
org.openide.src.nodes.SourceChildren.addKeysOfType(SourceChildren.java:315)
	at
org.openide.src.nodes.SourceChildren.refreshAllKeys(SourceChildren.java:292)
	at
org.openide.src.nodes.SourceChildren.refreshKeys(SourceChildren.java:278)
	at
org.openide.src.nodes.SourceChildren.addNotify(SourceChildren.java:153)
	at
org.openide.nodes.Children.callAddNotify(Children.java:419)
	at
org.openide.nodes.Children.getArray(Children.java:462)
	at
org.openide.nodes.Children.getNodes(Children.java:315)
	at
org.openide.nodes.FilterNode$ChildrenAdapter.run(FilterNode.java:1363)
	at
org.openide.nodes.FilterNode$Children.updateKeys(FilterNode.java:1319)
	at
org.openide.nodes.FilterNode$Children.addNotifyImpl(FilterNode.java:1216)
	at
org.openide.nodes.FilterNode$Children.addNotify(FilterNode.java:1208)
	at
org.openide.nodes.Children.callAddNotify(Children.java:419)
	at
org.openide.nodes.Children.getArray(Children.java:462)
	at
org.openide.nodes.Children.getNodes(Children.java:315)
	at
org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:179)
	at
org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:218)
	at
javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:168)
	at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1461)
	at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1270)
	at
javax.swing.tree.VariableHeightLayoutCache.ensurePathIsExpanded(VariableHeightLayoutCache.java:966)
	at
javax.swing.tree.VariableHeightLayoutCache.setExpandedState(VariableHeightLayoutCache.java:164)
	at
javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(BasicTreeUI.java:1542)
	at
javax.swing.plaf.basic.BasicTreeUI$Handler.treeExpanded(BasicTreeUI.java:3578)
	at
javax.swing.JTree.fireTreeExpanded(JTree.java:2235)
	at
javax.swing.JTree.setExpandedState(JTree.java:3006)
	at javax.swing.JTree.expandPath(JTree.java:1742)
	at
javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(BasicTreeUI.java:2149)
	at
javax.swing.plaf.basic.BasicTreeUI.handleExpandControlClick(BasicTreeUI.java:2136)
	at
javax.swing.plaf.basic.BasicTreeUI.checkForClickInExpandControl(BasicTreeUI.java:2090)
	at
javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3423)
	at
javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3393)
	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.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
	at
java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
	at
java.awt.Component.processMouseEvent(Component.java:5485)
	at
javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
	at
java.awt.Component.processEvent(Component.java:5253)
	at
java.awt.Container.processEvent(Container.java:1966)
	at
java.awt.Component.dispatchEventImpl(Component.java:3955)
	at
java.awt.Container.dispatchEventImpl(Container.java:2024)
	at
java.awt.Component.dispatchEvent(Component.java:3803)
	at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
	at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
	at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at
java.awt.Container.dispatchEventImpl(Container.java:2010)
	at
java.awt.Window.dispatchEventImpl(Window.java:1766)
	at
java.awt.Component.dispatchEvent(Component.java:3803)
[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 essin 2004-10-05 06:20:53 UTC
Created attachment 18037 [details]
log file request by crash message
Comment 2 ehucka 2004-10-06 15:12:17 UTC
Can you provide some steps to reproduce this bug?
Comment 3 Petr Hrebejk 2004-10-12 13:42:18 UTC
Probably some Java SourceChildren issue. However it does not seem to
be reproducible in the latest trunk. Assume fixed. 

Feel free to reopen if you encounter the bug again.
Comment 4 Quality Engineering 2007-09-20 12:13:32 UTC
Reorganization of java component