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 187898, 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.0 Beta (Build 201401141042) VM: Java HotSpot(TM) Client VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27 OS: Windows 7 User Comments: GUEST: beansProjects\GestionMagasin\src\tn\tuniprod\gestionmagasin\test\Test.java'. Please report a bug against java/source and attach dump file 'C:\Users\palmainfo\AppData\Roaming\NetBeans\8.0beta\var\log\Test_2.dump'. An error occurred during parsing of 'C:\NetbeansProjects\GestionMagasin\src\tn\tuniprod\gestionmagasin\test\Test.java'. Please report a bug against java/source and attach dump file 'C:\Users\palmainfo\AppData\Roaming\NetBeans\8.0beta\var\log\Test_2.dump'. Caused: java.lang.ClassCastException: com.sun.tools.javac.code.Type$JCVoidType cannot be cast to com.sun.tools.javac.code.Type$ClassType at com.sun.tools.javac.code.Types.capture(Types.java:3920) at com.sun.tools.javac.comp.Attr.capture(Attr.java:4590) at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1882) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1465) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:602) at com.sun.tools.javac.comp.Attr.visitBinary(Attr.java:3149) at com.sun.t Stacktrace: java.lang.ClassCastException: com.sun.tools.javac.code.Type$JCVoidType cannot be cast to com.sun.tools.javac.code.Type$ClassType at com.sun.tools.javac.code.Types.capture(Types.java:3920) at com.sun.tools.javac.comp.Attr.capture(Attr.java:4590) at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1882) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1465) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:602) at com.sun.tools.javac.comp.Attr.visitBinary(Attr.java:3149)
Created attachment 162327 [details] stacktrace