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 - FORM error when refactoring a class that has OTHER COMPONENTS
Summary: FORM error when refactoring a class that has OTHER COMPONENTS
Status: RESOLVED DUPLICATE of bug 48288
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-18 22:15 UTC by sjscott
Modified: 2006-08-24 11:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***