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 233992 - java.io.FileNotFoundException: C:\Users\xxnavarv\AppData\Local\Google\Chrome\User Data\Default\Preferences (The process cannot access the file because it is being used by another process)
Summary: java.io.FileNotFoundException: C:\Users\xxnavarv\AppData\Local\Google\Chrome\...
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-06 07:23 UTC by viggonavarsete
Modified: 2013-08-22 01:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 202843


Attachments
stacktrace (1.60 KB, text/plain)
2013-08-06 07:23 UTC, viggonavarsete
Details

Note You need to log in before you can comment on or make changes to this bug.
Description viggonavarsete 2013-08-06 07:23:27 UTC
Build: NetBeans IDE Dev (Build 201308042300)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 7

User Comments:
viggonavarsete: Not sure what happened, but deleted a file and rerun a build towards Glassfish




Stacktrace: 
java.io.FileNotFoundException: C:\Users\xxnavarv\AppData\Local\Google\Chrome\User Data\Default\Preferences (The process cannot access the file because it is being used by another process)
   at java.io.FileInputStream.open(FileInputStream.java:0)
   at java.io.FileInputStream.<init>(FileInputStream.java:138)
   at org.netbeans.modules.extbrowser.plugins.Utils.readFile(Utils.java:128)
   at org.netbeans.modules.extbrowser.plugins.chrome.ChromeManagerAccessor$ChromeExtensionManager.isInstalledImpl(ChromeManagerAccessor.java:158)
   at org.netbeans.modules.extbrowser.plugins.chrome.ChromeManagerAccessor$ChromeExtensionManager.isInstalled(ChromeManagerAccessor.java:132)
   at org.netbeans.modules.extbrowser.plugins.ExtensionManager.isInstalled(ExtensionManager.java:81)
Comment 1 viggonavarsete 2013-08-06 07:23:29 UTC
Created attachment 138333 [details]
stacktrace
Comment 2 Vladimir Riha 2013-08-06 09:04:37 UTC
Is it always reproducible? If so, could you please describe steps to reproduce? Thank you in advance.
Comment 3 viggonavarsete 2013-08-06 09:07:53 UTC
Hi,

it only happened once, and what I did was that I deployed a web project on Glassfish, then I deleted one of the files, and did another run (clicked the Green run button), and then the exception happened.

You're not able, by looking at the stacktrace, to see any improvements to prevent it from happening again?
Comment 4 David Konecny 2013-08-22 01:49:45 UTC
Fixed by 0ec0bdb9cdec too.