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 236241 - java.io.FileNotFoundException: (The requested operation cannot be performed on a file with a user-mapped section open)
Summary: java.io.FileNotFoundException: (The requested operation cannot be performed o...
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-22 13:20 UTC by MackSix
Modified: 2016-07-07 07:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (247.46 KB, image/png)
2013-09-22 13:20 UTC, MackSix
Details
Log file (311.44 KB, text/plain)
2013-09-22 13:21 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2013-09-22 13:20:57 UTC
Created attachment 140351 [details]
Screenshot

1. I had 2 mercurial projects open. One called "451_GUI(mew)_clone0" and the other "Illuminator_1".

2. I closed Illuminator_1 and deleted the ".hg" folder and ".hgignore" file. 

3. I reopened Illuminator_1, initialized Mercurial repository and then did a commit.

4. There were no files open for 451_GUI(mew)_clone0 project and I closed it and received a pop-up dialog that warned:

"C:\Users\User06\Projects\NetBeans\Applications\451_GUI(mew)_clone0\nbproject\private\private.xml (The requested operation cannot be performed on a file with a user-mapped section open)"

See attached screenshot.

I have no idea why I would get a FileNotFoundException for this in a file in a project that was just open and I did nothing to it.

Product Version: NetBeans IDE 7.4 RC1 (Build 201309162201)
Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b50
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b108
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 MackSix 2013-09-22 13:21:26 UTC
Created attachment 140352 [details]
Log file
Comment 2 Milos Kleint 2013-09-27 08:40:48 UTC
J2SEProject$ProjectOpenedHookImpl triggers a file saving operation.
Comment 3 Martin Balin 2016-07-07 07:18:38 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss