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.
Summary: | Broken code model in Subprojects sample | ||
---|---|---|---|
Product: | cnd | Reporter: | Alexander Pepin <apepin> |
Component: | Code Model | Assignee: | Vladimir Voskresensky <vv159170> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mmirilovic |
Priority: | P1 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Windows 7 x64 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Alexander Pepin
2011-03-11 11:57:22 UTC
I can not reproduce it on my systems, but I've seen it on Windows 7 It seems that restart IDE (RC1) with opened projects also breaks code model on all platforms. Now I can see it on my Linux desktop (no system includes for Quote). I can't reproduce described problem on my Windows XP machine, but I see interesting behaviour. Scenario: - Create Subproject demo - Open main.cc file - Activate Classes tab - Close IDE - Start IDE If I activate main.cc file and click into it for ~1 second, then sometimes some projects doesn't appear in Classes tab. Sometimes projects appears if I close and open Classes tab. Sometimes projects doesn't appear and hyperlinks works wrongly in this case. Integrated into 'main-golden', will be available in build *201103120400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/111944bdc605 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixing #196580 - Broken code model in Subprojects sample -- diagnostic to find root cause trace: http://hg.netbeans.org/cnd-main?cmd=changeset;node=111944bdc605 http://hg.netbeans.org/cnd-main?cmd=changeset;node=e540189c1124 http://hg.netbeans.org/cnd-main?cmd=changeset;node=dd0b4bba8743 finally fix: http://hg.netbeans.org/cnd-main?cmd=changeset;node=4a8b54940d89 -- use one worker thread to manage opening/closing tasks, otherwise due to concurrency 3 opened projects event is delivered after already handled event of 5 opened projects and 2 projects are asked to be closed QA, please, verify Alexander Simon, please, review Integrated into 'main-golden', will be available in build *201103140400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e540189c1124 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixing ##196580 - Broken code model in Subprojects sample -- diagnostic to find root cause Fix safe and fixes races at starting IDE time. Can not reproduce the problem in dev build any more on both Windows and Linux. Please push the fix into RC branch. integrated into release70 branch http://hg.netbeans.org/releases/rev/7162636799f7 http://hg.netbeans.org/releases/rev/762ad0b94c54 http://hg.netbeans.org/releases/rev/4376700ee2cf http://hg.netbeans.org/releases/rev/0f569518cd27 verified in RC1 build 20110317 |