Undo Manager Problems
Undo Manager Problems
- Subject: Undo Manager Problems
- From: David Avendasora <email@hidden>
- Date: Sat, 4 Aug 2007 07:35:36 -0500
Hi all,
I'm having a continuing problem with the undo manager. When I try to
delete any relatively complicated objects (lots of relationships,
both to-one and to-many), I get the error listed below.
While this is a Java Client application, I believe the problem is
with the undo manager. Any help would be greatly appreciated.
Dave
Exception in thread "AWT-EventQueue-0"
java.lang.IllegalStateException: undo: undo manager is in invalid
state, undo was called with too many nested undo groups
at com.webobjects.foundation.NSUndoManager.undo(NSUndoManager.java:567)
at com.webobjects.eocontrol.EOEditingContext.undo
(EOEditingContext.java:4989)
at
com.webobjects.eogeneration.EOEditingController._deleteIfNoRelationshipP
ath(EOEditingController.java:718)
at com.webobjects.eogeneration.EOFormController.delete
(EOFormController.java:115)
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:585)
at com.webobjects.foundation.NSSelector.invoke(NSSelector.java:354)
at com.webobjects.foundation.NSSelector._safeInvokeSelector
(NSSelector.java:108)
at
com.webobjects.eoapplication._EOInvocationUtilities.invokeInstanceMethod
WithoutParametersOnObjectIfImplemented(_EOInvocationUtilities.java:141)
at com.webobjects.eoapplication.EOAction
$_ControllerHierarchy.actionPerformed(EOAction.java:1953)
at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed
(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:
258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:234)
at java.awt.Component.processMouseEvent(Component.java:5554)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5319)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4021)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3869)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:
4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:
3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3869)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden