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.
I have two opened projects: local Quote and RemoteProfilingDemo in mixed mode. Closed IDE I have cleaned cachedir Restarted IDE Quote is Ok. ProfilingDemo has broken system includes in all files Connect hosts makes it online, log says that project's file was reparsed, but all includes stay broken. Modifying file, saving file doesn't help to fix broken includes. Reparse from context menu doesn't help as well
fixed: http://hg.netbeans.org/cnd-main/rev/6bb2a12a2ee9 There is something strange with NativeFileSearch, but it is the story for another issue...
The problem was solved only for one reopened mixed remote project. If two are reopened then one even not reparsed.
The problem is with notifications about requested paths to non-connected remote FS. But file existence is cached on the level of CndFileUtils, so file is queried only once from FS and when the second project was parsed it hasn't got any nofications in ProjectBase.problemOccurred
Integrated into 'main-silver', will be available in build *201504230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6bb2a12a2ee9 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #251994 - code model of mixed project is not recovered on host connect - drop system caches, because after host reconnect information about existence of include folders have to be reinitialized to be up-to-date
Created attachment 155359 [details] Possible fix
http://hg.netbeans.org/cnd-main/rev/a6d8535a136c
additional fix http://hg.netbeans.org/cnd-main/rev/d8678fb5868d
Integrated into 'main-silver', will be available in build *201508200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/a6d8535a136c User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #251994 - code model of mixed project is not recovered on host connect