Issue
I've been battling this demon for a while (at least since about 6.8) and I'm wondering if any kind soul here has found similar issue and resolved it. I have about 12 PHP projects registered in my Netbeans IDE. Works great, although it can take a while to open up from startup. However my biggest issue is that if I have functions, methods, classes, etc. referenced in my code and I select (for example) a function, I want it to open up the PHP code module that contains that declaration, and it used to do this.
But as soon as I added a 2nd project to my IDE, it no longer wants to play. Just sits there like nothing was requested. So I have to manually navigate to the code each time. Its getting tiresome, and I'm sure I can't be the only one to have found this.
Has anyone found this and found a resolution to it? I'd be happy if it only navigates without the 'Main Project' if that would work, but even if I set the project that way it refuses to go looking for the declaration.
All help greatly appreciated.
P.S. I'm running Ubuntu 9.10 on my desktop rig. Not sure if that has anything to do with this though. And its the PHP personality in Netbeans.
Solution
The problem is with some reflection API bug in NetBeans. The solution is simple: export your projects and uninstall NetBeans, then download the latest IDE and import your project. This should work. If doesn’t, then update Java and check. If it still doesn’t work then close all projects and restart the IDE, then load all projects one by one and see in which it works and in which it doesn&rquo;t. If you find problems with a specific project, submit your bug at netbeans.org or use the inbuilt system in the IDE itself for submitting bugs in Options.
Answered By - Hardik