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.
Product Version: NetBeans IDE 6.0 Beta 1 (Build 200709041200) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Description: ============ not reproducible but happened more then once. I have created java desktop application project and opened task list Application super class and view class from this project is opened in editor as well I just did refactoring - rename of view class, then I tried to ref. undo/redo, refactoring rename again and then the NPE was thrown. StackTrace: =========== java.lang.NullPointerException at org.netbeans.modules.refactoring.java.ui.tree.ElementGripFactory$Interval.createInterval(ElementGripFactory.java:129) at org.netbeans.modules.refactoring.java.ui.tree.ElementGripFactory$Interval.createInterval(ElementGripFactory.java:123) at org.netbeans.modules.refactoring.java.ui.tree.ElementGripFactory$Interval.createInterval(ElementGripFactory.java:123) at org.netbeans.modules.refactoring.java.ui.tree.ElementGripFactory$Interval.createInterval(ElementGripFactory.java:123) at org.netbeans.modules.refactoring.java.ui.tree.ElementGripFactory$Interval.createInterval(ElementGripFactory.java:123) at org.netbeans.modules.refactoring.java.ui.tree.ElementGripFactory$Interval.createInterval(ElementGripFactory.java:123) at org.netbeans.modules.refactoring.java.ui.tree.ElementGripFactory.put(ElementGripFactory.java:75) at org.netbeans.modules.refactoring.java.api.JavaRefactoringUtils.cacheTreePathInfo(JavaRefactoringUtils.java:343) at org.netbeans.modules.refactoring.java.spi.RefactoringVisitor.rewrite(RefactoringVisitor.java:75) at org.netbeans.modules.refactoring.java.plugins.RenameTransformer.renameUsageIfMatch(RenameTransformer.java:85) at org.netbeans.modules.refactoring.java.plugins.RenameTransformer.visitIdentifier(RenameTransformer.java:47) at org.netbeans.modules.refactoring.java.plugins.RenameTransformer.visitIdentifier(RenameTransformer.java:35)
Created attachment 48163 [details] 114764
Checking in ElementGripFactory.java; /cvs/refactoring/java/src/org/netbeans/modules/refactoring/java/ui/tree/ElementGripFactory.java,v <-- ElementGripFactory.java new revision: 1.5; previous revision: 1.4 done
*** Issue 116877 has been marked as a duplicate of this issue. ***
*** Issue 118484 has been marked as a duplicate of this issue. ***
*** Issue 116110 has been marked as a duplicate of this issue. ***
verified on Product Version: NetBeans IDE Dev (Build 20071101060911) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)