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.
Some NFS mounts make IDE open the same file in two different editor tabs. The example is as follows. For a file from /workspace/${USER}/..., see how is your /workspace/${USER}/ mounted (via mount command) It's mounted to /net/some_host/some_path. So you can access it via /workspace/${USER}/ and also via /net/some_host/some_path/${USER}/... IDE is supposed to understand that these files are the same. But it does not. The reason is that although inodes (st_ino field of the stat structure) are the same, devices (st_dev field of stat structure) differ. The stat command that is available on Solaris 11 shows that. This causes inconvenience to user because when building, studio compiler somehow converts paths from /workspace/... into /net/some_host/some_path/... So when user debugs and a breakpoint is hit, this /net/some_host/some_path/... file is open - and IDE not just opens it in a separate tab, but thinks it does not belong to project, so code navigation does not work.
I reproduced this locally, judging by fs_server code, full remote behaves exactly the same.
The possible workarounds are - use /net/some_host/some_path path when opening a project - provide debugging path map
What can we do? Inodes are same, devs differ. We could do as follows: if inodes are same, then check other file attributes - name, size and timestamp, if these coincide, then consider it to be the same. Frankly I'm not sure this approach is good enough.