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 70732 - It is not possible to create AWT Dialog
Summary: It is not possible to create AWT Dialog
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
: 70899 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-22 11:49 UTC by Jan Stola
Modified: 2006-01-05 10:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Fix of the issue. (1.42 KB, patch)
2005-12-22 12:05 UTC, Jan Stola
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Stola 2005-12-22 11:49:37 UTC
Try to create AWT dialog from template. The following exception is thrown:

java.lang.NoSuchMethodException
  at CreationDescriptor.findDefaultCreator(CreationDescriptor.java:248)
  at CreationDescriptor.getDefaultCreator(CreationDescriptor.java:209)
  at CreationDescriptor.createDefaultInstance(CreationDescriptor.java:204)
  at CreationFactory.createDefaultInstance(CreationFactory.java:130)
  at RADComponent.createBeanInstance(RADComponent.java:193)
  ...
Comment 1 Jan Stola 2005-12-22 11:54:51 UTC
Fixed - caused by incorrect CreationDescriptor.

/cvs/form/src/org/netbeans/modules/form/CreationFactory.java,v
new revision: 1.24; previous revision: 1.23
Comment 2 Jan Stola 2005-12-22 12:05:26 UTC
Created attachment 28036 [details]
Fix of the issue.
Comment 3 Tomas Stupka 2005-12-23 08:22:50 UTC
I have reviewed the fix - it seems to be correct.
Comment 4 Jan Stola 2006-01-02 10:01:37 UTC
*** Issue 70899 has been marked as a duplicate of this issue. ***
Comment 5 Marek Grummich 2006-01-02 10:27:15 UTC
Verified in the trunk build 200601011900
Comment 6 Jan Stola 2006-01-02 11:35:01 UTC
Fixed also in release50 branch.

/cvs/form/src/org/netbeans/modules/form/CreationFactory.java,v
new revision: 1.23.14.1; previous revision: 1.23
Comment 7 Marek Grummich 2006-01-05 10:39:45 UTC
Verified 200601042030