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 187802 - ClassCastException: com.sun.tools.javac.tree.JCTree$JCFieldAccess cannot be cast to com.sun.source.tree.IdentifierTree
Summary: ClassCastException: com.sun.tools.javac.tree.JCTree$JCFieldAccess cannot be c...
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: sqe tools (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-18 18:04 UTC by Jesse Glick
Modified: 2010-06-18 18:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 170791


Attachments
stacktrace (1.95 KB, text/plain)
2010-06-18 18:04 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2010-06-18 18:04:19 UTC
Build: NetBeans IDE Dev (Build 100616-f2491b8c800c)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
jglick: Trying to add @SW to org.netbeans.modules.apisupport.queries.GlobalJavadocForBinaryImpl.findByDashedCNB using SQE FindBugs hint.




Stacktrace: 
java.lang.ClassCastException: com.sun.tools.javac.tree.JCTree$JCFieldAccess cannot be cast to com.sun.source.tree.IdentifierTree
   at org.nbheaven.sqe.tools.findbugs.codedefects.hints.FindBugsHint$Task$SuppressWarningsFix.addSuppressWarnings(FindBugsHint.java:370)
   at org.nbheaven.sqe.tools.findbugs.codedefects.hints.FindBugsHint$Task$SuppressWarningsFix.access$600(FindBugsHint.java:293)
   at org.nbheaven.sqe.tools.findbugs.codedefects.hints.FindBugsHint$Task$SuppressWarningsFix$1.run(FindBugsHint.java:356)
   at org.nbheaven.sqe.tools.findbugs.codedefects.hints.FindBugsHint$Task$SuppressWarningsFix$1.run(FindBugsHint.java:310)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:665)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:154)
Comment 1 Jesse Glick 2010-06-18 18:04:22 UTC
Created attachment 100219 [details]
stacktrace
Comment 2 Jesse Glick 2010-06-18 18:37:46 UTC
sqe #b2347b32dd6b