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 196633

Summary: [70cat] Strange behaviour after deleting project
Product: java Reporter: mperezma <mperezma>
Component: ProjectAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED WORKSFORME    
Severity: normal CC: musilt2
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description mperezma 2011-03-13 00:35:40 UTC
Steps to reproduce:

1. Create new project "project1" (it does not need to be under version control)
2. Create new empty package "newpackage" in project1
3. Checkout a cvs hosted project (I didn't test with other versioning systems)
4. Delete it, checking the option "Also delete sources under ... folder"
5. Try to create a JFrame (or a new java class) in newpackage of project1

At this point the new JFrame does not show in projects view, although it's shown in files view.

The only packages which seem to be affected are the empty ones in the moment of deleting the project (step 4). The non-empty packages and the new empty packages created in the project (without the need to restart the ide) does not seem to be affected.
Comment 1 Stepan Zebra 2011-03-13 11:03:19 UTC
Product Version: NetBeans IDE 7.0 RC1 (Build 201103120000)
Java: 1.6.0_22; Java HotSpot(TM) Client VM 17.1-b03
System: Linux version 2.6.32-25-generic running on i386; UTF-8; cs_CZ (nb)

Reproduced with Subversion project, can't reproduce with Mercurial project.

Checkout action isn't necessary for reproduction. If there is some versioned project already opened, simply delete that one.
Comment 2 Jan Lahoda 2011-03-14 17:23:27 UTC
Appears to be a problem in PackageViewChildren.
Comment 3 Tomas Danek 2012-10-26 13:47:00 UTC
not able to reproduce with SVN project...

Product Version: NetBeans IDE 7.2.1 (Build 201210100934)
Java: 1.7.0_09; Java HotSpot(TM) 64-Bit Server VM 23.5-b02
System: Mac OS X version 10.8.2 running on x86_64; US-ASCII; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/7.2.1
Cache directory: /Users/tomas/Library/Caches/NetBeans/7.2.1

mperezma, are you able to reproduce with current release of NB?