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

Summary: It is not possible to create AWT Dialog
Product: guibuilder Reporter: Jan Stola <jstola>
Component: CodeAssignee: issues@guibuilder <issues>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Fix of the issue.

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