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.
Dev build, JDK 5. Just made a new j2seproject w/ main class, added a println, F6. Waited for CP scanning to complete, project ran, got this exception on console.
Created attachment 32475 [details] Stack trace
Happens in NB 5.5 too.
Product Version = NetBeans 5.5 Dev (Build 060822) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor; Home = 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-b03; Sun Microsystems Inc.
OK ppis, but any reproductible scenario? I'm not able to fix if it is just random, as it's in complicated code written by someone else.
I don't have exact repro case. It's random. It was thrown while automatic test had been performed. Steps of test: (j2se project) 1. Check project from CVS repository and open it. (working location 1) 2. Modify sources and close project. (2 files) 3. Check the same project from CVS repository and open it. (but into working location 2) 4. Modify the same sources at the same lines (to ensure conflict in next step) and commit them. Close project. 5. Open the project from working location 1 and update it, conficts occur. Exception is randomly thrown.
I've seen this several times in commit validation, IIRC. If you don't know why it happens and can't find out and believe it's harmless, at least comment out the printStackTrace().
The class no longer exists.