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 193022

Summary: [70cat] NullPointerException at com.sun.java.swing.plaf.windows.WindowsTreeUI.ensureRowsAreVisible
Product: platform Reporter: esmithbss <esmithbss>
Component: ExplorerAssignee: Jaroslav Tulach <jtulach>
Status: CLOSED DUPLICATE    
Severity: normal CC: bartvdc, bestmike007, earlGrey, knibals, mmirilovic, oj-nb, ort, sreimers, stefan79
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 174775
Attachments: stacktrace

Description esmithbss 2010-12-08 02:00:08 UTC
This bug was originally marked as duplicate of bug 191781, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201012060001)
VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Windows XP

User Comments:
GUEST: Debugging an application

bartvdc: expand project. libraries folder view  is empty

stefan79: Expand in Project-View.

GUEST: I tried to add a netbeans plattform wrapper modul to a netbeans plattform application

bestmike007: I don't know, it just happened..

GUEST: Don't remember

GUEST: going through files in navigatino pane

esmithbss: Expanding the Tree view of my Project.  There are 4 projects and when expanding the top item, the system leaves a large blank area below the package tree.

GUEST: I add some new dependecies to teh pom.xml and the project window's view became crazy.

earlGrey: Only switched tab from "Projects" to "Services".




Stacktrace: 
java.lang.NullPointerException
   at com.sun.java.swing.plaf.windows.WindowsTreeUI.ensureRowsAreVisible(WindowsTreeUI.java:74)
   at javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(BasicTreeUI.java:2208)
   at javax.swing.plaf.basic.BasicTreeUI.handleExpandControlClick(BasicTreeUI.java:2191)
   at javax.swing.plaf.basic.BasicTreeUI.checkForClickInExpandControl(BasicTreeUI.java:2149)
   at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3511)
   at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressedDND(BasicTreeUI.java:3497)
Comment 1 esmithbss 2010-12-08 02:00:12 UTC
Created attachment 103712 [details]
stacktrace
Comment 2 Jaroslav Tulach 2011-01-03 11:43:14 UTC
No NetBeans code on stack, no way to reproduce the problem. Only one report after 7.0beta...
Comment 3 Marian Mirilovic 2011-06-09 10:17:57 UTC

*** This bug has been marked as a duplicate of bug 196273 ***