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 214896 - Show stacktrace when component cannot be added to form
Summary: Show stacktrace when component cannot be added to form
Status: RESOLVED DUPLICATE of bug 121616
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-28 08:57 UTC by tim_sa
Modified: 2012-08-28 16:29 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tim_sa 2012-06-28 08:57:51 UTC
When creating custom UI components you sometimes inadvertently use some resource that will be available in your application, but is not available when the GUI Builder tries to initialize and show the component.

In these cases you get a dialog that pops up with the message "The component cannot be instantiated. Please make sure it is a JaveBeans component"

It would be a nice to be able to see what is causing the failure to instantiate, so that you can track the problem down faster.

A "Details" button could be added to the dialog that when pressed showed the stacktrace
Comment 1 Tomas Pavek 2012-08-28 16:21:12 UTC

*** This bug has been marked as a duplicate of bug 121616 ***
Comment 2 Tomas Pavek 2012-08-28 16:29:14 UTC
Note that the exceptions should be printed in the log, which you can show from menu View | IDE Log.