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 103901 [details] IDE dump file There is a hidden intermittent Java compiler failure that exhibits itself as marking a perfectly compilable class with error badge, marking some of the code lines with errors and producing errors in the error view. This is happening in the latest dev build; the same file loads perfectly into 6.9.1. The IDE does not give any indications of its own failure and does not popup an exception dialog. However, there is a lot of dump files being generated in the ~/.netbeans/dev/var/log, one of them is attached. There are also corresponding messages in the IDE log file, also attached. Any attempts to make compiler change its mind about the file using editing, refactoring, etc. do not produce any effect - the errors persist. However removing the IDE cache directory completely eliminates the problem and the same file is parsed without any error indications, that is why I mark it as intermittent. There are a couple of similar bugs in bugzilla filed against the older IDE releases, the latest one of them is #183899 that has a similar stack trace. Best regards, -Azary
Created attachment 103902 [details] IDE log file
Found another potentially relevant bug #187697 in NetBeans bugzilla. I am using Mac OS X and latest JDK update 22.
Could you please attach file:/Users/asmotrich/.netbeans/dev/var/cache/index/s50/java/14/classes/com/liveops/callcenter/presence/AgentCore.sig together with AgentCore.java? Are you able to reproduce the issue on your sources?
*** Bug 193069 has been marked as a duplicate of this bug. ***
*** Bug 193080 has been marked as a duplicate of this bug. ***
Created attachment 103946 [details] Cacche file Unfortunately I cannot attach the source file without going through a lengthy legal process. And it will not help you anyway because it is part of an inheritance chain. I cannot reproduce the problem, simple removal of the cache directory made the problem disappear and it did not happen again since. That suggest a possible fix - detect an error and invalidate all relevant cache entries.
Unfortunately, the fix is not so easy - sometimes, Coupling errors are thrown for valid reason - e.g. if there is a jar file with attached sources, however the sources does not match the jar file content (sometimes happen when e.g. there is an rt.jar with src.zip attached the comes from different JDK version). However, this is not the case of this bug. The problem here is that already created valid sig file gets corrupted later on. This particular case should be fixed by changeset ec9d8a9bb989 in main-silver details: http://hg.netbeans.org/main-silver?cmd=changeset;node=ec9d8a9bb989 changeset 08e4360ea2a7 in main-silver details: http://hg.netbeans.org/main-silver?cmd=changeset;node=08e4360ea2a7