Announcement Announcement Module
Collapse
No announcement yet.
Error during renaming in Petclinic sample Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error during renaming in Petclinic sample

    When I try to rename in the Petclinic sample, I get the following error :

    ATTENTION: Exception occured executing dialog finish command.
    java.lang.UnsupportedOperationException: You must override call(arg) for processing an arg with a return value, or handl
    e(arg) for processing a single argument with no return result.
    at org.springframework.rules.closure.Block.handle(Blo ck.java:33)
    at org.springframework.rules.closure.Block.call(Block .java:28)
    at org.springframework.richclient.dialog.InputApplica tionDialog.onFinish(InputApplicationDialog.java:17 8)
    at org.springframework.richclient.dialog.InputApplica tionDialog.onFinish(InputApplicationDialog.java:14 6)
    at org.springframework.richclient.dialog.ApplicationD ialog$1.doExecuteCommand(ApplicationDialog.java:32 0)
    at org.springframework.richclient.command.ActionComma nd.execute(ActionCommand.java:191)
    at org.springframework.richclient.command.ActionComma nd$1.actionPerformed(ActionCommand.java:125)
    at javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.act ionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:258)
    at javax.swing.AbstractButton.doClick(AbstractButton. java:289)
    at javax.swing.plaf.basic.BasicRootPaneUI$DefaultActi on.actionPerformed(BasicRootPaneUI.java:155)
    at javax.swing.SwingUtilities.notifyAction(SwingUtili ties.java:1530)
    at javax.swing.JComponent.processKeyBinding(JComponen t.java:2438)
    at javax.swing.KeyboardManager.fireBinding(KeyboardMa nager.java:253)
    at javax.swing.KeyboardManager.fireKeyboardAction(Key boardManager.java:202)
    at javax.swing.JComponent.processKeyBindingsForAllCom ponents(JComponent.java:2515)
    at javax.swing.JComponent.processKeyBindings(JCompone nt.java:2507)
    at javax.swing.JComponent.processKeyEvent(JComponent. java:2401)
    at java.awt.Component.processEvent(Component.java:490 9)
    at java.awt.Container.processEvent(Container.java:156 9)
    at java.awt.Component.dispatchEventImpl(Component.jav a:3615)
    at java.awt.Container.dispatchEventImpl(Container.jav a:1627)
    at java.awt.Component.dispatchEvent(Component.java:34 77)
    at java.awt.KeyboardFocusManager.redispatchEvent(Keyb oardFocusManager.java:1713)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEv ent(DefaultKeyboardFocusManager.java:627)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKe yEvent(DefaultKeyboardFocusManager.java:831)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAsse rtions(DefaultKeyboardFocusManager.java:741)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent (DefaultKeyboardFocusManager.java:592)
    at java.awt.Component.dispatchEventImpl(Component.jav a:3506)
    at java.awt.Container.dispatchEventImpl(Container.jav a:1627)
    at java.awt.Window.dispatchEventImpl(Window.java:1606 )
    at java.awt.Component.dispatchEvent(Component.java:34 77)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java: 456)
    at java.awt.EventDispatchThread.pumpOneEventForHierar chy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:141)
    at java.awt.Dialog$1.run(Dialog.java:540)
    at java.awt.Dialog.show(Dialog.java:561)
    at java.awt.Component.show(Component.java:1133)
    at java.awt.Component.setVisible(Component.java:1088)
    at org.springframework.richclient.dialog.ApplicationD ialog.showDialog(ApplicationDialog.java:254)
    at org.springframework.richclient.samples.petclinic.u i.OwnerManagerView$RenameCommand.doExecuteCommand( OwnerMana
    gerView.java:241)
    at org.springframework.richclient.command.ActionComma nd.execute(ActionCommand.java:191)
    at org.springframework.richclient.command.ActionComma nd$1.actionPerformed(ActionCommand.java:125)
    at javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.act ionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:258)
    at javax.swing.AbstractButton.doClick(AbstractButton. java:289)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Bas icMenuItemUI.java:1113)
    at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputH andler.mouseReleased(BasicMenuItemUI.java:943)
    at java.awt.Component.processMouseEvent(Component.jav a:5100)
    at java.awt.Component.processEvent(Component.java:489 7)
    at java.awt.Container.processEvent(Container.java:156 9)
    at java.awt.Component.dispatchEventImpl(Component.jav a:3615)
    at java.awt.Container.dispatchEventImpl(Container.jav a:1627)
    at java.awt.Component.dispatchEvent(Component.java:34 77)
    at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:3483)
    at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.jav a:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606 )
    at java.awt.Component.dispatchEvent(Component.java:34 77)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java: 456)
    at java.awt.EventDispatchThread.pumpOneEventForHierar chy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:100)

  • #2
    Jim just fixed this! Thanks!

    Comment

    Working...
    X