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.
Steps to reproduce: 1) insert the following piece of code into a method char c; switch (c) { case 'a': case 'b': } 2) force children of the switch to be inited (e.g., by invoking fix all imports or by finding usages of variable 'c') - RuntimeException is thrown
Created attachment 17970 [details] stack trace
java.lang.RuntimeException: Unexpected type of ASTree: 62 org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getElementProxy(MetadataElement.java:606)
This was fixed in the past, unfortunately I was not able to find the original issue. Not reproducible anymore, closing as fixed.
Reorganization of java component