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 201302132300) VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_13-b20 OS: Windows 7 User Comments: maks_t34: TypeElement typeElement = elementHandle.resolve(compilationInfo); if (typeElement != null) { typeElement.accept(new <cursor here>, null); Use code completion and move the selection to the AbstractElementVisitor7, ElementKindVisitor7, ElementScaner7 or SimpleElementVisitor7 option. Note: project JDK is 1.6. When project JDK is changed to 1.7 the issue do not reproduces. Stacktrace: java.lang.IllegalArgumentException at org.netbeans.modules.java.source.usages.ClassFileUtil.encodeType(ClassFileUtil.java:317) at org.netbeans.modules.java.source.usages.ClassFileUtil.createFieldDescriptor(ClassFileUtil.java:174) at org.netbeans.api.java.source.ElementHandle.createImpl(ElementHandle.java:454) at org.netbeans.api.java.source.ElementHandle.create(ElementHandle.java:388) at org.netbeans.api.java.source.TreePathHandle.create(TreePathHandle.java:258) at org.netbeans.modules.java.navigation.BreadCrumbsNodeImpl.createBreadcrumbs(BreadCrumbsNodeImpl.java:181)
Created attachment 131428 [details] stacktrace
The CFU.encodeType() called with wrong argument. Added logging: 12209a7e2057
Integrated into 'main-golden', will be available in build *201302182300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/12209a7e2057 User: Tomas Zezula <tzezula@netbeans.org> Log: #226170:IllegalArgumentException at org.netbeans.modules.java.source.usages.ClassFileUtil.encodeType