java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When you try to enter a new name on the Rename Owner dialog in Petclinic, you get an InvocationTargetException. Here is the log and the stack trace: --------------------------------------------- SEVERE: Invocation target exception invoking method 'visit(firstName relationalOperator.=(eq) lastName)@class org.springframework.rules.reporting.BeanValidationResultsCollector'java.lang.IllegalArgumentException: The property 'lastName' has not been added to this form model (or to any parents.) 4-Nov-2004 10:45:29 AM org.springframework.util.visitor.ReflectiveVisitorSupport invokeVisit SEVERE: Invocation target exception invoking method 'visit(not(firstName relationalOperator.=(eq) lastName))@class org.springframework.rules.reporting.BeanValidationResultsCollector'java.lang.RuntimeException: java.lang.reflect.InvocationTa rgetException 4-Nov-2004 10:45:29 AM org.springframework.util.visitor.ReflectiveVisitorSupport invokeVisit SEVERE: Invocation target exception invoking method 'visit([And@1f4cdd2 constraints = list[[And@f3770c constraints = list[required, [strLength(arg) relationalOperator.<=(lte) 25], org.springframework.rules.constraint.RegexpConstraint@cbf92] ], not(firstName relationalOperator.=(eq) lastName)]])@class org.springframework.rules.reporting.BeanValidationResultsCollector'java.lang.RuntimeException: java.lang.reflect.InvocationTargetException 4-Nov-2004 10:45:29 AM org.springframework.util.visitor.ReflectiveVisitorSupport invokeVisit SEVERE: Invocation target exception invoking method 'visit([And@1f4cdd2 constraints = list[[And@f3770c constraints = list[required, [strLength(arg) relationalOperator.<=(lte) 25], org.springframework.rules.constraint.RegexpConstraint@cbf92] ], not(firstName relationalOperator.=(eq) lastName)]])@class org.springframework.rules.reporting.BeanValidationResultsCollector'java.lang.RuntimeException: java.lang.reflect.InvocationTargetException 4-Nov-2004 10:45:29 AM org.springframework.richclient.application.config.ApplicationAdvisor$DefaultEventExceptionHandler handle SEVERE: java.lang.reflect.InvocationTargetException java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:231) at org.springframework.rules.reporting.BeanValidationResultsCollector.collectPropertyResultsInternal(BeanValidationResultsCollector.java:73) at org.springframework.rules.reporting.BeanValidationResultsCollector.collectPropertyResults(BeanValidationResultsCollector.java:67) at org.springframework.binding.form.support.ValidatingFormModel$ValidatingFormValueModel.validatePropertyConstraint(ValidatingFormModel.java:298) at org.springframework.binding.form.support.ValidatingFormModel$ValidatingFormValueModel.validate(ValidatingFormModel.java:280) at org.springframework.binding.form.support.ValidatingFormModel$ValidatingFormValueModel.setValue(ValidatingFormModel.java:274) at org.springframework.richclient.forms.AbstractValueSetter.componentValueChanged(AbstractValueSetter.java:46) at org.springframework.richclient.forms.AsYouTypeTextValueSetter.controlTextValueChanged(AsYouTypeTextValueSetter.java:56) at org.springframework.richclient.forms.AsYouTypeTextValueSetter.insertUpdate(AsYouTypeTextValueSetter.java:47) at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:184) at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:749) at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:706) at javax.swing.text.PlainDocument.insertString(PlainDocument.java:114) at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:669) at javax.swing.text.JTextComponent.replaceSelection(JTextComponent.java:1052) at javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction.actionPerformed(DefaultEditorKit.java:839) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1512) at javax.swing.JComponent.processKeyBinding(JComponent.java:2435) at javax.swing.JComponent.processKeyBindings(JComponent.java:2470) at javax.swing.JComponent.processKeyEvent(JComponent.java:2398) at java.awt.Component.processEvent(Component.java:4943) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:3639) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3480) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1708) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:593) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:765) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:698) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:559) at java.awt.Component.dispatchEventImpl(Component.java:3509) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Window.dispatchEventImpl(Window.java:1590) at java.awt.Component.dispatchEvent(Component.java:3480) at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:140) at java.awt.Dialog.show(Dialog.java:551) at java.awt.Component.show(Component.java:1134) at java.awt.Component.setVisible(Component.java:1089) at org.springframework.richclient.dialog.ApplicationDialog.showDialog(ApplicationDialog.java:261) at org.springframework.richclient.samples.petclinic.ui.OwnerManagerView$RenameCommand.doExecuteCommand(OwnerManagerView.java:225) at org.springframework.richclient.command.ActionCommand.execute(ActionCommand.java:188) at org.springframework.richclient.command.ActionCommand$1.actionPerformed(ActionCommand.java:123) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257) at javax.swing.AbstractButton.doClick(AbstractButton.java:289) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113) at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943) at java.awt.Component.processMouseEvent(Component.java:5134) at java.awt.Component.processEvent(Component.java:4931) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:3639) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3480) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095) at java.awt.Container.dispatchEventImpl(Container.java:1609) at java.awt.Window.dispatchEventImpl(Window.java:1590) at java.awt.Component.dispatchEvent(Component.java:3480) at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) at java.awt.EventDispatchThread.run(EventDispatchThread.java:99) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:224) ... 69 more Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:231) at org.springframework.rules.reporting.BeanValidationResultsCollector.visit(BeanValidationResultsCollector.java:89) ... 74 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:224) ... 75 more Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:231) at org.springframework.rules.reporting.ValidationResultsCollector.visit(ValidationResultsCollector.java:90) ... 80 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:224) ... 81 more Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:231) at org.springframework.rules.reporting.ValidationResultsCollector.visit(ValidationResultsCollector.java:137) ... 86 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:224) ... 87 more Caused by: java.lang.IllegalArgumentException: The property 'lastName' has not been added to this form model (or to anyparents.) at org.springframework.util.Assert.isTrue(Assert.java:91) at org.springframework.binding.form.support.AbstractFormModel.assertValueModelNotNull(AbstractFormModel.java:184) at org.springframework.binding.form.support.AbstractFormModel.getRequiredValueModel(AbstractFormModel.java:170) at org.springframework.binding.form.support.AbstractFormModel.getValue(AbstractFormModel.java:139) at org.springframework.binding.form.support.ValidatingFormModel.getPropertyValue(ValidatingFormModel.java:80) at org.springframework.rules.constraint.property.PropertiesConstraint.test(PropertiesConstraint.java:71) at org.springframework.rules.constraint.property.AbstractPropertyConstraint.test(AbstractPropertyConstraint.java:46) at org.springframework.rules.reporting.BeanValidationResultsCollector.testBeanPropertyExpression(BeanValidationResultsCollector.java:107) at org.springframework.rules.reporting.BeanValidationResultsCollector.visit(BeanValidationResultsCollector.java:96) ... 92 more --------------------------------------------- Steps to reproduce: 1) Launch petclinic-standalone.bat 2) Right-click on Kieth Donald and click Rename... on the popup menu. The Rename Owner dialog will appear. 3) Start typing in the New First Name field...you'll get the exception. Cheers, Joe
    via by Joe Kelly,
  • When you try to enter a new name on the Rename Owner dialog in Petclinic, you get an InvocationTargetException. Here is the log and the stack trace: --------------------------------------------- SEVERE: Invocation target exception invoking method 'visit(firstName relationalOperator.=(eq) lastName)@class org.springframework.rules.reporting.BeanValidationResultsCollector'java.lang.IllegalArgumentException: The property 'lastName' has not been added to this form model (or to any parents.) 4-Nov-2004 10:45:29 AM org.springframework.util.visitor.ReflectiveVisitorSupport invokeVisit SEVERE: Invocation target exception invoking method 'visit(not(firstName relationalOperator.=(eq) lastName))@class org.springframework.rules.reporting.BeanValidationResultsCollector'java.lang.RuntimeException: java.lang.reflect.InvocationTa rgetException 4-Nov-2004 10:45:29 AM org.springframework.util.visitor.ReflectiveVisitorSupport invokeVisit SEVERE: Invocation target exception invoking method 'visit([And@1f4cdd2 constraints = list[[And@f3770c constraints = list[required, [strLength(arg) relationalOperator.<=(lte) 25], org.springframework.rules.constraint.RegexpConstraint@cbf92] ], not(firstName relationalOperator.=(eq) lastName)]])@class org.springframework.rules.reporting.BeanValidationResultsCollector'java.lang.RuntimeException: java.lang.reflect.InvocationTargetException 4-Nov-2004 10:45:29 AM org.springframework.util.visitor.ReflectiveVisitorSupport invokeVisit SEVERE: Invocation target exception invoking method 'visit([And@1f4cdd2 constraints = list[[And@f3770c constraints = list[required, [strLength(arg) relationalOperator.<=(lte) 25], org.springframework.rules.constraint.RegexpConstraint@cbf92] ], not(firstName relationalOperator.=(eq) lastName)]])@class org.springframework.rules.reporting.BeanValidationResultsCollector'java.lang.RuntimeException: java.lang.reflect.InvocationTargetException 4-Nov-2004 10:45:29 AM org.springframework.richclient.application.config.ApplicationAdvisor$DefaultEventExceptionHandler handle SEVERE: java.lang.reflect.InvocationTargetException java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:231) at org.springframework.rules.reporting.BeanValidationResultsCollector.collectPropertyResultsInternal(BeanValidationResultsCollector.java:73) at org.springframework.rules.reporting.BeanValidationResultsCollector.collectPropertyResults(BeanValidationResultsCollector.java:67) at org.springframework.binding.form.support.ValidatingFormModel$ValidatingFormValueModel.validatePropertyConstraint(ValidatingFormModel.java:298) at org.springframework.binding.form.support.ValidatingFormModel$ValidatingFormValueModel.validate(ValidatingFormModel.java:280) at org.springframework.binding.form.support.ValidatingFormModel$ValidatingFormValueModel.setValue(ValidatingFormModel.java:274) at org.springframework.richclient.forms.AbstractValueSetter.componentValueChanged(AbstractValueSetter.java:46) at org.springframework.richclient.forms.AsYouTypeTextValueSetter.controlTextValueChanged(AsYouTypeTextValueSetter.java:56) at org.springframework.richclient.forms.AsYouTypeTextValueSetter.insertUpdate(AsYouTypeTextValueSetter.java:47) at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:184) at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:749) at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:706) at javax.swing.text.PlainDocument.insertString(PlainDocument.java:114) at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:669) at javax.swing.text.JTextComponent.replaceSelection(JTextComponent.java:1052) at javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction.actionPerformed(DefaultEditorKit.java:839) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1512) at javax.swing.JComponent.processKeyBinding(JComponent.java:2435) at javax.swing.JComponent.processKeyBindings(JComponent.java:2470) at javax.swing.JComponent.processKeyEvent(JComponent.java:2398) at java.awt.Component.processEvent(Component.java:4943) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:3639) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3480) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1708) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:593) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:765) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:698) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:559) at java.awt.Component.dispatchEventImpl(Component.java:3509) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Window.dispatchEventImpl(Window.java:1590) at java.awt.Component.dispatchEvent(Component.java:3480) at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:140) at java.awt.Dialog.show(Dialog.java:551) at java.awt.Component.show(Component.java:1134) at java.awt.Component.setVisible(Component.java:1089) at org.springframework.richclient.dialog.ApplicationDialog.showDialog(ApplicationDialog.java:261) at org.springframework.richclient.samples.petclinic.ui.OwnerManagerView$RenameCommand.doExecuteCommand(OwnerManagerView.java:225) at org.springframework.richclient.command.ActionCommand.execute(ActionCommand.java:188) at org.springframework.richclient.command.ActionCommand$1.actionPerformed(ActionCommand.java:123) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257) at javax.swing.AbstractButton.doClick(AbstractButton.java:289) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113) at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943) at java.awt.Component.processMouseEvent(Component.java:5134) at java.awt.Component.processEvent(Component.java:4931) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:3639) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3480) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095) at java.awt.Container.dispatchEventImpl(Container.java:1609) at java.awt.Window.dispatchEventImpl(Window.java:1590) at java.awt.Component.dispatchEvent(Component.java:3480) at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) at java.awt.EventDispatchThread.run(EventDispatchThread.java:99) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:224) ... 69 more Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:231) at org.springframework.rules.reporting.BeanValidationResultsCollector.visit(BeanValidationResultsCollector.java:89) ... 74 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:224) ... 75 more Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:231) at org.springframework.rules.reporting.ValidationResultsCollector.visit(ValidationResultsCollector.java:90) ... 80 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:224) ... 81 more Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:231) at org.springframework.rules.reporting.ValidationResultsCollector.visit(ValidationResultsCollector.java:137) ... 86 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:224) ... 87 more Caused by: java.lang.IllegalArgumentException: The property 'lastName' has not been added to this form model (or to anyparents.) at org.springframework.util.Assert.isTrue(Assert.java:91) at org.springframework.binding.form.support.AbstractFormModel.assertValueModelNotNull(AbstractFormModel.java:184) at org.springframework.binding.form.support.AbstractFormModel.getRequiredValueModel(AbstractFormModel.java:170) at org.springframework.binding.form.support.AbstractFormModel.getValue(AbstractFormModel.java:139) at org.springframework.binding.form.support.ValidatingFormModel.getPropertyValue(ValidatingFormModel.java:80) at org.springframework.rules.constraint.property.PropertiesConstraint.test(PropertiesConstraint.java:71) at org.springframework.rules.constraint.property.AbstractPropertyConstraint.test(AbstractPropertyConstraint.java:46) at org.springframework.rules.reporting.BeanValidationResultsCollector.testBeanPropertyExpression(BeanValidationResultsCollector.java:107) at org.springframework.rules.reporting.BeanValidationResultsCollector.visit(BeanValidationResultsCollector.java:96) ... 92 more --------------------------------------------- Steps to reproduce: 1) Launch petclinic-standalone.bat 2) Right-click on Kieth Donald and click Rename... on the popup menu. The Rename Owner dialog will appear. 3) Start typing in the New First Name field...you'll get the exception. Cheers, Joe
    via by Joe Kelly,
  • Issue of pagination in Spring Data JPA
    via Stack Overflow by Tom
    ,
  • spring open jpa db2 error
    via Stack Overflow by Fryder
    ,
  • SubProtocolWebSocketHandler - No handlers
    via by Unknown author,
    • java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:231) at org.springframework.rules.reporting.BeanValidationResultsCollector.collectPropertyResultsInternal(BeanValidationResultsCollector.java:73) at org.springframework.rules.reporting.BeanValidationResultsCollector.collectPropertyResults(BeanValidationResultsCollector.java:67) at org.springframework.binding.form.support.ValidatingFormModel$ValidatingFormValueModel.validatePropertyConstraint(ValidatingFormModel.java:298) at org.springframework.binding.form.support.ValidatingFormModel$ValidatingFormValueModel.validate(ValidatingFormModel.java:280) at org.springframework.binding.form.support.ValidatingFormModel$ValidatingFormValueModel.setValue(ValidatingFormModel.java:274) at org.springframework.richclient.forms.AbstractValueSetter.componentValueChanged(AbstractValueSetter.java:46) at org.springframework.richclient.forms.AsYouTypeTextValueSetter.controlTextValueChanged(AsYouTypeTextValueSetter.java:56) at org.springframework.richclient.forms.AsYouTypeTextValueSetter.insertUpdate(AsYouTypeTextValueSetter.java:47) at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:184) at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:749) at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:706) at javax.swing.text.PlainDocument.insertString(PlainDocument.java:114) at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:669) at javax.swing.text.JTextComponent.replaceSelection(JTextComponent.java:1052) at javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction.actionPerformed(DefaultEditorKit.java:839) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1512) at javax.swing.JComponent.processKeyBinding(JComponent.java:2435) at javax.swing.JComponent.processKeyBindings(JComponent.java:2470) at javax.swing.JComponent.processKeyEvent(JComponent.java:2398) at java.awt.Component.processEvent(Component.java:4943) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:3639) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3480) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1708) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:593) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:765) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:698) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:559) at java.awt.Component.dispatchEventImpl(Component.java:3509) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Window.dispatchEventImpl(Window.java:1590) at java.awt.Component.dispatchEvent(Component.java:3480) at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:140) at java.awt.Dialog.show(Dialog.java:551) at java.awt.Component.show(Component.java:1134) at java.awt.Component.setVisible(Component.java:1089) at org.springframework.richclient.dialog.ApplicationDialog.showDialog(ApplicationDialog.java:261) at org.springframework.richclient.samples.petclinic.ui.OwnerManagerView$RenameCommand.doExecuteCommand(OwnerManagerView.java:225) at org.springframework.richclient.command.ActionCommand.execute(ActionCommand.java:188) at org.springframework.richclient.command.ActionCommand$1.actionPerformed(ActionCommand.java:123) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257) at javax.swing.AbstractButton.doClick(AbstractButton.java:289) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113) at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943) at java.awt.Component.processMouseEvent(Component.java:5134) at java.awt.Component.processEvent(Component.java:4931) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:3639) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3480) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095) at java.awt.Container.dispatchEventImpl(Container.java:1609) at java.awt.Window.dispatchEventImpl(Window.java:1590) at java.awt.Component.dispatchEvent(Component.java:3480) at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) at java.awt.EventDispatchThread.run(EventDispatchThread.java:99) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:224) ... 69 more Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:231) at org.springframework.rules.reporting.BeanValidationResultsCollector.visit(BeanValidationResultsCollector.java:89) ... 74 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:224) ... 75 more Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:231) at org.springframework.rules.reporting.ValidationResultsCollector.visit(ValidationResultsCollector.java:90) ... 80 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:224) ... 81 more Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:231) at org.springframework.rules.reporting.ValidationResultsCollector.visit(ValidationResultsCollector.java:137) ... 86 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.util.visitor.ReflectiveVisitorSupport.invokeVisit(ReflectiveVisitorSupport.java:224) ... 87 more Caused by: java.lang.IllegalArgumentException: The property 'lastName' has not been added to this form model (or to anyparents.) at org.springframework.util.Assert.isTrue(Assert.java:91) at org.springframework.binding.form.support.AbstractFormModel.assertValueModelNotNull(AbstractFormModel.java:184) at org.springframework.binding.form.support.AbstractFormModel.getRequiredValueModel(AbstractFormModel.java:170) at org.springframework.binding.form.support.AbstractFormModel.getValue(AbstractFormModel.java:139) at org.springframework.binding.form.support.ValidatingFormModel.getPropertyValue(ValidatingFormModel.java:80) at org.springframework.rules.constraint.property.PropertiesConstraint.test(PropertiesConstraint.java:71) at org.springframework.rules.constraint.property.AbstractPropertyConstraint.test(AbstractPropertyConstraint.java:46) at org.springframework.rules.reporting.BeanValidationResultsCollector.testBeanPropertyExpression(BeanValidationResultsCollector.java:107) at org.springframework.rules.reporting.BeanValidationResultsCollector.visit(BeanValidationResultsCollector.java:96) ... 92 more

    Users with the same issue

    SteVio1989
    6 times, last one,
    Matty
    1 times, last one,
    slash
    2 times, last one,
    Unknown visitor1 times, last one,
    Victor_IT
    1 times, last one,
    48 more bugmates