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.
NullPointerException is thrown when you are about to refactor class while moving a class. It is high priority because it breaks UI commit validation tests. It appeared sometime between 200706060657 and 200706061403. To reproduce: - create a java project - create a new package - right click the Main.java node and choose Cut - right click newpackage node and choose Past|Refactor Move... - click Rafactor in the Move Class dialog and following two exceptions appear: java.lang.NullPointerException at org.netbeans.modules.refactoring.java.ui.tree.ElementGripFactory$Interval.createInterval(ElementGripFactory.java:119) java.lang.NullPointerException at org.netbeans.modules.refactoring.spi.impl.UndoWatcher.watch(UndoWatcher.java:53) Build 200706070615, JDK1.6.0_02, WindowsXP.
Created attachment 43352 [details] Stack trace.
*** Issue 105960 has been marked as a duplicate of this issue. ***
Already fixed.
Verified.