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 201612120001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b62, Java(TM) SE Runtime Environment, 1.8.0-ea-b120 OS: Windows 8 User Comments: Chiana: Still get this, did a clean reinstall and tried again, still persists Stacktrace: java.lang.ClassCastException: Cannot cast org.netbeans.modules.java.source.save.Reindenter$$Lambda$227/34841035 to javax.tools.DiagnosticListener at java.lang.Class.cast(Class.java:3258) at java.lang.invoke.MethodHandles.constant(MethodHandles.java:2123) 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:289) at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:296)
Created attachment 163228 [details] stacktrace
Created attachment 163229 [details] stacktrace Tried to use "surround with try/catch" tool.
*** Bug 269634 has been marked as a duplicate of this bug. ***
Showstopper critical musthave
Unfortunately, I cannot reproduce the problem. If you are still able to reproduce it on your side, could you please run your IDE with -verbose:class switch and attach the console output to this issue? Thanks.
Created attachment 163722 [details] messages.log without the -verbose:class option
Created attachment 163723 [details] Run netbeans with the -J-verbose:class option
Created attachment 164002 [details] stacktrace Editing java file
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/3020e848e952
Integrated into 'main-silver', will be available in build *201704270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3020e848e952 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #269326 - ClassCastException: Cannot cast org.netbeans.modules.java.source.save.Reindenter$$Lambda$227/34841035 to javax.tools.DiagnosticListener - fixed.