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 203194 - java.io.IOException: file:/C:/Users/Mark/Documents/NetBeansProjects/JavaApplication4/src/javaapplication4/NewJFrame.java
Summary: java.io.IOException: file:/C:/Users/Mark/Documents/NetBeansProjects/JavaAppli...
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-06 08:09 UTC by MackSix
Modified: 2011-10-07 14:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 4133


Attachments
stacktrace (599 bytes, text/plain)
2011-10-06 08:09 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2011-10-06 08:09:19 UTC
This issue was reported manually by MackSix.
It already has 5 duplicates 


Build: NetBeans IDE Dev (Build 201109290601)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows Vista

User Comments:
MackSix: 1. Right click JFrame Form Class in project. 2. Choose Delete. 3. Check "Safely delete". 4. Click "Refactor". 5. Click "Back". 6. Uncheck "Safely delete". 7. Click "OK". 8. There is a Refactoring Window still open - Click "Do Refactoring". Throws this IOException.

pbucken: ich habe ein java-package mit einem sourcefile darin gel
Comment 1 MackSix 2011-10-06 08:09:23 UTC
Created attachment 111577 [details]
stacktrace
Comment 2 MackSix 2011-10-06 08:11:45 UTC
MORE DETAILS:

1. Create a new project with a main class (e.g. JavaApplicationX.java)
2. Create new JFrame form. (NewJFrame.java)
3. Instantiate NewJFrame object in main method of main class.

public static void main(String[] args) {
    NewJFrame frame = new NewJFrame();
    frame.setVisible(true);
}

4. Right click on NewJFrame.java and choose "Delete".
5. Check "Safely delete".
6. Click "Refactor".
7. Click "Back".
8. Un-Check "Safely delete".
9. Click "OK"
10. There is a Refactoring Window still open - Click "Do
Refactoring" button on window.

Folder is already deleted so an IOException occurs.
Comment 3 Jan Becicka 2011-10-06 14:42:57 UTC
changeset   : 203704:66341bdd6687
author      : Jan Becicka <jbecicka@netbeans.org>
date        : Thu Oct 06 16:42:01 CEST 2011
summary     : #202847:
#203194:
exceptions on safe delete without usage search
Comment 4 Quality Engineering 2011-10-07 14:36:31 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/66341bdd6687
User: Jan Becicka <jbecicka@netbeans.org>
Log: #202847:
#203194:
exceptions on safe delete without usage search