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 257298

Summary: AssertionError: Wrong diagnostic handler: com.sun.tools.javac.util.Log$DeferredDiagnosticHandler@2d663063 Thread dump: Inactive RequestProcessor thread [Was:Flush UI Logs/org.netbeans.modules.uihandle
Product: java Reporter: _ tboudreau <tboudreau>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: AlexFalappa, alexx7676, bondolo, chenar, ebakke, emiddio, ExIngus, ggghhhjjj, gtzabari, IrianR, jglick, Leperous, lostmats, mkhramov, peterhull90, terje7601, ytn01
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 221844
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description _ tboudreau 2015-12-26 09:11:13 UTC
Build: NetBeans IDE Dev (Build NetBeans-911-on-20151204)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-b17
OS: Mac OS X

User Comments:
tboudreau: Doing a Git cherry-pick




Stacktrace: 
java.lang.AssertionError: Wrong diagnostic handler: com.sun.tools.javac.util.Log$DeferredDiagnosticHandler@2d663063
Thread dump:
Inactive RequestProcessor thread [Was:Flush UI Logs/org.netbeans.modules.uihandler.UIHandler$2WriteOut]
	java.lang.Object.wait(Native Method)
	org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2002)
Inactive RequestProcessor thread [Was:org.netbeans.modules.versioning.core.VcsVisibilityQueryImplementation/org.netbeans.modules.versioning.core.VcsVisibilityQueryImplementation$RefreshTask]
	java.lang.Object.wait(Native Method)
	org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2002)
Deadlock Detector
	java.lang.Thread.sleep(Native Method)
	org.netbeans.modules.deadlock.detector.Detector.run(Detector.java:138)
	java.lang.Thread.run(Thread.java:745)
CLI Requests Server
	java.net.PlainSocketImpl.socketAccept(Native Method)
	java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
	java.net.ServerSocket.implAccept(ServerSocket.java:5
   at com.sun.tools.javac.util.Assert.error(Assert.java:162)
   at com.sun.tools.javac.util.Assert.check(Assert.java:87)
   at com.sun.tools.javac.util.Log.popDiagnosticHandler(Log.java:444)
   at com.sun.tools.javac.api.JavacTrees.attributeDocReference(JavacTrees.java:526)
   at com.sun.tools.javac.api.JavacTrees.ensureDocReferenceAttributed(JavacTrees.java:438)
   at org.netbeans.api.java.source.TreeUtilities.getReferenceClass(TreeUtilities.java:1668)
Comment 1 _ tboudreau 2015-12-26 09:11:15 UTC
Created attachment 157923 [details]
stacktrace
Comment 2 AlexFalappa 2016-10-18 09:20:34 UTC
Created attachment 162539 [details]
stacktrace

Committing
Comment 3 ytn01 2016-12-01 19:45:07 UTC
Created attachment 163116 [details]
stacktrace

I have a web application that is running in debug mode.
The project is under CVS repo.
While debug session is active on the project, I checked out some new source files from the remote repository. Once checkout was complete, IDE started auto-compiling and deploying the new classes.
While this was in progress, I switch to another web appication project, which is not running and checked out new source code.
Once new files were checked out,... background scanning started running for both projects.
And exception got thrown at some point shortly.
Comment 4 Jesse Glick 2016-12-06 23:00:10 UTC
Created attachment 163174 [details]
stacktrace

Started to run a unit test (CoS mode).
Comment 5 ytn01 2017-01-11 14:59:38 UTC
Created attachment 163372 [details]
stacktrace

Exception message appeared right after I checkedout a java sources package from a CVS repository.
Comment 6 IrianR 2017-02-06 07:45:22 UTC
Created attachment 163574 [details]
stacktrace

find usages on an interface constant.
Comment 7 IrianR 2017-02-06 07:48:22 UTC
Created attachment 163575 [details]
stacktrace

find usages.
Comment 8 Maksim Khramov 2017-09-09 20:53:14 UTC
Created attachment 165109 [details]
stacktrace

Editing java class