Undo problem - undo of node creation causes StackOverflowError [message #220430] |
Tue, 03 March 2009 10:33 |
Eclipse User |
|
|
|
Originally posted by: cayla_sha.gmx.net
Hello!
When I create a node (I have only one node to create on my surface; it`s
called "location") and undo it (with Edit -> Undo), a
StackOverflowError occurs.
Strangely in this case there is no text beneath the "Undo" in the menu.
When I create a connection and click "Edit", then the menu reads "Undo
Create Connection". But when I create a Location there`s only "Undo"
without any other text.
When I delete a location and undo this operation everything works fine.
When I create or delete a connection between the locations and undo this
operations it works also fine.
Below is the StackTrace of the StackOverflowError. I don`t have a clue
what happens when this error occurs, or what I can do to prevent it.
Thanks in advance for any help!
Best wishes
Julia
java.lang.StackOverflowError
at
org.eclipse.core.internal.registry.RegistryObjectManager.get Object(RegistryObjectManager.java:263)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.getConfigurationElement(ConfigurationElementHandle.java:26 )
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.getContributor(ConfigurationElementHandle.java:126)
at
org.eclipse.core.expressions.PropertyTester.isDeclaringPlugi nActive(PropertyTester.java:116)
at
org.eclipse.core.internal.expressions.Property.isDeclaringPl uginActive(Property.java:45)
at
org.eclipse.core.internal.expressions.Property.isValidCacheE ntry(Property.java:52)
at
org.eclipse.core.internal.expressions.TypeExtensionManager.g etProperty(TypeExtensionManager.java:92)
at
org.eclipse.core.internal.expressions.TestExpression.evaluat e(TestExpression.java:96)
at
org.eclipse.core.internal.expressions.CompositeExpression.ev aluateAnd(CompositeExpression.java:53)
at
org.eclipse.core.internal.expressions.EnablementExpression.e valuate(EnablementExpression.java:53)
at
org.eclipse.gmf.runtime.emf.type.core.internal.impl.XMLExpre ssionMatcher.matches(XMLExpressionMatcher.java:90)
at
org.eclipse.gmf.runtime.emf.type.core.ClientContextManager.g etClientContextFor(ClientContextManager.java:184)
at
org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry.ge tAllTypesMatching(ElementTypeRegistry.java:741)
at
org.eclipse.gmf.runtime.emf.type.ui.internal.providers.Eleme ntTypeIconProvider.getType(ElementTypeIconProvider.java:124)
at
org.eclipse.gmf.runtime.emf.type.ui.internal.providers.Eleme ntTypeIconProvider.provides(ElementTypeIconProvider.java:87)
at
org.eclipse.gmf.runtime.common.ui.services.icon.IconService$ ProviderDescriptor.provides(IconService.java:78)
at
org.eclipse.gmf.runtime.common.core.service.Service.safeProv ides(Service.java:860)
at
org.eclipse.gmf.runtime.common.core.service.ExecutionStrateg y$1.getUncachedProviders(ExecutionStrategy.java:89)
at
org.eclipse.gmf.runtime.common.core.service.Service.getProvi ders(Service.java:538)
at
org.eclipse.gmf.runtime.common.core.service.ExecutionStrateg y$1.execute(ExecutionStrategy.java:68)
at
org.eclipse.gmf.runtime.common.core.service.Service.execute( Service.java:652)
at
org.eclipse.gmf.runtime.common.core.service.Service.executeU nique(Service.java:679)
at
org.eclipse.gmf.runtime.common.ui.services.icon.IconService. getIcon(IconService.java:118)
at
org.eclipse.gmf.runtime.diagram.ui.editparts.TreeEditPart.ge tImage(TreeEditPart.java:135)
at
org.eclipse.gef.editparts.AbstractTreeEditPart.refreshVisual s(AbstractTreeEditPart.java:137)
at
org.eclipse.gmf.runtime.diagram.ui.editparts.TreeEditPart.ha ndleNotificationEvent(TreeEditPart.java:206)
at
org.eclipse.gmf.runtime.diagram.ui.editparts.TreeEditPart.no tifyChanged(TreeEditPart.java:193)
at
org.eclipse.gmf.runtime.diagram.core.listener.DiagramEventBr oker.fireNotification(DiagramEventBroker.java:500)
at
org.eclipse.gmf.runtime.diagram.core.listener.DiagramEventBr oker.resourceSetChanged(DiagramEventBroker.java:395)
at
org.eclipse.gmf.runtime.diagram.ui.internal.DiagramEventBrok erThreadSafe.resourceSetChanged(DiagramEventBrokerThreadSafe .java:72)
at
org.eclipse.gmf.runtime.diagram.core.DiagramEditingDomainFac tory$DiagramEditingDomain.postcommit(DiagramEditingDomainFac tory.java:213)
at
org.eclipse.emf.transaction.impl.TransactionalEditingDomainI mpl.deactivate(TransactionalEditingDomainImpl.java:504)
at
org.eclipse.emf.transaction.impl.TransactionImpl.close(Trans actionImpl.java:623)
at
org.eclipse.emf.transaction.impl.TransactionImpl.commit(Tran sactionImpl.java:415)
at
org.eclipse.gmf.runtime.diagram.core.DiagramEditingDomainFac tory$DiagramEditingDomain.postcommit(DiagramEditingDomainFac tory.java:219)
at
org.eclipse.emf.transaction.impl.TransactionalEditingDomainI mpl.deactivate(TransactionalEditingDomainImpl.java:504)
at
org.eclipse.emf.transaction.impl.TransactionImpl.close(Trans actionImpl.java:623)
at
org.eclipse.emf.transaction.impl.TransactionImpl.commit(Tran sactionImpl.java:415)
at
org.eclipse.gmf.runtime.diagram.core.DiagramEditingDomainFac tory$DiagramEditingDomain.postcommit(DiagramEditingDomainFac tory.java:219)
at
org.eclipse.emf.transaction.impl.TransactionalEditingDomainI mpl.deactivate(TransactionalEditingDomainImpl.java:504)
at
org.eclipse.emf.transaction.impl.TransactionImpl.close(Trans actionImpl.java:623)
at
org.eclipse.emf.transaction.impl.TransactionImpl.commit(Tran sactionImpl.java:415)
at
org.eclipse.gmf.runtime.diagram.core.DiagramEditingDomainFac tory$DiagramEditingDomain.postcommit(DiagramEditingDomainFac tory.java:219)
at
org.eclipse.emf.transaction.impl.TransactionalEditingDomainI mpl.deactivate(TransactionalEditingDomainImpl.java:504)
at
org.eclipse.emf.transaction.impl.TransactionImpl.close(Trans actionImpl.java:623)
at
org.eclipse.emf.transaction.impl.TransactionImpl.commit(Tran sactionImpl.java:415)
..... and now those 4 lines are repeated till the end.
|
|
|
Re: Undo problem - undo of node creation causes StackOverflowError [message #221532 is a reply to message #220430] |
Mon, 16 March 2009 12:49 |
Eclipse User |
|
|
|
Originally posted by: cayla_sha.gmx.net
Update:
Since I have installed a brand-new system (-> "How to install latest
stable build of GMF?") with Eclipse 3.5M5 and GMF 2.2.0M5a, the menu at
least reads "Undo Create Location", but it still crashes with the
StackOverflowError.
However, the Error has changed a bit:
java.lang.StackOverflowError
at org.eclipse.gmf.runtime.common.core.util.Log.log(Log.java:69 )
at org.eclipse.gmf.runtime.common.core.util.Log.log(Log.java:13 2)
at
org.eclipse.gmf.runtime.common.core.service.Service.safeProv ides(Service.java:870)
at
org.eclipse.gmf.runtime.common.core.service.ExecutionStrateg y$1.getUncachedProviders(ExecutionStrategy.java:89)
at
org.eclipse.gmf.runtime.common.core.service.Service.getProvi ders(Service.java:538)
at
org.eclipse.gmf.runtime.common.core.service.ExecutionStrateg y$1.execute(ExecutionStrategy.java:68)
at
org.eclipse.gmf.runtime.common.core.service.Service.execute( Service.java:652)
at
org.eclipse.gmf.runtime.common.core.service.Service.executeU nique(Service.java:679)
at
org.eclipse.gmf.runtime.common.ui.services.icon.IconService. getIcon(IconService.java:118)
at
org.eclipse.gmf.runtime.diagram.ui.editparts.TreeEditPart.ge tImage(TreeEditPart.java:135)
at
org.eclipse.gef.editparts.AbstractTreeEditPart.refreshVisual s(AbstractTreeEditPart.java:137)
at
org.eclipse.gmf.runtime.diagram.ui.editparts.TreeEditPart.ha ndleNotificationEvent(TreeEditPart.java:206)
at
org.eclipse.gmf.runtime.diagram.ui.editparts.TreeEditPart.no tifyChanged(TreeEditPart.java:193)
at
org.eclipse.gmf.runtime.diagram.core.listener.DiagramEventBr oker.fireNotification(DiagramEventBroker.java:500)
at
org.eclipse.gmf.runtime.diagram.core.listener.DiagramEventBr oker.resourceSetChanged(DiagramEventBroker.java:395)
at
org.eclipse.gmf.runtime.diagram.ui.internal.DiagramEventBrok erThreadSafe.resourceSetChanged(DiagramEventBrokerThreadSafe .java:72)
at
org.eclipse.gmf.runtime.diagram.core.DiagramEditingDomainFac tory$DiagramEditingDomain.postcommit(DiagramEditingDomainFac tory.java:213)
at
org.eclipse.emf.transaction.impl.TransactionalEditingDomainI mpl.deactivate(TransactionalEditingDomainImpl.java:528)
at
org.eclipse.emf.transaction.impl.TransactionImpl.close(Trans actionImpl.java:712)
at
org.eclipse.emf.transaction.impl.TransactionImpl.commit(Tran sactionImpl.java:474)
at
org.eclipse.gmf.runtime.diagram.core.DiagramEditingDomainFac tory$DiagramEditingDomain.postcommit(DiagramEditingDomainFac tory.java:219)
at
org.eclipse.emf.transaction.impl.TransactionalEditingDomainI mpl.deactivate(TransactionalEditingDomainImpl.java:528)
at
org.eclipse.emf.transaction.impl.TransactionImpl.close(Trans actionImpl.java:712)
at
org.eclipse.emf.transaction.impl.TransactionImpl.commit(Tran sactionImpl.java:474)
at
org.eclipse.gmf.runtime.diagram.core.DiagramEditingDomainFac tory$DiagramEditingDomain.postcommit(DiagramEditingDomainFac tory.java:219)
at
org.eclipse.emf.transaction.impl.TransactionalEditingDomainI mpl.deactivate(TransactionalEditingDomainImpl.java:528)
at
org.eclipse.emf.transaction.impl.TransactionImpl.close(Trans actionImpl.java:712)
at
org.eclipse.emf.transaction.impl.TransactionImpl.commit(Tran sactionImpl.java:474)
at
org.eclipse.gmf.runtime.diagram.core.DiagramEditingDomainFac tory$DiagramEditingDomain.postcommit(DiagramEditingDomainFac tory.java:219)
at
org.eclipse.emf.transaction.impl.TransactionalEditingDomainI mpl.deactivate(TransactionalEditingDomainImpl.java:528)
at
org.eclipse.emf.transaction.impl.TransactionImpl.close(Trans actionImpl.java:712)
at
org.eclipse.emf.transaction.impl.TransactionImpl.commit(Tran sactionImpl.java:474)
.... and so on ...
|
|
|
|
Powered by
FUDForum. Page generated in 0.03255 seconds