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.
Created attachment 164904 [details] nb/var/log/messages.log of a session with the issue Opening a maven child project causes the file to be displayed, but saved changes are not reflected in the file which is shown in the Java class' properties dialog according to the GNOME text editor `gedit`. Users might not recognize that and loose hours of works! One has to work around the issue by copying the text from the editor and save the changes in an external editor - and not use NetBeans anymore this is incredibly harmful and should never happen, please review your unit and integration tests!
EDIT1: Please add assertions to the code which make the IDE crash in the described situation since that causes a lot less work to be lost than keeping the IDE running and effectively throwing away users work of hours. Assertions are easy to maintain and a simple check that changes of a file are actually saved on that very same file are an absolute must-have.