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.
I have numerous free-form projects that work fine in NetBeans 5.5 but whose classes do not show up for code completion and navigation purposes in NetBeans 6 beta 1. This is true even from within the same project and package! After some investigation it would appear that at least one cause of the issue in libraries I automatically create for each free-form project to work around issue #57656. I can remove these libraries in NetBeans 6, *but* there is nothing wrong with these libraries and the fact that they cause such severe issues points to some flakiness in NetBeans 6's code-completion/navigation mechanisms. I will attach a sample free-form project and library. In this project, NetBeans cannot navigate (via go-to-declaration) or find (via go-to-type) wt.jmx.remote.forwarder.LoggingForwarder even from wt.jmx.remote.protocol.RMIConnectorServer. [No, this example is not same package, just same project -- the same-package project examples were larger.]
Created attachment 48999 [details] Zipped free-form project directory
Created attachment 49000 [details] NetBeans Library file
To clarify, the issue occurs when the library in question resides in NetBeans' library directory. If it is removed and NetBeans is restarted, then code completion and navigation work fine for this project. I'm experiencing a *lot* of issues in code completion and navigation. It would be good to clear up this one (I'll try deleting all such libraries from NB 6 for now, but a code fix is necessary to really clear this up) to figure out whether this is the underlying cause of all my issues or if there are others as well.
I deleted all the libraries I'd created to work around issue #57656. This allowed "go-to-type" to work as expected. Unfortunately, "go-to-declaration" from the editor completely fails between projects. I'm re-opening issue #57656!
To be clear the combination issue #57656 and issue #115872 make NetBeans 6 useless to me until one -- or hopefully both -- of these issues are addressed.
From the attachments, it seems to be caused by the same root cause as issue #115654. *** This issue has been marked as a duplicate of 115654 ***