Hi,
i was testing the WizardDialog in my Application and came across
following Bug. You can reproduce it in the sample Application too.
1. Start Petclinic Sample Application
2. Make a new owner ( Strg+O)
3. Close the dialog with the "dialog close button" on the upper right
4. Make (again) a new owner ( Strg+O)
after this, i get this IllegalArgumentException:
I started to debug, but i'm not sure if it is a SwingFormModel.createChildPageFormModel(SwingFormM odel) or a Wizard bug :roll:Code:SCHWERWIEGEND: Child model by name 'generalPage' already exists java.lang.IllegalArgumentException: Child model by name 'generalPage' already exists at org.springframework.util.Assert.isTrue(Assert.java:137) at org.springframework.rules.values.CompoundFormModel.addChildModel(CompoundFormModel.java:123) at org.springframework.rules.values.CompoundFormModel.createChild(CompoundFormModel.java:79) at org.springframework.richclient.forms.SwingFormModel.createChildPageFormModel(SwingFormModel.java:117) at org.springframework.richclient.forms.AbstractFormPage.<init>(AbstractFormPage.java:76) at org.springframework.richclient.samples.petclinic.ui.OwnerGeneralForm.<init>(OwnerGeneralForm.java:33) at org.springframework.richclient.samples.petclinic.ui.NewOwnerWizard$OwnerGeneralWizardPage.<init>(NewOwnerWizard.java:52) at org.springframework.richclient.samples.petclinic.ui.NewOwnerWizard.addPages(NewOwnerWizard.java:45) at org.springframework.richclient.wizard.WizardDialog.createTitledDialogContentPane(WizardDialog.java:86) at org.springframework.richclient.dialog.TitledApplicationDialog.createDialogContentPane(TitledApplicationDialog.java:135) at org.springframework.richclient.dialog.TitledApplicationDialog.addDialogComponents(TitledApplicationDialog.java:124) at org.springframework.richclient.dialog.ApplicationDialog.createDialog(ApplicationDialog.java:278) at org.springframework.richclient.dialog.ApplicationDialog.showDialog(ApplicationDialog.java:247) at org.springframework.richclient.samples.petclinic.ui.NewOwnerWizard.execute(NewOwnerWizard.java:86)[list][/list] ..... .....
siu
Claudio
ps: is there a bug tracking or something?


Reply With Quote