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.
Created attachment 141090 [details] Sources to reproduce the issue 1. Unpack attached sources and start NetBeans. 2. Create project basing on the sources a. Select .../src as sources directory on first wizard step; b. Select .../build.sh as path to Makefile. c. Build Command - build.sh, Clean Command - rm -rf build. 3. The project configuration will fail, as build command is "build.sh" instead of "./build.sh" (without quotes). 4. Correct this in project properties and clean&build the project. 5. Open memory.h from src folder in project view. 6. Click Find Usages on GetType method, select all checkboxes and start the search. 7. Two possible problems can appear in Usages view: - Two absolutely equivalent result could appear: editor will be opened by clicking one of them, and error message "Error opening Source Editor" will be shown if clicked on another. - The project node will be shown two times, each containing some found elements. In this case duplicates will in this different nodes.
Additional test case: 1. Configure project properly. 2. Open memory.h from src. 3. Open memory.cc from src. 4. Click Find Usages on GetType from memory.h and select all checkboxes in the dialog. 5. Click on usage from memory.cc -> error message "Error opening Source Editor" will be shown.
I have the same problem with Java (Ant based) projects. It also happens when using the "Go to Type" dialog. Classes are shown twice (from the same project) and clicking on one works, but clicking on the other entry does not work.
it looks like duplicate of bug #241692
*** This bug has been marked as a duplicate of bug 241692 ***