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 115514 - Cannot delete files created as new CompilationUnits
Summary: Cannot delete files created as new CompilationUnits
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords: RANDOM
Depends on:
Blocks: 81671
  Show dependency tree
 
Reported: 2007-09-14 09:05 UTC by Jan Becicka
Modified: 2007-09-18 14:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Becicka 2007-09-14 09:05:36 UTC
Steps to reproduce 
class A {
  class B {
  }
}
1. select class B and do Inner to Outer Refactoring.
2. Try to delete B.java

Caused: org.netbeans.modules.masterfs.filebasedfs.utils.FSException: Cannot delete file B.java in
D:/Temp/RefBreaker/src/refbr
eaker.
        at org.netbeans.modules.masterfs.filebasedfs.utils.FSException.io(FSException.java:109)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.delete(BaseFileObj.java:416)

Not reproducible always, but at least in 70% of attempts.
Comment 1 Jan Becicka 2007-09-18 14:25:01 UTC
Cannot reproduce in recent build.