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 113518, 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 201706040001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13 OS: Mac OS X User Comments: GUEST: Error appear when i try to put (final) as cast in java . Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1171) at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:956) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:658) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:735) at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:759) at com.sun.tools.javac.comp.Attr.visitLambda(Attr.java:2558)
Created attachment 164783 [details] stacktrace