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.
This bug was originally marked as duplicate of bug 166511, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 6.9.1 (Build 201007282301) VM: Java HotSpot(TM) 64-Bit Server VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07 OS: Windows 7 User Comments: stefan79: Expand in Project-View. GUEST: I add some new dependecies to teh pom.xml and the project window's view became crazy. GUEST: Don't remember 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)
Created attachment 101445 [details] stacktrace
testRect can be null when touching testRect.y. Looks like a JDK bug: testRect = getPathBounds(tree, getPathForRow(tree, counter)); if((testRect.y + testRect.height) > maxY) counter = endRow;
*** Bug 187950 has been marked as a duplicate of this bug. ***
Let's pretend this bug is caused by non-EDT changes of the tree hierarchy as fix in bug 191781. *** This bug has been marked as a duplicate of bug 191781 ***