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 222655 - org.netbeans.modules.masterfs.filebasedfs.utils.FSException: Cannot delete file sess_nmt5jv4esqflds09am178fnsq0 in C:/www/htdocs/kostuemzauber/var/session.
Summary: org.netbeans.modules.masterfs.filebasedfs.utils.FSException: Cannot delete fi...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-23 11:53 UTC by Exceptions Reporter
Modified: 2012-11-28 02:36 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 195598


Attachments
stacktrace (3.05 KB, text/plain)
2012-11-23 11:53 UTC, Exceptions Reporter
Details

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

Build: NetBeans IDE 7.3 Beta (Build 201210011125)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11
OS: Windows 7

Stacktrace: 
org.netbeans.modules.masterfs.filebasedfs.utils.FSException: Cannot delete file sess_nmt5jv4esqflds09am178fnsq0 in C:/www/htdocs/kostuemzauber/var/session.
   at org.netbeans.modules.masterfs.filebasedfs.utils.FSException.io(FSException.java:118)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.delete(BaseFileObj.java:787)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$2.call(BaseFileObj.java:756)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$2.call(BaseFileObj.java:751)
   at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:119)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.delete(BaseFileObj.java:765)
Comment 1 Exceptions Reporter 2012-11-23 11:53:50 UTC
Created attachment 128306 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-11-26 14:38:41 UTC
My first suspect is refactoring: What is 
spi.impl.SafeDeleteAction$2.run
using to display the exception? Is the dialog user friendly?
Comment 3 Ralph Ruijs 2012-11-26 15:46:30 UTC
(In reply to comment #2)
> My first suspect is refactoring: What is 
> spi.impl.SafeDeleteAction$2.run
> using to display the exception? Is the dialog user friendly?

SafeDelete is only logging the IOException, I will update the implementation (which should be a copy of DeleteActionPerformer) to use Exceptions.printStackTrace.
Comment 4 Ralph Ruijs 2012-11-27 10:45:58 UTC
Changeset: 35edefa40bf3
Author:    Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Date:      2012-11-26 17:53
Comment 5 Quality Engineering 2012-11-28 02:36:23 UTC
Integrated into 'main-golden', will be available in build *201211280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/35edefa40bf3
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: Issue #222655 - org.netbeans.modules.masterfs.filebasedfs.utils.FSException: Cannot delete file sess_nmt5jv4esqflds09am178fnsq0 in C:/www/htdocs/kostuemzauber/var/session.