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 - Project metada files' streams should aren't closed upon reading
Summary: Project metada files' streams should aren't closed upon reading
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0.1
Hardware: PC All
: P2 normal (vote)
Assignee: igor_nikiforov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-06 12:30 UTC by Vladimir Kvashin
Modified: 2012-02-29 17:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)