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.
Arbitrary project (from all open projects) is returned using document.getProperty("project"), although document belongs only to one project. It happens on the build from 7.11. {I am not able to check this in the current projects build, because the projects are not opened in the explorer. (maybe another bug? or already exists?)}
Martin, how can I test this? What do you mean by 'projects aren't open in the explorer'? Do you mean that creating project from template or opening existing project doesn't work? If so, than this is surely P1, but it seems to work well on my machine.
I've meant that after startup there were no projects mounted in the explorer. (No Sample Project by default) There was only blank sheet node and the name of tab was null instead of "Projects" The attached exception has occured.
Created attachment 7958 [details] startup exception
After off-line discussion with Martin we clarified few things: - you shouldn't have the A project (its .project file) underneath the folder where the B project lives - when file is contained by two or more projects then opening it from FileSystem tab will open it using arbitrary project containing that file - in contrary, opening it from Projects tab should correctly assigne the project from which the file has been opened The exception seems strange, but I really can't reproduce it. Please, try latest sources as they might be some changes done in core/naming module registration (see nbdev).
Verified
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped. Marking issue as CLOSED.