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 201701200001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b03, Java(TM) SE Runtime Environment, 1.8.0_60-ea-b03 OS: Windows 8.1 User Comments: Reema: Opened Editor Setting module in editor, tried to edit AttrSetTest.java, this error dialog poped up. The exception is thrown when we press Enter in the editor sunflower: Create and run an app sunflower: The same issue Stacktrace: java.lang.ClassCastException: Cannot cast org.netbeans.modules.java.source.save.Reindenter$$Lambda$185/988318402 to javax.tools.DiagnosticListener at java.lang.Class.cast(Class.java:3369) at java.lang.invoke.MethodHandle.bindTo(MethodHandle.java:1274) at java.lang.invoke.MethodHandles.constant(MethodHandles.java:2275) at java.lang.invoke.InnerClassLambdaMetafactory.buildCallSite(InnerClassLambdaMetafactory.java:216) at java.lang.invoke.LambdaMetafactory.metafactory(LambdaMetafactory.java:304) at java.lang.invoke.CallSite.makeSite(CallSite.java:302)
Created attachment 163457 [details] stacktrace
Created attachment 163458 [details] stacktrace Edit a file
Created attachment 163468 [details] stacktrace I was following the Getting Started with Java EE Applications and had just finished creating the Message entity. The next step was to add the String message field and then I got this error
*** This bug has been marked as a duplicate of bug 269326 ***