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 247356 - Could not delete: C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
Summary: Could not delete: C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\a...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-22 10:36 UTC by Exceptions Reporter
Modified: 2016-08-11 11:43 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 212092


Attachments
stacktrace (3.97 KB, text/plain)
2014-09-22 10:36 UTC, Exceptions Reporter
Details
Log File (103.62 KB, text/plain)
2015-02-08 14:22 UTC, MackSix
Details
Log File (190.25 KB, text/plain)
2015-02-08 14:23 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-09-22 10:36:53 UTC
This bug was originally marked as duplicate of bug 223100, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_65-b19
OS: Windows Server 2008 R2

User Comments:
douglasfs.ti: Simplesmente abri o netbeans, e me retornou a mensagem de erro.

GUEST: I just want to activate JavaFX plugin in Option

miibx5: opening NetBeans

GUEST: Selected Options->Miscellaneous->Output Tab

GUEST: erro ao abrir o netbeans

GUEST: started netbeans got this error




Stacktrace: 
java.lang.ClassNotFoundException: org.netbeans.modules.debugger.jpda.projects.StepIntoActionProvider
   at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
   at java.security.AccessController.doPrivileged(AccessController.java:0)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
Comment 1 Exceptions Reporter 2014-09-22 10:36:55 UTC
Created attachment 149410 [details]
stacktrace
Comment 2 Jaroslav Tulach 2014-11-19 12:21:45 UTC
I think this will be some problem with caches. Can you still reproduce to provide more info? Btw. why are you running NetBeans as Administrator? 

INFO [org.netbeans.Stamps]: cannot rename (#0): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 212 ms
INFO [org.netbeans.Stamps]: cannot rename (#1): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 138 ms
INFO [org.netbeans.Stamps]: cannot rename (#2): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 989 ms
INFO [org.netbeans.Stamps]: cannot rename (#3): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 466 ms
INFO [org.netbeans.Stamps]: cannot rename (#4): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 928 ms
INFO [org.netbeans.Stamps]: cannot rename (#5): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 780 ms
INFO [org.netbeans.Stamps]: cannot rename (#6): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 262 ms
INFO [org.netbeans.Stamps]: cannot rename (#7): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 449 ms
INFO [org.netbeans.Stamps]: cannot rename (#8): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 492 ms
INFO [org.netbeans.Stamps]: cannot rename (#9): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 563 ms
WARNING [org.netbeans.Stamps]: Error saving cache C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: Could not delete: C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
java.io.IOException: Could not delete: C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
	at org.netbeans.Stamps.deleteCache(Stamps.java:527)
	at org.netbeans.Stamps.access$200(Stamps.java:90)
[catch] at org.netbeans.Stamps$Store.store(Stamps.java:721)
	at org.netbeans.Stamps$Worker.run(Stamps.java:899)
INFO [org.netbeans.Stamps]: cannot rename (#0): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 721 ms
INFO [org.netbeans.Stamps]: cannot rename (#1): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 543 ms
INFO [org.netbeans.Stamps]: cannot rename (#2): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 902 ms
INFO [org.netbeans.Stamps]: cannot rename (#3): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 337 ms
INFO [org.netbeans.Stamps]: cannot rename (#4): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 389 ms
INFO [org.netbeans.Stamps]: cannot rename (#5): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 142 ms
INFO [org.netbeans.Stamps]: cannot rename (#6): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 565 ms
INFO [org.netbeans.Stamps]: cannot rename (#7): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 494 ms
INFO [org.netbeans.Stamps]: cannot rename (#8): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 526 ms
INFO [org.netbeans.Stamps]: cannot rename (#9): C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: after GC
INFO [org.netbeans.Stamps]: Slept 78 ms
WARNING [org.netbeans.Stamps]: Error saving cache C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
INFO [org.netbeans.Stamps]: Could not delete: C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
java.io.IOException: Could not delete: C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.0.1\all-layers.dat
	at org.netbeans.Stamps.deleteCache(Stamps.java:527)
	at org.netbeans.Stamps.access$200(Stamps.java:90)
[catch] at org.netbeans.Stamps$Store.store(Stamps.java:721)
	at org.netbeans.Stamps$Worker.run(Stamps.java:899)
Comment 3 MackSix 2015-02-08 14:22:04 UTC
I have seen this a couple of times lately while starting up Dev versions of NetBeans. I don't know how to reproduce it, but I have 2 log files if anyone is interested.
Comment 4 MackSix 2015-02-08 14:22:42 UTC
Created attachment 151884 [details]
Log File
Comment 5 MackSix 2015-02-08 14:23:03 UTC
Created attachment 151885 [details]
Log File
Comment 6 MackSix 2015-02-08 14:55:47 UTC
I now know when it occurs. It happens when after running a simple JSF project with SQL JDBC with Tomcat. 

Normally on shutdown of NetBeans, a small dialog appears showing NetBeans is shutting down Tomcat. Sometimes it doesn't happen for several seconds. Sometimes it can take 10 or 15 seconds before the dialog comes up.

If the timings is just right and you restart NetBeans before the shutting down of Tomcat is attempted from the previous instance, the startup of NetBeans and the shut down of Tomcat can be simultaneous. This is when the IO Exception occurs.
Comment 7 Tomas Hurka 2016-08-11 11:43:14 UTC
Closing old issues. This issue should be fixed in NB 8.0.2.