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.
When the "Compile On Save" option is enabled, class loading generates a runtime exception, even though the application launches successfully from the command line using the jar file. Netbeans version is 6.7.1. There is no such exception using the same source with netbeans 6.0.1. The application is the sample java app published by www.interactivebrokers.com built according to the netbeans instructions in their getting started document. Links are in the attachments.
Created attachment 88146 [details] Exception trace and links to source
The exception disappears when "Compile On Save" is deselected and the project is cleaned and rebuilt. The exception reappears if "Compile On Save" is enabled, and the project cleaned and rebuilt again. I'm building on a somewhat old and slow machine. Could this be a race condition? Just a thought.
Reassigning to java for evaluation.
Cannot reproduce the issue in the current dev build. It should be fixed together with issue #170738.
After several recent netbeans updates, including the IDE Platform plugin (to 1.6.4) I checked this again and the problem is no longer present, so I can confirm that it is resolved.