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: | Random reparse project after IDE restarting | ||
---|---|---|---|
Product: | cnd | Reporter: | Alexander Simon <alexvsimon> |
Component: | Code Model | Assignee: | Vladimir Voskresensky <vv159170> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | soldatov |
Priority: | P1 | Keywords: | RANDOM, REGRESSION |
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Alexander Simon
2011-03-14 15:00:08 UTC
Investigation show that bug is consequences of introducing NativeProjectRegistry. On IDE shutdown NativeProjectRegistry sends "close project" events. Code model has races with: - code model shutdown - notifications from NativeProjectRegistry With 50% probability project CRC are not written fully. As result project will be reparsed at next IDE starting. P2 because project persistence is broken. fixed, change set: http://hg.netbeans.org/cnd-main/rev/9c4b26b48f4b Integrated into 'main-golden', will be available in build *201103150400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9c4b26b48f4b User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #196681 Random reparse project after IDE restarting QA, please, check for showstopper status. Due to this bug IDE reparses project in 50% on restart. For enterprise size projects it can be the problem (because we claim, that we parse long time only once - the first time) fix to reduce sync block restore flag to false when start up for extra protection (i.e. using from tests) http://hg.netbeans.org/cnd-main?cmd=changeset;node=3355aee80da7 remove check of model state introduced in http://hg.netbeans.org/main/rev/9c4b26b48f4b http://hg.netbeans.org/cnd-main/rev/d0beeadf30c1 use keyword to leave fixed bug accessible from dashboard Integrated into 'main-golden', will be available in build *201103160400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/3355aee80da7 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: extra fix for #196681 - Random reparse project after IDE restarting - use smaller sync block *** Bug 196731 has been marked as a duplicate of this bug. *** OK. Verified in cnd-main-5545-on-110316 build Fix is correct and safe. http://hg.netbeans.org/releases/rev/23fb5acc34ae http://hg.netbeans.org/releases/rev/31b7805150b0 http://hg.netbeans.org/releases/rev/035585055476 Verified in NetBeans IDE 7.0 RC1 (Build 201103180000) |