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.

Bug 195763 - ClassCastException: com.sun.tools.javadoc.TagImpl cannot be cast to com.sun.javadoc.ParamTag
Summary: ClassCastException: com.sun.tools.javadoc.TagImpl cannot be cast to com.sun.j...
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-21 13:35 UTC by michbarsinai
Modified: 2011-02-22 09:03 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 166200


Attachments
stacktrace (3.09 KB, text/plain)
2011-02-21 13:35 UTC, michbarsinai
Details
stacktrace (3.09 KB, text/plain)
2011-02-22 08:46 UTC, michbarsinai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description michbarsinai 2011-02-21 13:35:04 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-6578-on-110201)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Linux

User Comments:
michbarsinai: Selected a text (using the mouse) in a java interface.




Stacktrace: 
java.lang.ClassCastException: com.sun.tools.javadoc.TagImpl cannot be cast to com.sun.javadoc.ParamTag
   at org.netbeans.modules.java.editor.javadoc.JavadocImports.computeTokensOfReferencedElements(JavadocImports.java:237)
   at org.netbeans.modules.java.editor.semantic.FindLocalUsagesQuery.handleJavadoc(FindLocalUsagesQuery.java:112)
   at org.netbeans.modules.java.editor.semantic.FindLocalUsagesQuery.visitMethod(FindLocalUsagesQuery.java:126)
   at org.netbeans.modules.java.editor.semantic.FindLocalUsagesQuery.visitMethod(FindLocalUsagesQuery.java:74)
   at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:695)
   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:67)
Comment 1 michbarsinai 2011-02-21 13:35:10 UTC
Created attachment 106244 [details]
stacktrace
Comment 2 Dusan Balek 2011-02-21 17:00:54 UTC
Do you have a reproducible test case? Thanks.
Comment 3 michbarsinai 2011-02-22 08:46:56 UTC
Created attachment 106277 [details]
stacktrace

editing java interface file
Comment 4 Dusan Balek 2011-02-22 09:03:16 UTC
Could you please attach the Java interface file that you are editing?