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 53141 - ClassCastException from tooltip for implementing method
Summary: ClassCastException from tooltip for implementing method
Status: CLOSED DUPLICATE of bug 53194
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-01-09 08:55 UTC by Jan Chalupa
Modified: 2007-09-26 09:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception stack trace (2.20 KB, text/plain)
2005-01-09 08:56 UTC, Jan Chalupa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Chalupa 2005-01-09 08:55:04 UTC
[custom build of 20050108 sources; JDK 1.4.2_04]

I got another ClassCastException while moving
a mouse over a list of methods in Navigator's
member list to see javadoc tooltips. It is very 
similar to to issue #52701 fixed recently, but 
occurs with different methods.

The exception can be reliably reproduced for 
example when javadoc tooltip is to be displayed 
for JTable.columnAdded() method. Note that it's 
an implementation of an interface method.

Full stack trace attached.
Comment 1 Jan Chalupa 2005-01-09 08:56:18 UTC
Created attachment 19568 [details]
Exception stack trace
Comment 2 David Simonek 2005-01-10 13:11:55 UTC
I see nothing bad here on Javanavigation side, it just calls
MethodImpl.getOverriddenMethods(). 

Looks like jmi bug to me. In MethodImpl.getOverriddenMethods on line
326 is hard cast to MethodImpl, but
ParameterizedTypeImpl$MethodWrapper may come in instead.

Comment 3 Tomas Hurka 2005-01-12 13:36:52 UTC

*** This issue has been marked as a duplicate of 53194 ***
Comment 4 Jan Chalupa 2005-01-12 14:51:22 UTC
Verified duplicate.
Comment 5 Quality Engineering 2007-09-20 09:47:44 UTC
Reorganization of java component