OperationHistoryActionHandler AssertionFailedException: null argument [message #331346] |
Tue, 02 September 2008 19:17 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: cagiva92.hotmail.com
Hi,
I'm getting an AssertionFailedException when the below code is called from
my dispose() method. Please let me know if you have any suggestion or if
you know why this is happening. Thanks in advance!
IUndoContext context = getUndoContext();
OperationHistoryFactory.getOperationHistory().dispose(contex t, true, true,
true);
--------
org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:86)
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:74)
at
org.eclipse.core.commands.operations.AbstractOperation.hasCo ntext(AbstractOperation.java:153)
at
org.eclipse.ui.operations.OperationHistoryActionHandler$Hist oryListener.historyNotification(OperationHistoryActionHandle r.java:130)
at
org.eclipse.core.commands.operations.DefaultOperationHistory $2.run(DefaultOperationHistory.java:929)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.core.commands.operations.DefaultOperationHistory .notifyListeners(DefaultOperationHistory.java:918)
at
org.eclipse.core.commands.operations.DefaultOperationHistory .notifyRemoved(DefaultOperationHistory.java:1042)
at
org.eclipse.core.commands.operations.DefaultOperationHistory .internalRemove(DefaultOperationHistory.java:890)
at
org.eclipse.core.commands.operations.DefaultOperationHistory .flushUndo(DefaultOperationHistory.java:624)
at
org.eclipse.core.commands.operations.DefaultOperationHistory .dispose(DefaultOperationHistory.java:328)
at abc.yxz.core.plan.Plan.dispose(Plan.java:209)
|
|
|
|
Powered by
FUDForum. Page generated in 0.03295 seconds