Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 140473 - update manager allows partial install
Summary: update manager allows partial install
Status: RESOLVED DUPLICATE of bug 132450
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 0.5   Edit
Hardware: PC Windows XP
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Mik Kersten CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 147415 (view as bug list)
Depends on: 132450
Blocks:
  Show dependency tree
 
Reported: 2006-05-06 11:31 EDT by Craig Larman CLA
Modified: 2006-12-08 15:33 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Larman CLA 2006-05-06 11:31:41 EDT
(congrats on a great tool idea)
in mylar 5.1 task list view, when i select another existing task to make it active (either by context menu 'activate', or clicking icon), an error log popup appears (sometimes 2 or 3 times in a row after closing each). 

This bug DOES NOT happen if i revert to plug Mylar Task List 5.0.1

5.1 is NOT USABLE; the annoyance is too great for such a basic action.

LOG data:

eclipse.buildId=I20050401-1645
java.version=1.5.0_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86

Error
Sat May 06 20:47:24 EDT 2006
Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".

java.lang.NoSuchMethodError: org.eclipse.mylar.internal.core.MylarContextManager.manipulateInterestForNode(Lorg/eclipse/mylar/provisional/core/IMylarElement;ZZLjava/lang/String;)Z
	at org.eclipse.mylar.internal.ide.InterestManipulatingEditorTracker.editorClosed(InterestManipulatingEditorTracker.java:54)
	at org.eclipse.mylar.internal.ide.AbstractEditorTracker.partClosed(AbstractEditorTracker.java:25)
	at org.eclipse.ui.internal.PartListenerList$3.run(PartListenerList.java:102)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.core.runtime.Platform.run(Platform.java:843)
	at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
	at org.eclipse.ui.internal.PartListenerList.firePartClosed(PartListenerList.java:100)
	at org.eclipse.ui.internal.PartService.firePartClosed(PartService.java:100)
	at org.eclipse.ui.internal.WorkbenchPagePartList.firePartClosed(WorkbenchPagePartList.java:38)
	at org.eclipse.ui.internal.PartList.partClosed(PartList.java:255)
	at org.eclipse.ui.internal.PartList.removePart(PartList.java:176)
	at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1499)
	at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1311)
	at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1295)
	at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1269)
	at org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(WorkbenchPage.java:1088)
	at org.eclipse.mylar.internal.ide.MylarEditorManager.closeAllEditors(MylarEditorManager.java:80)
	at org.eclipse.mylar.internal.ide.MylarEditorManager.contextDeactivated(MylarEditorManager.java:72)
	at org.eclipse.mylar.internal.core.MylarContextManager.deactivateContext(MylarContextManager.java:576)
	at org.eclipse.mylar.provisional.tasklist.MylarTaskListPlugin$1.taskDeactivated(MylarTaskListPlugin.java:177)
	at org.eclipse.mylar.provisional.tasklist.TaskListManager.deactivateTask(TaskListManager.java:542)
	at org.eclipse.mylar.provisional.tasklist.TaskListManager.activateTask(TaskListManager.java:512)
	at org.eclipse.mylar.internal.tasklist.ui.actions.TaskActivateAction.run(TaskActivateAction.java:52)
	at org.eclipse.mylar.internal.tasklist.ui.actions.TaskActivateAction.run(TaskActivateAction.java:47)
	at org.eclipse.mylar.internal.tasklist.ui.views.TaskListView$TaskListCellModifier.modify(TaskListView.java:675)
	at org.eclipse.jface.viewers.TreeEditorImpl.saveEditorValue(TreeEditorImpl.java:322)
	at org.eclipse.jface.viewers.TreeEditorImpl.applyEditorValue(TreeEditorImpl.java:162)
	at org.eclipse.jface.viewers.TreeEditorImpl$3.applyEditorValue(TreeEditorImpl.java:297)
	at org.eclipse.jface.viewers.CellEditor$1.run(CellEditor.java:305)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.core.runtime.Platform.run(Platform.java:843)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
	at org.eclipse.jface.viewers.CellEditor.fireApplyEditorValue(CellEditor.java:303)
	at org.eclipse.jface.viewers.CheckboxCellEditor.activate(CheckboxCellEditor.java:84)
	at org.eclipse.jface.viewers.TreeEditorImpl.activateCellEditor(TreeEditorImpl.java:83)
	at org.eclipse.jface.viewers.TreeEditorImpl.activateCellEditor(TreeEditorImpl.java:146)
	at org.eclipse.jface.viewers.TreeEditorImpl.handleMouseDown(TreeEditorImpl.java:282)
	at org.eclipse.jface.viewers.TreeViewer$1.mouseDown(TreeViewer.java:485)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:133)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3346)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 1 Mik Kersten CLA 2006-05-08 14:22:30 EDT
Thanks for the kind words Craig.  Now on to resolving this issue... it looks like there is a serious misconfiguration with an old version of Mylar loading, and 0.5.1 is triggering this misconfiguration on every task activation.  Could you try uninstalling every old version of Mylar, reinstalling 0.5.1, and let me know how that goes?  There are some instructions at:

  http://www.eclipse.org/mylar/doc/faq.php#install
Comment 2 maarten meijer CLA 2006-05-08 17:30:40 EDT
I had the same problem and tried reinstalling. The update manager did give me some problems, as not all packages were listed to instrall at the same time :(
However after deleting all the 0.5.0 stuff, restarting eclipse and reinstalling 0.5.1 components everything works.
So it must be an installation/update problem.
Are you sure that the updata manager URL asd dependencies are set up correctly?
Comment 3 Mik Kersten CLA 2006-05-08 17:36:10 EDT
Yes, that's most likely it, and Eclipse's update manager is buggy and a generally problematic part of the platform.

Craig, Maarten, could you let me know if you used "Search for updates.." or "Search for new features" when installing?  Also, what Eclipse version are you using?
Comment 4 Mik Kersten CLA 2006-05-12 13:55:00 EDT
It would be helpful if one of you could answer the question on comment#3.  For the time being I'm going to assume that this is a result of using "Search for updates" which we recommend against for this reason on the download page.  I'm leaving this report open in case we can guard against this with a tighter specification of dependencies.
Comment 5 maarten meijer CLA 2006-05-17 18:09:18 EDT
The problem started when using Search for updates to currently installed features.
I'm using Eclipse 3.1.2 on Mac OSX (mostly) and Windows (sometimes). This problem occured on both but second time round I kenw the Fix ;)
Comment 6 Mik Kersten CLA 2006-05-25 14:29:10 EDT
I'm marking this down to "normal" since the work-around is known and documented on the download page.  Also, I've marked the Eclipse bug that is the source of this as "major".  Leaving open in case we can figure out a way to work-around this update manager bug.
Comment 7 Mik Kersten CLA 2006-06-16 11:42:33 EDT
*** Bug 147415 has been marked as a duplicate of this bug. ***
Comment 8 Mik Kersten CLA 2006-12-08 15:33:11 EST
There's nothing we can do about this on our end since this is a duplicate of Platform Update bug 132450, so marking as such. 

*** This bug has been marked as a duplicate of bug 132450 ***