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.
Prerequisite - create a makefile based project on some Solaris host using OSS express tool collection Steps to reproduce: - add the remote host - import the project - try to build the project Result: FileNotFoundException occurs: java.io.FileNotFoundException at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getInputStream(FileObj.java:152) at org.netbeans.modules.cnd.makeproject.actions.ShadowProjectSynchronizer.copyImpl(ShadowProjectSynchronizer.java:373) at org.netbeans.modules.cnd.makeproject.actions.ShadowProjectSynchronizer.copy(ShadowProjectSynchronizer.java:351) at org.netbeans.modules.cnd.makeproject.actions.ShadowProjectSynchronizer.copy(ShadowProjectSynchronizer.java:347) at org.netbeans.modules.cnd.makeproject.actions.ShadowProjectSynchronizer.updateRemoteProject(ShadowProjectSynchronizer.java:107) [catch] at org.netbeans.modules.cnd.makeproject.actions.MakeConfigurationSaveListenerImpl.updateRemoteProject(MakeConfigurationSaveListenerImpl.java:133) at org.netbeans.modules.cnd.makeproject.actions.MakeConfigurationSaveListenerImpl.configurationSaved(MakeConfigurationSaveListenerImpl.java:101) at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor$SaveRunnable.run(MakeConfigurationDescriptor.java:746) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
This can happen only in the case a project is being saved more than one time: save is called 1-st time, and while it is in process it is called the 2-nd time. Nothing in project system code prevents this. I'll fix this.
http://hg.netbeans.org/cnd-main/rev/f9be6c21ce86
Integrated into 'main-golden', will be available in build *201103070000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/f9be6c21ce86 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: don't allow to save the same project in parallel (fixing #196300 FileNotFoundException, #196238 Importing of the remote project breaks the original project )