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.
A new cache has been introduced while fixing the issue #158236 - "Excessively long BPEL validation with HL7 project". It turned out the cache works wrong. The cache was intended to hold resolved references from the current model to another models. It is based on the list of Import, Include and Redefine elements declared in the current model. But eventually it turned out that in some conditions it can be populated with not relevant references. It's a bug. The bug doesn't come to incorrect behavior. But it can come to performance problems in case of the cache is populated with too many redundant items. Particularly such problem appears with HL7 schema again. And another drawback is that the problem spreads between different projects opened in NetBeans. So, for example, if an HL7 projects is opened together with another small project, then the small project also is affected.
Fixed in trunk http://hg.netbeans.org/main/rev/7f5c258e909a
The new JUnit test was added. See SchemaRefCacheTest.testCacheContainsRelevantComponents()
Integrated into 'main-golden', will be available in build *200907110200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7f5c258e909a User: supernikita@netbeans.org Log: #168376 - Schema optimization cache works incorrect
Reopen to add small corrections
Fixed http://hg.netbeans.org/main/rev/ca1863a9f241
Integrated into 'main-golden', will be available in build *200908041401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ca1863a9f241 User: supernikita@netbeans.org Log: #168376 - Schema optimization cache works incorrect
Verified with JUnit tests + verifying different BPEL projects
The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/256e4b4978c9 http://hg.netbeans.org/release67_fixes/rev/7df53f44382b
Verified by Michael Nazarov.