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.

Bug 252158 - IllegalStateException at com.sun.tools.javac.api.JavacTaskImpl.prepareCompiler
Summary: IllegalStateException at com.sun.tools.javac.api.JavacTaskImpl.prepareCompiler
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-29 09:26 UTC by IrianR
Modified: 2015-10-01 05:02 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 215641


Attachments
stacktrace (2.87 KB, text/plain)
2015-04-29 09:27 UTC, IrianR
Details
stacktrace (3.21 KB, text/plain)
2015-08-13 06:36 UTC, stwr
Details
stacktrace (2.89 KB, text/plain)
2015-08-19 15:04 UTC, aquaglia
Details
stacktrace (3.17 KB, text/plain)
2015-09-10 14:52 UTC, IrianR
Details
stacktrace (2.92 KB, text/plain)
2015-09-17 10:08 UTC, aquaglia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description IrianR 2015-04-29 09:26:59 UTC
Build: NetBeans IDE Dev (Build 201504070001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 7

User Comments:
gtzabari: Opened file in editor. Exception thrown.

IrianR: Debugging




Stacktrace: 
java.lang.IllegalStateException
   at com.sun.tools.javac.api.JavacTaskImpl.prepareCompiler(JavacTaskImpl.java:169)
   at com.sun.tools.javac.api.JavacTaskImpl.parse(JavacTaskImpl.java:236)
   at org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:590)
   at org.netbeans.modules.java.source.parsing.CompilationInfoImpl.toPhase(CompilationInfoImpl.java:383)
   at org.netbeans.api.java.source.CompilationController.toPhase(CompilationController.java:109)
   at org.netbeans.modules.debugger.jpda.projects.PreferredCCParser.toPhase(PreferredCCParser.java:607)
Comment 1 IrianR 2015-04-29 09:27:01 UTC
Created attachment 153458 [details]
stacktrace
Comment 2 Dusan Balek 2015-04-29 11:42:15 UTC
Seems like the same CompilationController instance is called from two debugger threads simultaneously.
Comment 3 stwr 2015-08-13 06:36:33 UTC
Created attachment 155322 [details]
stacktrace

I was debugging the MemoryView project and playing around exception breakpoints. The exception has been thrown when the debugger hit the breakpoint.
Comment 4 aquaglia 2015-08-19 15:04:29 UTC
Created attachment 155457 [details]
stacktrace

Debuggin JUnit tests
Comment 5 IrianR 2015-09-10 14:52:07 UTC
Created attachment 156066 [details]
stacktrace

Remote debugging a maven based application.
Comment 6 Exceptions Reporter 2015-09-10 14:52:12 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=215641
Comment 7 aquaglia 2015-09-17 10:08:30 UTC
Created attachment 156235 [details]
stacktrace

Debuggin JUNit test
Comment 8 Tomas Zezula 2015-09-29 12:49:27 UTC
Fixed jet-main 1735cb40438b
Comment 9 Quality Engineering 2015-10-01 05:02:27 UTC
Integrated into 'main-silver', will be available in build *201510010328* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1735cb40438b
User: Tomas Zezula <tzezula@netbeans.org>
Log: #252158:IllegalStateException at com.sun.tools.javac.api.JavacTaskImpl.prepareCompiler