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 - 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
Summary: AssertionError: Wrong diagnostic handler: com.sun.tools.javac.util.Log$Deferr...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-26 09:11 UTC by _ tboudreau
Modified: 2018-04-11 11:26 UTC (History)
17 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 221844


Attachments
stacktrace (5.33 KB, text/plain)
2015-12-26 09:11 UTC, _ tboudreau
Details
stacktrace (13.25 KB, text/plain)
2016-10-18 09:20 UTC, AlexFalappa
Details
stacktrace (6.72 KB, text/plain)
2016-12-01 19:45 UTC, ytn01
Details
stacktrace (7.07 KB, text/plain)
2016-12-06 23:00 UTC, Jesse Glick
Details
stacktrace (6.72 KB, text/plain)
2017-01-11 14:59 UTC, ytn01
Details
stacktrace (6.55 KB, text/plain)
2017-02-06 07:45 UTC, IrianR
Details
stacktrace (6.55 KB, text/plain)
2017-02-06 07:48 UTC, IrianR
Details
stacktrace (5.41 KB, text/plain)
2017-09-09 20:53 UTC, Maksim Khramov
Details

Note You need to log in before you can comment on or make changes to this bug.
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