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

Summary: 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.
Product: java Reporter: Vladimir Riha <vriha>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: normal CC: akobberup, alexvsimon, Chiana, everflux, gtzabari, markiewb, NukemBy, skygo, tboudreau
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 215877
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

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 ***