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 8.0 Beta (Build 201401141042) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Windows 7 User Comments: mziernik: Rename class Stacktrace: java.lang.IllegalArgumentException: run()@<anonymous java.lang.Object> at com.sun.tools.javac.model.JavacTypes.asMemberOf(JavacTypes.java:282) at org.netbeans.modules.java.hints.errors.UncaughtException.run(UncaughtException.java:287) at org.netbeans.modules.java.hints.infrastructure.CreatorBasedLazyFixList.compute(CreatorBasedLazyFixList.java:147) at org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:112) at org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:58) at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:298)
Created attachment 144800 [details] stacktrace
Sorry I could not reproduce the exception. Possibly the code was somehow half-written or broken in some way that triggered some unusual code path. From the log the "offending" code should 1/ contain an anonymous subclass of Object, and 2/ define a run() method so that 3/ "something" gets overriden by the run() method But 2+3 are nonsense IMHO - at least under normal circumstances :) If you still can reproduce the defect, please attach fragment of the anonymous class' code.