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.
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.1 (Build 201510222201) VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16 OS: Windows 7 User Comments: emiddio: notsure Stacktrace: java.lang.AssertionError: Wrong diagnostic handler: com.sun.tools.javac.util.Log$DiscardDiagnosticHandler@46749a0d Thread dump: JDI Target VM Interface java.net.SocketInputStream.socketRead0(Native Method) java.net.SocketInputStream.socketRead(SocketInputStream.java:116) java.net.SocketInputStream.read(SocketInputStream.java:170) java.net.SocketInputStream.read(SocketInputStream.java:141) java.net.SocketInputStream.read(SocketInputStream.java:223) com.sun.tools.jdi.SocketConnection.readPacket(SocketTransportService.java:411) com.sun.tools.jdi.TargetVM.run(TargetVM.java:118) java.lang.Thread.run(Thread.java:745) Finalizer java.lang.Object.wait(Native Method) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164) java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209) JDI Internal Event Handler java.lang.Object.wait(Native Method) java.lang.Object.wait(Object.java:502) com.sun.tools.jdi.EventQueueImpl.removeUnfiltered(Even 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.main.JavaCompiler.resolveIdent(JavaCompiler.java:732) at com.sun.tools.javac.model.JavacElements.binaryNameToClassSymbol(JavacElements.java:129) at com.sun.tools.javac.model.JavacElements.getTypeElementByBinaryName(JavacElements.java:119)
Created attachment 157385 [details] stacktrace
Seems like the single javac instance created by AsyncJavaSymbolDescriptor is used from two threads simultaneously (RequestProcessor and AWT-EventQueue).
Created attachment 163404 [details] stacktrace tried to move a class by altering the package and use refactor to do the move..
Created attachment 163409 [details] stacktrace mm
Created attachment 164215 [details] stacktrace Dragging a class (.java) file from one project package to a new package