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 71570

Summary: FORM error when refactoring a class that has OTHER COMPONENTS
Product: guibuilder Reporter: sjscott <sjscott>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description sjscott 2006-01-18 22:15:19 UTC
I had created all my classes in the default package.  I then created a new
package called Acro_Core and moved my GUI classes into it(refactored).

One class used an added Component that I added to the palette.  It showed up
under Other->Components in the inspector panel.  When this class was refactored
I tried to open it in design view and it was blank.  The Inspector panel was
also blank.

In the bottom right corner the error indicator was flashing.  The error message
stated that it could not find this other component and the form failed to load.

The next line is the "form" file that was causing the problem:

 <Component class="BaseInnerSection" name="aBaseInterSection">

By adding the component in question to another class I was able to figure out
what this line was supposed to be after refactoring.  It needed to have the
package name prefixed to it.  The next line is the corrected line.

 <Component class="Acro_Core.BaseInnerSection" name="aBaseInterSection">

Once I changed this line in the "form" file that problem went away.
Comment 1 Jan Stola 2006-08-24 11:19:41 UTC

*** This issue has been marked as a duplicate of 48288 ***