Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Failed to update model based on selection
Failed to update model based on selection [message #1066311] Tue, 02 July 2013 06:49 Go to next message
kon f is currently offline kon f
Messages: 112
Registered: March 2012
Senior Member
Hey,

I just installed Eclipse Kepler and also started using Mylyn - very nice Smile. I noticed some error messages in the Error Log.

Message: Failed to update model based on selection
!ENTRY org.eclipse.mylyn.java.ui 4 0 2013-07-04 02:37:28.556
!MESSAGE Failed to update model based on selection
!STACK 0
java.lang.IllegalArgumentException: Path must include project and resource name: /
	at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
	at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:2170)
	at org.eclipse.core.internal.resources.Container.getFile(Container.java:208)
	at org.eclipse.emf.ecore.resource.impl.PlatformResourceURIHandlerImpl$WorkbenchHelper.createPlatformResourceInputStream(PlatformResourceURIHandlerImpl.java:200)
	at org.eclipse.emf.ecore.resource.impl.PlatformResourceURIHandlerImpl.createInputStream(PlatformResourceURIHandlerImpl.java:525)
	at org.eclipse.emf.ecore.resource.impl.URIHandlerImpl.contentDescription(URIHandlerImpl.java:273)
	at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.contentDescription(ExtensibleURIConverterImpl.java:372)
	at org.eclipse.emf.ecore.resource.impl.ResourceFactoryRegistryImpl.getContentTypeIdentifier(ResourceFactoryRegistryImpl.java:157)
	at org.eclipse.emf.ecore.resource.impl.ResourceFactoryRegistryImpl.getFactory(ResourceFactoryRegistryImpl.java:123)
	at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$2.delegatedGetFactory(ResourceSetImpl.java:459)
	at org.eclipse.emf.ecore.resource.impl.ResourceFactoryRegistryImpl.getFactory(ResourceFactoryRegistryImpl.java:144)
	at org.eclipse.emf.ecore.resource.impl.ResourceFactoryRegistryImpl.getFactory(ResourceFactoryRegistryImpl.java:85)
	at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.createResource(ResourceSetImpl.java:431)
	at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandCreateResource(ResourceSetImpl.java:243)
	at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:400)
	at org.eclipse.mylyn.mft.emf.core.EmfStructureBridge.getDomainObjectForHandle(EmfStructureBridge.java:125)
	at org.eclipse.mylyn.mft.emf.core.DomainModelContextStructureBridge.getObjectForHandle(DomainModelContextStructureBridge.java:93)
	at org.eclipse.mylyn.mft.emf.core.EmfStructureBridge.getObjectForHandle(EmfStructureBridge.java:108)
	at org.eclipse.mylyn.internal.context.core.InteractionContextManager.propegateInterestToParents(InteractionContextManager.java:1330)
	at org.eclipse.mylyn.internal.context.core.InteractionContextManager.propegateInterestToParents(InteractionContextManager.java:1389)
	at org.eclipse.mylyn.internal.context.core.InteractionContextManager.propegateInterestToParents(InteractionContextManager.java:1389)
	at org.eclipse.mylyn.internal.context.core.InteractionContextManager.propegateInterestToParents(InteractionContextManager.java:1389)
	at org.eclipse.mylyn.internal.context.core.InteractionContextManager.propegateInterestToParents(InteractionContextManager.java:1389)
	at org.eclipse.mylyn.internal.context.core.InteractionContextManager.propegateInterestToParents(InteractionContextManager.java:1389)
	at org.eclipse.mylyn.internal.context.core.InteractionContextManager.internalProcessInteractionEvent(InteractionContextManager.java:750)
	at org.eclipse.mylyn.internal.context.core.InteractionContextManager.internalProcessInteractionEvent(InteractionContextManager.java:720)
	at org.eclipse.mylyn.internal.context.core.InteractionContextManager.processInteractionEvent(InteractionContextManager.java:1197)
	at org.eclipse.mylyn.internal.context.core.InteractionContextManager.processInteractionEvent(InteractionContextManager.java:1190)
	at org.eclipse.mylyn.internal.context.core.InteractionContextManager.processInteractionEvent(InteractionContextManager.java:1186)
	at org.eclipse.mylyn.monitor.ui.AbstractUserInteractionMonitor.handleElementSelection(AbstractUserInteractionMonitor.java:157)
	at org.eclipse.mylyn.monitor.ui.AbstractUserInteractionMonitor.handleElementSelection(AbstractUserInteractionMonitor.java:84)
	at org.eclipse.mylyn.internal.java.ui.JavaEditingMonitor.handleWorkbenchPartSelection(JavaEditingMonitor.java:132)
	at org.eclipse.mylyn.monitor.ui.AbstractUserInteractionMonitor.selectionChanged(AbstractUserInteractionMonitor.java:72)
	at org.eclipse.ui.internal.e4.compatibility.SelectionService.notifyPostSelectionListeners(SelectionService.java:173)
	at org.eclipse.ui.internal.e4.compatibility.SelectionService.access$4(SelectionService.java:170)
	at org.eclipse.ui.internal.e4.compatibility.SelectionService$2.selectionChanged(SelectionService.java:86)
	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$4.run(SelectionAggregator.java:156)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.notifyPostListeners(SelectionAggregator.java:154)
	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.access$8(SelectionAggregator.java:151)
	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8$1.run(SelectionAggregator.java:253)
	at org.eclipse.e4.core.contexts.RunAndTrack.runExternalCode(RunAndTrack.java:56)
	at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8.changed(SelectionAggregator.java:251)
	at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:110)
	at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:328)
	at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:342)
	at org.eclipse.e4.ui.internal.workbench.SelectionServiceImpl.setPostSelection(SelectionServiceImpl.java:34)
	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$3.selectionChanged(CompatibilityPart.java:128)
	at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2755)
	at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2703)
	at org.eclipse.jface.text.TextViewer$5.run(TextViewer.java:2682)
	at org.eclipse.swt.widgets.Display.timerProc(Display.java:4318)
	at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
	at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2287)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3361)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1426)


eclipse.buildId=4.3.0.I20130605-2000
java.version=1.7.0_25
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -showlocation -product org.eclipse.epp.package.rcp.product -clear
Command-line arguments:  -os linux -ws gtk -arch x86_64 -showlocation -product org.eclipse.epp.package.rcp.product -clear


I'm using the Poloarion connector from Tasktop. Is this a bug?

Edit: Sometime also a pop up window appears telling me the same message. This is very annoying since I need to close it manually.

Thank you!

Kon

[Updated on: Wed, 03 July 2013 12:38]

Report message to a moderator

Re: Failed to update model based on selection [message #1070217 is a reply to message #1066311] Wed, 17 July 2013 13:20 Go to previous messageGo to next message
kon f is currently offline kon f
Messages: 112
Registered: March 2012
Senior Member
Just to make sure the error is not caused by any connector, I remove the Polarion connector - just working with local tasks. Unfortunately, I'm getting the same error again and again Sad Does anyone know how to figure out the root cause?

index.php/fa/15613/0/

Thank you!

Kon

[Updated on: Wed, 17 July 2013 13:38]

Report message to a moderator

Re: Failed to update model based on selection [message #1076347 is a reply to message #1070217] Wed, 31 July 2013 08:11 Go to previous messageGo to next message
kon f is currently offline kon f
Messages: 112
Registered: March 2012
Senior Member
Meanwhile I found this bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=406514. Unfortunately, the latest weekly build from
http://www.eclipse.org/mylyn/downloads, still shows the error message.

To get rid of the message, I temporary removed the org.eclipse.mylyn.mft.* bundles.

Kon

[Updated on: Wed, 31 July 2013 09:08]

Report message to a moderator

Re: Failed to update model based on selection [message #1076535 is a reply to message #1076347] Wed, 31 July 2013 14:52 Go to previous message
Tomasz Zarna is currently offline Tomasz Zarna
Messages: 164
Registered: July 2009
Senior Member
kon f wrote on Wed, 31 July 2013 10:11
Unfortunately, the latest weekly build from
http://www.eclipse.org/mylyn/downloads, still shows the error message.


I'm afraid this is what they found on the bug as well: "It is not available yet nether from weeklies nor nightly".
Previous Topic:Rally Mylyn connector
Next Topic:HTML Editor Widget
Goto Forum:
  


Current Time: Sat Sep 20 22:13:37 GMT 2014

Powered by FUDForum. Page generated in 0.01745 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software