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 140472 - [65cat] java.io.IOException: Could not delete: C:\Documents and Settings\Yudi\.netbeans\dev\var\cache\all-layers.dat
Summary: [65cat] java.io.IOException: Could not delete: C:\Documents and Settings\Yudi...
Status: RESOLVED DUPLICATE of bug 196796
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-17 10:34 UTC by yudiset
Modified: 2011-05-03 08:15 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 36829


Attachments
stacktrace (346 bytes, text/plain)
2008-07-17 10:35 UTC, yudiset
Details
stacktrace (355 bytes, text/plain)
2008-08-08 05:09 UTC, ndganesan
Details
stacktrace (317 bytes, text/plain)
2011-05-02 07:06 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yudiset 2008-07-17 10:34:56 UTC
Build: NetBeans IDE Dev (Build 2008-07-17_03-08-53)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06, Java(TM) SE Runtime Environment, 1.6.0_01-b06
OS: Windows XP, 5.1, x86

User Comments: 
It doesn't always happen all the time.

But I think the steps I did that resulted in this error:
1. I run Netbeans for PHP and deleting some projects.
2. Closing the Netbeans
3. Running Netbeans again and the error happens.
Comment 1 yudiset 2008-07-17 10:35:00 UTC
Created attachment 64813 [details]
stacktrace
Comment 2 Lukas Hasik 2008-07-17 10:45:08 UTC
seems like problem with cache, reassigning to author
Comment 3 yudiset 2008-07-18 17:46:47 UTC
Have done as advised, I deleted the userdir folder.
And the problem disappear.

Thank you.
Comment 4 yudiset 2008-07-20 12:28:22 UTC
Just a suggestion, maybe we can clean the userdir from inside Netbeans ?
It would be great if we can, for example: have a Userdir clean menu.

Thanks.
Comment 5 Jaroslav Tulach 2008-08-05 10:28:17 UTC
If I understand correctly, the exception is reported, but the IDE starts without problem. I do not think I want to do 
anything about that.
Comment 6 ndganesan 2008-08-08 05:09:18 UTC
Build: NetBeans IDE 6.1 (Build 200805300101)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.io.IOException: Could not delete: C:\Documents and Settings\Administrator\.netbeans\6.1\var\cache\all-layers.dat
        at org.netbeans.Stamps.deleteCache(Stamps.java:456)
        at org.netbeans.Stamps.access$200(Stamps.java:77)
        at org.netbeans.Stamps$Store.store(Stamps.java:513)
        at org.netbeans.Stamps$Worker.run(Stamps.java:685)
Comment 7 ndganesan 2008-08-08 05:09:29 UTC
Created attachment 66883 [details]
stacktrace
Comment 8 unr303 2009-09-21 12:10:41 UTC
Invoked mvn site:run, cancel, exit, cancel. Got exception.
Comment 9 _ gtzabari 2011-04-29 16:20:05 UTC
If you don't want to do anything about it then you should catch and handle the exception (log it and drop it silently). There's no reason for Netbeans to show the error badge in the bottom right corner if you think this error should be ignored.
Comment 10 Jiri Skrivanek 2011-05-02 07:06:29 UTC
Created attachment 108041 [details]
stacktrace

Happens after restart of IDE.
Comment 11 Jiri Skrivanek 2011-05-02 07:10:04 UTC
508 duplicate reports.
Comment 12 Jaroslav Tulach 2011-05-03 08:15:42 UTC
Just a warning being printed.

*** This bug has been marked as a duplicate of bug 196796 ***