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 201309260002) VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43 OS: Linux User Comments: aldobrucale: selected an anonymous inner class in the editor Stacktrace: java.lang.IllegalArgumentException: <T>(java.lang.Class<T>,com.imavis.util.CrudOperations<T>)com.teko.omc.server.CrudServlet<T> at com.sun.tools.javac.model.JavacTypes.validateTypeNotIn(JavacTypes.java:299) at com.sun.tools.javac.model.JavacTypes.isSubtype(JavacTypes.java:100) at org.netbeans.modules.java.hints.introduce.InstanceRefFinder.findOwnerType(InstanceRefFinder.java:201) at org.netbeans.modules.java.hints.introduce.InstanceRefFinder.addInstanceForMemberOf(InstanceRefFinder.java:190) at org.netbeans.modules.java.hints.introduce.InstanceRefFinder.visitIdentifier(InstanceRefFinder.java:358) at org.netbeans.modules.java.hints.introduce.IntroduceConstantFix$1.visitIdentifier(IntroduceConstantFix.java:143)
Created attachment 140497 [details] stacktrace
Created attachment 140555 [details] stacktrace Deleted an annonomous class, then did an undo via ctrl-z
Created attachment 140556 [details] stacktrace Reproduced via test case
Created attachment 140557 [details] testcase: Issue236410.java Added test case to reproduce consistently on dev 2013 09 26 0002. Just highlight the code between the comments
Changing to P1 - this is a major usability issue in the dev builds and VERY recent regression (ok in dev 20130924, broken in 20130926)
Created attachment 140559 [details] stacktrace Duplicated in dev 20130927
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/96928292c165
Integrated into 'main-silver', will be available in build *201309290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/96928292c165 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #236410 - IllegalArgumentException - fixed.
Verified fixed in dev130930