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.
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)
Created attachment 18037 [details] log file request by crash message
Can you provide some steps to reproduce this bug?
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.
Reorganization of java component