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 219474

Summary: java.nio.file.AccessDeniedException: C:\Users\filip\AppData\Local\Temp\jar_cache8194137237948945317.tmp
Product: editor Reporter: Exceptions Reporter <exceptions_reporter>
Component: SpellcheckerAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED    
Severity: normal CC: cyhelsky, Fhutow, maitrikgpanchal, thurka, tomaszk
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 184308
Attachments: stacktrace

Description Exceptions Reporter 2012-10-03 20:26:52 UTC
Build: NetBeans IDE 7.3 Beta (Build 201210011125)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b24
OS: Windows 7

User Comments:
maitrikgpanchal: When I started netbeans 2nd time after installing it and activating 3 features of it.

Fhutow: I did CALT-SHIFT-O to open a File, then selected a file "email_alerts.php". The file opened and the File Access Denied Exception occured.




Stacktrace: 
java.nio.file.AccessDeniedException: C:\Users\filip\AppData\Local\Temp\jar_cache8194137237948945317.tmp
   at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
   at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
   at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
   at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:229)
   at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:430)
   at java.nio.file.Files.newOutputStream(Files.java:170)
Comment 1 Exceptions Reporter 2012-10-03 20:26:55 UTC
Created attachment 125330 [details]
stacktrace
Comment 2 Exceptions Reporter 2012-12-10 12:28:56 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=184308
Comment 3 Quality Engineering 2013-02-27 16:14:06 UTC
Integrated into 'main-golden', will be available in build *201302270948* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/76c57e3a50c9
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #219474: using FileObjects to access the compressed dictionaries - attempting to prevent an unnecessary copying into temp dir.
Comment 4 Jan Lahoda 2013-02-27 16:23:48 UTC
Tomas, Petr, FYI: the fix above should (hopefully) eliminate the 8kB copying during spellchecker cache creation.
Comment 5 Tomas Hurka 2013-03-01 09:16:48 UTC
(In reply to comment #4)
> Tomas, Petr, FYI: the fix above should (hopefully) eliminate the 8kB copying
> during spellchecker cache creation.
Unfortunately JafFileSystem also copy data into %TEMP% directory. So the problem with the 8kB copying during spellchecker cache creation is not fixed.
Comment 6 Quality Engineering 2013-03-14 02:08:44 UTC
Integrated into 'main-golden', will be available in build *201303132300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4b307a8c39ae
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #219474: Trying to prevent copying content while reading data for dictionary construction
Comment 7 Tomas Hurka 2013-03-20 12:10:01 UTC
8kB copying during spellchecker cache creation is now fixed.