The moose likes IDEs, Version Control and other tools and the fly likes [NetBeans] Problem in executing project. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "[NetBeans] Problem in executing project." Watch "[NetBeans] Problem in executing project." New topic

[NetBeans] Problem in executing project.

Claude Moore
Ranch Hand

Joined: Jun 24, 2005
Posts: 722

Hi to all,

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.

Any hints ?
I agree. Here's the link:
subject: [NetBeans] Problem in executing project.
It's not a secret anymore!