java.lang.IllegalArgumentException: Child model by name 'generalPage' already exists

Spring JIRA | Claudio Romano | 1 decade ago
  1. 0

    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: 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)

    Spring JIRA | 1 decade ago | Claudio Romano
    java.lang.IllegalArgumentException: Child model by name 'generalPage' already exists
  2. 0

    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: 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)

    Spring JIRA | 1 decade ago | Claudio Romano
    java.lang.IllegalArgumentException: Child model by name 'generalPage' already exists
  3. 0

    Application startup failed with org.hibernate:hibernate-search-orm.XYZ on class path

    GitHub | 2 years ago | dirkrathje
    java.lang.IllegalArgumentException: @ConditionalOnMissingBean annotations must specify at least one bean (type, name or annotation)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue of pagination in Spring Data JPA

    Stack Overflow | 5 years ago | Tom
    java.lang.IllegalArgumentException: Paging query needs to have a Pageable parameter!
  6. 0

    SubProtocolWebSocketHandler - No handlers

    Stack Overflow | 2 years ago
    org.springframework.web.context.ContextLoaderListener: org.springframework.context.ApplicationContextException: Failed to start bean 'subProtocolWebSocketHandler'; nested exception is java.lang.IllegalArgumentException: No handlers

  1. kjhdofjosvs 1 times, last 3 weeks ago
  2. j.kienzle 1 times, last 1 month ago
  3. Luka 2 times, last 2 months ago
  4. andyglick 1 times, last 3 months ago
  5. qavid 2 times, last 4 months ago
3 more registered users
29 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Child model by name 'generalPage' already exists

    at org.springframework.util.Assert.isTrue()
  2. Spring Core
    Assert.isTrue
    1. org.springframework.util.Assert.isTrue(Assert.java:137)
    1 frame
  3. org.springframework.rules
    CompoundFormModel.createChild
    1. org.springframework.rules.values.CompoundFormModel.addChildModel(CompoundFormModel.java:123)
    2. org.springframework.rules.values.CompoundFormModel.createChild(CompoundFormModel.java:79)
    2 frames
  4. org.springframework.richclient
    NewOwnerWizard.execute
    1. org.springframework.richclient.forms.SwingFormModel.createChildPageFormModel(SwingFormModel.java:117)
    2. org.springframework.richclient.forms.AbstractFormPage.<init>(AbstractFormPage.java:76)
    3. org.springframework.richclient.samples.petclinic.ui.OwnerGeneralForm.<init>(OwnerGeneralForm.java:33)
    4. org.springframework.richclient.samples.petclinic.ui.NewOwnerWizard$OwnerGeneralWizardPage.<init>(NewOwnerWizard.java:52)
    5. org.springframework.richclient.samples.petclinic.ui.NewOwnerWizard.addPages(NewOwnerWizard.java:45)
    6. org.springframework.richclient.wizard.WizardDialog.createTitledDialogContentPane(WizardDialog.java:86)
    7. org.springframework.richclient.dialog.TitledApplicationDialog.createDialogContentPane(TitledApplicationDialog.java:135)
    8. org.springframework.richclient.dialog.TitledApplicationDialog.addDialogComponents(TitledApplicationDialog.java:124)
    9. org.springframework.richclient.dialog.ApplicationDialog.createDialog(ApplicationDialog.java:278)
    10. org.springframework.richclient.dialog.ApplicationDialog.showDialog(ApplicationDialog.java:247)
    11. org.springframework.richclient.samples.petclinic.ui.NewOwnerWizard.execute(NewOwnerWizard.java:86)
    11 frames