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 130771

Summary: AE while refactoring package.
Product: versioncontrol Reporter: Peter Pis <ppis>
Component: ClearCaseAssignee: issues@versioncontrol <issues>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: AssertionError
messages.log

Description Peter Pis 2008-03-21 14:05:45 UTC
Product Version: NetBeans IDE Dev (Build 080321)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)
Userdir: D:\nb-hg\main\nbbuild\user6

Steps:
1. Create new project.
2. Create new package structure "a.b" in it. Each package contains java class file. Checkin them.
3. Create new package structure "c" in it. Create java class file in it. Checkin them.
4. Select "c" in "Projects" view and invoke "Refactor" action. Enter "a.c" as a new name for it. Proceed with the dialog.

AE is thrown.
Comment 1 Peter Pis 2008-03-21 14:07:59 UTC
Created attachment 58839 [details]
AssertionError
Comment 2 Tomas Stupka 2008-03-26 14:30:45 UTC
i'm sorry, but can't reproduce. 
Comment 3 Peter Pis 2008-03-27 18:04:20 UTC
Steps:
1. Switch to "Files" view.
2. Select some package "a/b" (with classes) and drag&drop into another package.
3. Proceed with refactoring for renaming class in packages.

AE is thrown.

Comment 4 Peter Pis 2008-03-27 18:06:43 UTC
Created attachment 59237 [details]
messages.log
Comment 5 Peter Pis 2008-03-28 12:29:16 UTC
And it seems that it has another effect. New classes are not shown in "Projects", "Files" tab for such folders. 
Comment 6 Tomas Stupka 2008-04-01 12:46:48 UTC
fixed

8dc93f0ac45a
Comment 7 Peter Pis 2008-04-01 13:03:04 UTC
Stopper for 6.1.
Comment 8 Tomas Stupka 2008-04-01 15:53:38 UTC
one more fix

92a63d1a5020
Comment 9 Maros Sandor 2008-04-02 10:06:08 UTC
Reviewed, looks fine to me.
Comment 10 Peter Pis 2008-04-07 15:11:52 UTC
Verified in 6.1.