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.
Build: NetBeans IDE Dev (Build 20120326-34d2eb3db637) VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b04 OS: Linux Stacktrace: java.lang.IllegalArgumentException: Called DataObject.find on null at org.openide.loaders.DataObject.find(DataObject.java:517) at org.netbeans.modules.refactoring.spi.BackupFacility2$DefaultImpl.checkChecksum(BackupFacility2.java:245) at org.netbeans.modules.refactoring.spi.BackupFacility2$DefaultImpl.access$200(BackupFacility2.java:208) at org.netbeans.modules.refactoring.spi.BackupFacility2$DefaultHandle.checkChecksum(BackupFacility2.java:198) at org.netbeans.modules.refactoring.spi.RefactoringCommit.rollback(RefactoringCommit.java:199) at org.netbeans.modules.refactoring.api.RefactoringSession.undoRefactoring(RefactoringSession.java:200)
Created attachment 117249 [details] stacktrace
It happens if I try to undo the refactoring done at issue #210107.
Created attachment 118004 [details] stacktrace 1.) Create new project. 2.) Create new Class file in package "newpackage". 3.) Rename Class file to "NewClassRenamed" and refactor. 4.) Delete the package deceleration in the file so it is in the default package. 5.) Save file. 6.) Click on light bulb with Red badge at top of file and choose "move class to correct folder". Class is moved to "default package". 7.) Put focus on file in Project Window and click the Undo Button. 8.) Click "Yes" on dialog asking to Undo Rename. Probably same as http://netbeans.org/bugzilla/show_bug.cgi?id=210883
Created attachment 118106 [details] stacktrace Clicked Undo "Replace Constructor with Builder" and then clicked Redo and this Exception happened.
Changeset: 9095605d1999 Author: Jan Becicka <jbecicka@netbeans.org> Date: 2012-04-11 13:03 Message: Issue 210883 - org.openide.filesystems.FileStateInvalidException: C:\Users\Mark\Documents\NetBeansProjects\DevelopingJavaBeans\src\developingjavabeans\ExampleApplet1.java@df423958:bd1c74[invalid] Issue #210104 - [72cat] IllegalArgumentException: Called DataObject.find on null
Created attachment 118118 [details] stacktrace 1.) Refactor>>Introduce local extention on a java file. 2.) Undo 3.) Redo and this Exception happens.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=186281
Integrated into 'main-golden', will be available in build *201204130400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/9095605d1999 User: Jan Becicka <jbecicka@netbeans.org> Log: Issue 210883 - org.openide.filesystems.FileStateInvalidException: C:\Users\Mark\Documents\NetBeansProjects\DevelopingJavaBeans\src\developingjavabeans\ExampleApplet1.java@df423958:bd1c74[invalid] Issue #210104 - [72cat] IllegalArgumentException: Called DataObject.find on null