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 234227, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.4 (Build 201310111528) 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: emiddio: reading code Stacktrace: java.lang.IllegalArgumentException: org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$InitializerElement@33456ed0 at com.sun.tools.javac.model.JavacElements.cast(JavacElements.java:652) at com.sun.tools.javac.model.JavacElements.getTreeAndTopLevel(JavacElements.java:585) at com.sun.tools.javac.model.JavacElements.getTreeAndTopLevel(JavacElements.java:614) at com.sun.tools.javac.api.JavacTrees.getPath(JavacTrees.java:329) at com.sun.tools.javac.api.JavacTrees.getPath(JavacTrees.java:321) at org.netbeans.modules.refactoring.java.callhierarchy.Call.createReference(Call.java:241)
Created attachment 142885 [details] stacktrace
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/333601476639
Integrated into 'main-silver', will be available in build *201401130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/333601476639 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #239172: IllegalArgumentException: org.netbeans.modules.refactoring.java.callhierarchy.CallHierarchyTasks$InitializerElement - fixed.