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 250935 - AssertionError: Wrong diagnostic handler: com.sun.tools.javac.util.Log$DiscardDiagnosticHandler@1c1d7de Thread dump: WebSocketServer sun.nio.ch.EPollArrayWrapper.epollWait(Native Method) sun.nio.ch.
Summary: AssertionError: Wrong diagnostic handler: com.sun.tools.javac.util.Log$Discar...
Status: RESOLVED DUPLICATE of bug 241006
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-05 16:08 UTC by Vladimir Riha
Modified: 2015-04-13 15:49 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 215877


Attachments
stacktrace (4.84 KB, text/plain)
2015-03-05 16:08 UTC, Vladimir Riha
Details
stacktrace (4.93 KB, text/plain)
2015-03-20 06:36 UTC, _ tboudreau
Details
stacktrace (4.47 KB, text/plain)
2015-03-20 06:39 UTC, _ tboudreau
Details
stacktrace (4.85 KB, text/plain)
2015-03-28 15:30 UTC, everflux
Details
stacktrace (5.48 KB, text/plain)
2015-04-08 07:30 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2015-03-05 16:08:00 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 Dev (Build 201503040001)
VM: Java HotSpot(TM) Client VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Linux

User Comments:
NukemBy: During copy/paste of java code

skygo: using code completion within try with resources block

akobberup: Invoking code completion

gtzabari: Hit CTRL+P on constructor argument.

markiewb: Code completion -> Exception

Chiana: Was just editing some code, removed a part that was not correct and started typing the correct part.

gtzabari: Saved file. Exception thrown.

GUEST: Coding in a newjersey findall_xml client method

vriha: just using code completion in Maven Web project in Java file

Chiana: Was continuing to type after report #206993, this occured when CC was invoked again (after next dot typed)




Stacktrace: 
java.lang.AssertionError: Wrong diagnostic handler: com.sun.tools.javac.util.Log$DiscardDiagnosticHandler@1c1d7de
Thread dump:
WebSocketServer
	sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
	sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
	sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:79)
	sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
	sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
	sun.nio.ch.SelectorImpl.select(SelectorImpl.java:101)
	org.netbeans.modules.netserver.SocketFramework.doRun(SocketFramework.java:121)
	org.netbeans.modules.netserver.SocketServer.run(SocketServer.java:77)
	org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1425)
	org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:59)
	org.openide.util.lookup.Lookups.executeWith(Lookups.java:294)
	org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2038)
Deadlock Detector
	java.lang.Thread.sleep(Native Method)
	org.netbeans.modules.deadl
   at com.sun.tools.javac.util.Assert.error(Assert.java:133)
   at com.sun.tools.javac.util.Assert.check(Assert.java:86)
   at com.sun.tools.javac.util.Log.popDiagnosticHandler(Log.java:481)
   at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.showDiagnostics(JavacProcessingEnvironment.java:1075)
   at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1131)
   at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1230)
Comment 1 Vladimir Riha 2015-03-05 16:08:04 UTC
Created attachment 152413 [details]
stacktrace
Comment 2 _ tboudreau 2015-03-20 06:36:42 UTC
Created attachment 152737 [details]
stacktrace

Added lambdas
Comment 3 _ tboudreau 2015-03-20 06:39:42 UTC
Created attachment 152738 [details]
stacktrace

Randomly happened
Comment 4 everflux 2015-03-28 15:30:12 UTC
Created attachment 152900 [details]
stacktrace

invoced code completion on existing method

note: the summary field of the exception reporter looks really garbled
Comment 5 Alexander Simon 2015-04-08 07:30:27 UTC
Created attachment 153090 [details]
stacktrace

edit code
Comment 6 Dusan Balek 2015-04-13 15:49:07 UTC

*** This bug has been marked as a duplicate of bug 241006 ***