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.
Build: NetBeans IDE Dev (Build 200811200201) VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284 OS: Mac OS X, 10.5.5, i386 User Comments: limbo: While debugging web-app GUEST: i was modifing a jsp pcw: manipulating the javamail TCK in netbeans (that means lots of oddly placed packages, weird errors, missing dependent jars, etc. --- edge case nightmare for the parser) limbo: While debugging web-app Stacktrace: java.lang.IllegalArgumentException at com.sun.tools.javac.util.JCDiagnostic.<init>(JCDiagnostic.java:292) at com.sun.tools.javac.util.JCDiagnostic$Factory.error(JCDiagnostic.java:90) at com.sun.tools.javac.util.Log.error(Log.java:454) at com.sun.tools.javac.parser.Parser.reportSyntaxError(Parser.java:402) at com.sun.tools.javac.parser.Parser.accept(Parser.java:430) at com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1745)
Created attachment 73942 [details] stacktrace
Build: NetBeans IDE Dev (Build 200811240201) VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26 OS: Linux, 2.6.24-19-generic, i386 User Comments: Stacktrace: java.lang.IllegalArgumentException
Created attachment 74089 [details] stacktrace
Build: NetBeans IDE Dev (Build 200811260201) VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284 OS: Mac OS X, 10.5.5, i386 User Comments: Start debugging session, session hits breakpoint. Open evaluate expression, for "Expression" field enter non-existing variable (e.g. "a" ). Push "Evaluate". Exceptions is thrown. Stacktrace: java.lang.IllegalArgumentException at com.sun.tools.javac.util.JCDiagnostic.<init>(JCDiagnostic.java:292) at com.sun.tools.javac.util.JCDiagnostic$Factory.error(JCDiagnostic.java:90) at com.sun.tools.javac.util.Log.error(Log.java:454) at com.sun.tools.javac.parser.Parser.reportSyntaxError(Parser.java:402) at com.sun.tools.javac.parser.Parser.accept(Parser.java:430) at com.sun.tools.javac.parser.Parser.blockStatements(Parser.java:1745)
Created attachment 74233 [details] stacktrace
Seems like a race condition. Is debugger accessing its javac instance from the single thread only?
If javac needs to be called synchronously, then this is a duplicate of issue #152919.
Should be fixed together with issue #152919. *** This issue has been marked as a duplicate of 152919 ***