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 141162 - Matisse Swing GUI Builder Error Info
Summary: Matisse Swing GUI Builder Error Info
Status: RESOLVED DUPLICATE of bug 121616
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-22 14:03 UTC by tofarr
Modified: 2008-07-30 15:47 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 tofarr 2008-07-22 14:03:42 UTC
This could be classified as a combination of a suggested improvement and bug fix, and relates to the matisse swing gui
builder.

I have a custom component that extends 'JPanel' called 'MsgPanel', and when I try to add it to a component in the gui
builder, I get an error dialog "The component cannot be instantiated. Please make sure it is a JavaBeans component."
This seems to be due to some classpath issue, as the component has a default constructor, which runs outside the gui
builder without throwing an exception. (I think the problem has something to do with the fact that I am using cglib in
the project to add property change support to javabeans on the fly.)

I suggest that the error dialog should have a "details" button yielding a stack trace of what caused the error. (Or
maybe the error should be reported in the bottom right like other errors in the ide.) The reason I suggest this is that
I have been facing this problem with a lot of custom components, and debugging the issues is difficult without more
information on why they occured.
Comment 1 Peter Pis 2008-07-30 15:17:42 UTC
Reassigning to form.
Comment 2 Jan Stola 2008-07-30 15:47:12 UTC

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