I'm encountered a strange problem with a project developed in NetBeans 7.2.
After a while seems that Netbeans gets corrupted, and when I try to run my project i run into following error
java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file xyz
where xyz is a class of mine own, and there's absolutely nothing wrong with it: indeed, if I uninstall NetBeans, reinstall it,
the very same project can be build without any modifications.
On the web I read some guy's posts regarding this issue, but it seems that there is not an effective solution.
The only workaround, besides of re-installing NetBeans, seems to uncheck "compile on save options". Indeed it works,
but I'd prefer to continue using compile on save feature -- it's very usefull for me.