Bug 224611 - ClassCastException: com.sun.tools.javac.jvm.ClassFile$NameAndType cannot be cast to com.sun.tools.javac.util.Name
ClassCastException: com.sun.tools.javac.jvm.ClassFile$NameAndType cannot be c...
Status: NEW
Product: java
Classification: Unclassified
Component: Compiler
7.2
All All
: P3 (vote)
: TBD
Assigned To: Dusan Balek
issues@java
EXCEPTIONS_REPORT
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-08 12:48 UTC by Exceptions Reporter
Modified: 2013-03-21 18:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments
stacktrace (4.20 KB, text/plain)
2013-01-08 12:48 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-01-08 12:48:02 UTC
This bug was originally marked as duplicate of bug 192481, 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.2.1 (Build 201210100934)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.12-b01-434, Java(TM) SE Runtime Environment, 1.6.0_37-b06-434-11M3909
OS: Mac OS X

User Comments:
GUEST: I was trying to copy a java file from one project to another.




Stacktrace: 
java.lang.ClassCastException: com.sun.tools.javac.jvm.ClassFile$NameAndType cannot be cast to com.sun.tools.javac.util.Name
   at com.sun.tools.javac.jvm.ClassReader.readName(ClassReader.java:575)
   at com.sun.tools.javac.jvm.ClassReader$22.read(ClassReader.java:1171)
   at com.sun.tools.javac.jvm.ClassReader.readAttrs(ClassReader.java:1335)
   at com.sun.tools.javac.jvm.ClassReader.readMemberAttrs(ClassReader.java:1325)
   at com.sun.tools.javac.jvm.ClassReader.readMethod(ClassReader.java:1809)
   at com.sun.tools.javac.jvm.ClassReader.readClass(ClassReader.java:2009)
Comment 1 Exceptions Reporter 2013-01-08 12:48:04 UTC
Created attachment 129999 [details]
stacktrace
Comment 2 sbtourist 2013-03-21 18:34:13 UTC
Any news on this one?

When it happens, it makes the whole IDE unusable.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo