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.
Create Standard Java app project, open the Main.java source, do some edits and then press undo until the content of the file remains completely empty. The situation can be reverted reverted back by doing Redo.
*** This issue has been marked as a duplicate of 47881 ***
verified duplicate