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 211748

Summary: Can't Safe Delete Empty Folder From Project Tree View
Product: java Reporter: MackSix
Component: RefactoringAssignee: Jan Becicka <jbecicka>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P4    
Version: 7.2   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 214926    
Bug Blocks:    
Attachments: Project to use for reproduction.

Description MackSix 2012-04-26 00:03:10 UTC
Created attachment 118772 [details]
Project to use for reproduction.

If viewing a project in the Projects Window in Tree and there is a empty folder with one or more empty folders in it, the folder will not "safe delete". The safe delete dialog box appears and just hangs. Press cancel button to remove.

Workaround: Use regular delete to remove folder.

1) Open Attached Project.
2) View in Tree mode.
3) Try to Safe Delete "mypackage" folder.

Folder will not delete. If you add a file to it or to any of the folders below it, it will delete.

Product Version: NetBeans IDE Dev (Build 201204250400)
Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 1 Jan Becicka 2012-04-26 08:35:26 UTC
Changeset: a616678f3854
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2012-04-26 10:27
Message:   
Issue #211748 - Can't Safe Delete Empty Folder From Project Tree View
Comment 2 Quality Engineering 2012-05-01 09:55:14 UTC
Integrated into 'main-golden', will be available in build *201205010400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a616678f3854
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #211748 - Can't Safe Delete Empty Folder From Project Tree View