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.
This bug was originally marked as duplicate of bug 205582, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 20120525-a237552e4755) VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05 OS: Windows 7 User Comments: mjanicek: Just running a project GUEST: opening free-form projects that use annotation processors to generate source code yardus: Opened the "maven" project from the IDE source tree. Opened ActionProviderImpl class from that project, went to line 330 and ctrl-hovered over ActionToGoalUtils token - all while scanning was in progress. GUEST: opening free-form projects that use annotation processors to generate source code everflux: Threw in a bunch of JVM options and started nightly build of Netbeans Additional options where: -J-XX:+UseG1GC -J-XX:+AggressiveOpts -J-XX:+OptimizeStringConcat -J-XX:+UseStringCache -J-XX:+UseLargePages -J-XX:+UseCompressedStrings -J-Djava.net.preferIPv4Stack=true sj-nb: scanning at startup yardus: Opening the "Source Packages" node of the maven.j2ee project everflux: first start of nb nightly, clean import of nb 7.1 settings, opens maven project, question to install junit appears. clicked on select box of junit version pjiricka: After opening j2eeserver module from NetBeans source base. Stacktrace: java.lang.IllegalStateException: endPosTable already set at com.sun.tools.javac.util.DiagnosticSource.setEndPosTable(DiagnosticSource.java:137) at com.sun.tools.javac.util.Log.setEndPosTable(Log.java:237) at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:643) at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:932) at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.<init>(JavacProcessingEnvironment.java:920) at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.next(JavacProcessingEnvironment.java:948)
Created attachment 119880 [details] stacktrace
Created attachment 120832 [details] stacktrace Called revert on layer.xml which was opened in editor but not focused.
Created attachment 120865 [details] stacktrace
Created attachment 120875 [details] stacktrace running junit tests with compile on save disabled
Created attachment 120900 [details] stacktrace start fresh build with removed cache but old userdir and several nb module and java project opened with several files opened(some bundle.properties, some project.xmk, etc)
Created attachment 120987 [details] stacktrace While scanning cnd.kit project.
Hard to fix without a reproducible test case. Could you please create a simple test case and attach it to the issue? Thanks.
Created attachment 121030 [details] stacktrace While scanning j2ee.kit project.
Created attachment 121497 [details] stacktrace
Created attachment 121681 [details] stacktrace
Created attachment 121882 [details] stacktrace during background scanning
Created attachment 122142 [details] stacktrace I am working on a Maven-based NetBeans platform application, and I was building a module when this occurred.
Created attachment 122209 [details] stacktrace During background scanning
Created attachment 122276 [details] stacktrace Opening a project's properties.
Created attachment 122286 [details] stacktrace
as far as I can tell the issue occurs in clusters, I often get close to 10 at once and in situations when heap memory is scarce (got the Low memory warning in the status bar)
Enhanced logging. http://hg.netbeans.org/jet-main/rev/6d6a78c56472
Integrated into 'main-golden', will be available in build *201207270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/6d6a78c56472 User: Dusan Balek <dbalek@netbeans.org> Log: Enhanced logging (see issue #213011 - IllegalStateException: endPosTable already set)
Created attachment 122587 [details] stacktrace switch from one java file to another
it looks after more logging was added the same issue is reported as issue 216357
*** Bug 216357 has been marked as a duplicate of this bug. ***
Fixed in jet-main. http://hg.netbeans.org/main/nb-javac/rev/45e9867685b0 http://hg.netbeans.org/jet-main/rev/2f4e13c2ce98
Integrated into 'main-golden', will be available in build *201208100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2f4e13c2ce98 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #213011: IllegalStateException: endPosTable already set - fixed.
*** Bug 218599 has been marked as a duplicate of this bug. ***