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 161978 - [67cat] "Go to implementation" stopped working
Summary: [67cat] "Go to implementation" stopped working
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-05 12:54 UTC by big_al
Modified: 2010-10-18 12:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NetBeans log (39.27 KB, text/plain)
2009-04-07 10:03 UTC, big_al
Details
Stack trace (114.35 KB, text/plain)
2009-04-09 20:33 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description big_al 2009-04-05 12:54:16 UTC
[ BUILD # : M3 ]
[ JDK VERSION : 1.6.* ]

The "Go to implementation" navigation plugin has stopped working
between M2 and M3. In previous versions (even 6.7M2) I was able to
jump to an implementation of a method on an interface by placing the
cursor on the method name and invoking the "Go to implementation"
function from the Navigation menu. When I do that now a message
appears on the status bar saying "No overriding method found".
Comment 1 Jiri Prox 2009-04-06 13:13:15 UTC
Can you please attach messages.log?
Where is the target of this jump? (in source of current project, in another project, in library or in JDK)
Comment 2 big_al 2009-04-07 10:01:44 UTC
The target is a Class residing in the same directory as the interfaces. The project is a Maven EAR project and the interface is a local EJB interfaces and the 
implementation is a stateless session bean. "Go to implementation" works for the same code in 6.5 and 6.7M2.
Comment 3 big_al 2009-04-07 10:03:29 UTC
Created attachment 79601 [details]
NetBeans log
Comment 4 Jan Lahoda 2009-04-07 10:08:44 UTC
I will take a look.
Comment 5 Jesse Glick 2009-04-07 13:25:42 UTC
In my experience, sometimes it works, sometimes it doesn't. Find Usages > Overriding Methods works more consistently.
Comment 6 big_al 2009-04-07 16:13:03 UTC
@jglick, It worked perfectly in 6.5 and 6.7M2.  The "find usage -> overridden methods" is not a proper alternative, as the "Go To Implementation" can be 
activated directly on the code after which the possible implementations pop up below the code.  The "Go to implementation" method takes about 2 secs to 
complete where "find usage" takes 10-20 secs to complete depending on the speed of the programmer.  
Comment 7 Jan Lahoda 2009-04-09 19:44:52 UTC
I did a minimal fix here:
http://hg.netbeans.org/main/contrib/rev/9c5ffeeb4061

New version of the module is available on the Development Update Center (version 1.5).

A reproducible test case when the action fails would be very welcome.
Comment 8 Jesse Glick 2009-04-09 20:32:37 UTC
I just updated it today and tried it again and just got a dialog box saying "Cycle in dependencies".
Comment 9 Jesse Glick 2009-04-09 20:33:31 UTC
Created attachment 79851 [details]
Stack trace
Comment 10 Jesse Glick 2009-04-09 20:36:05 UTC
Reproducible for me by selecting GtI on
org.netbeans.modules.project.uiapi.ProjectChooserFactory.createSimpleTargetChooser with just projectui module open.
Comment 11 big_al 2009-04-16 08:14:12 UTC
I can confirm that this has been fixed in 200904150201
Comment 12 Jan Lahoda 2010-10-18 12:16:10 UTC
Part of std. distro for some time now.