Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354533

Summary: problem updating due to loose version constraints not pulling in commons ui 3.6.1
Product: z_Archived Reporter: Shawn Minto <shawn.minto>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P3    
Version: unspecified   
Target Milestone: 3.6.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Shawn Minto CLA 2011-08-11 13:06:16 EDT
After the update, I get notified to restart Eclipse, which I did. I then get the following error where the task list should be:

java.lang.NoSuchMethodError: org.eclipse.mylyn.internal.tasks.ui.notifications.TaskListServiceMessageControl.setPreferencesPageId(Ljava/lang/String;)V
	at org.eclipse.mylyn.internal.tasks.ui.notifications.TaskListServiceMessageControl.<init>(TaskListServiceMessageControl.java:58)
	at org.eclipse.mylyn.internal.tasks.ui.views.TaskListView.createPartControl(TaskListView.java:994)
	at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:375)
	at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:229)
	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
	at org.eclipse.ui.internal.Perspective.showView(Perspective.java:2245)
	at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1145)
	at org.eclipse.ui.internal.WorkbenchPage$20.run(WorkbenchPage.java:3921)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3918)
	at org.eclipse.ui.handlers.ShowViewHandler.openView(ShowViewHandler.java:162)
	at org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHandler.java:76)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
	at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
	at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:829)
	at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:815)
	at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:805)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	.........
Comment 1 Steffen Pingel CLA 2011-08-11 13:49:31 EDT
Thanks for the report. I'll fix this for 3.6.2 but I wonder if we should create features for the components in Mylyn Commons to make those easier to consume and update and easier to manage version constraints.
Comment 2 Shawn Minto CLA 2011-08-11 14:24:34 EDT
That makes sense to me.  I wonder if we should update the plugin version constraints as well to have a good safety for plugin dependencies?
Comment 3 Steffen Pingel CLA 2011-08-17 16:45:55 EDT
I have updated version constraints for all features in the master and e_3_7_m_3_6_x branches.
Comment 4 Steffen Pingel CLA 2011-08-17 16:45:58 EDT
Created attachment 201673 [details]
mylyn/context/zip