Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    If you are trying to get a specific page of results, try first defining that page.

Solutions on the web

via Spring JIRA by Joe Kelly, 1 year ago
via Spring JIRA by Joe Kelly, 1 year ago
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)	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)	at org.springframework.rules.reporting.ValidationResultsCollector.visit(ValidationResultsCollector.java:137)	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)	at org.springframework.rules.reporting.ValidationResultsCollector.visit(ValidationResultsCollector.java:90)	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)	at org.springframework.rules.reporting.BeanValidationResultsCollector.visit(BeanValidationResultsCollector.java:89)	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)	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)