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.
Build: NetBeans IDE Dev (Build 20150512-73a3c3320c5d) VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b26 OS: Windows 8 User Comments: misterm: . Stacktrace: java.lang.ClassCastException: com.sun.tools.javac.code.Attribute$UnresolvedClass cannot be cast to com.sun.tools.javac.code.Attribute$Class at com.sun.tools.javac.comp.Check.validateRepeatable(Check.java:2891) at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4519) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4462) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4390) at com.sun.tools.javac.comp.Attr.attrib(Attr.java:4365) at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1317)
Created attachment 153670 [details] stacktrace
Had the same issue several times. Some times NB takes 100% CPU and does not come back. This happened when I save a file (which is quite bad because all modifications are lost!). I will attach a dump.
Created attachment 154967 [details] Dump-File
Because I was no longer able to save this file, always NB hanging, I deleted the filehistory directory (var/filehistory). Looks like that was helping.