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.

Bug 208087

Summary: Project metada files' streams should aren't closed upon reading
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: ProjectAssignee: igor_nikiforov <igor_nikiforov>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P2    
Version: 7.0.1   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Kvashin 2012-02-06 12:30:43 UTC
ConfigurationXMLReader does not close configuration xml after reading. There also are other places in project system that does not.

In other NetBeans-based products (e.g. blacktie) this lead to inability to write to configurations XML (FileAlreadyLockedException occurs).
Comment 1 igor_nikiforov 2012-02-07 12:33:18 UTC
The issue is resolved. The fix is here:
  http://hg.netbeans.org/cnd-main/rev/239e2bef051d
Comment 2 Andrew Krasny 2012-02-08 09:16:58 UTC
Reviewed. Fix is safe and correct.

Please transplant to releases/71fixes and releases_e**/701_fixes

Thanks,
=Andrew
Comment 3 igor_nikiforov 2012-02-08 09:25:31 UTC
The fix is transplanted to release71_fixes branch:
  http://hg.netbeans.org/releases/rev/d7f6b09f063b
Comment 4 igor_nikiforov 2012-02-08 09:37:18 UTC
Transplanted to releases_e**/release701_fixes
Comment 5 Alexander Pepin 2012-02-27 13:29:48 UTC
can not be verified by QA in 7.1.1 rc1 build (20120214)