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 268389 - AssertionError: Wrong diagnostic handler: com.sun.tools.javac.util.Log$DeferredDiagnosticHandler@7077e2b7 Thread dump: Code Completion sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.
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: 2016-10-06 22:25 UTC by javydreamercsw
Modified: 2017-01-23 22:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 226633


Attachments
stacktrace (3.44 KB, text/plain)
2016-10-06 22:25 UTC, javydreamercsw
Details
stacktrace (3.44 KB, text/plain)
2017-01-23 22:14 UTC, madman6886
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2016-10-06 22:25:41 UTC
This bug was originally marked as duplicate of bug 241006, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Linux

User Comments:
javydreamercsw: Not sure what triggered it.

jglick: Switched parent POM and thus dependency versions.

jglick: Not sure.




Stacktrace: 
java.lang.AssertionError: Wrong diagnostic handler: com.sun.tools.javac.util.Log$DeferredDiagnosticHandler@7077e2b7
Thread dump:
Code Completion
	sun.misc.Unsafe.park(Native Method)
	java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
	java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
	java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:870)
	java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1199)
	java.util.concurrent.locks.ReentrantLock$FairSync.lock(ReentrantLock.java:224)
	java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:285)
	org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:193)
	org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:104)
	org.netbeans.modules.editor.java.JavaCodeTemplateFilter$1.run(JavaCodeTemplateFilter.java:104)
	org.netbeans.modules.progress.ui.RunOffEDTI
   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.attribStatToTree(JavacTrees.java:987)
   at com.sun.tools.javac.api.JavacTrees.getAttrContext(JavacTrees.java:938)
   at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:797)
Comment 1 javydreamercsw 2016-10-06 22:25:44 UTC
Created attachment 162382 [details]
stacktrace
Comment 2 madman6886 2017-01-23 22:14:42 UTC
Created attachment 163460 [details]
stacktrace

hit . on a variable to see auto-complete