Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 166698 - After upgrading to 9.1 the task editor will not open on a new bugzilla task.
Summary: After upgrading to 9.1 the task editor will not open on a new bugzilla task.
Status: RESOLVED DUPLICATE of bug 132450
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 0.9   Edit
Hardware: PC Linux-GTK
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Robert Elves CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-04 17:03 EST by Torkild Resheim CLA
Modified: 2006-12-05 18:37 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torkild Resheim CLA 2006-12-04 17:03:08 EST
Build ID: M20060921-0945


Steps To Reproduce:
1. Create a new repository task using a Bugzilla Repository.


More information:

Opening an existing task works though.


The stack trace says:

java.lang.NoSuchMethodError: org.eclipse.mylar.internal.tasks.ui.editors.NewTaskEditorInput.getRepositoryTaskData()Lorg/eclipse/mylar/tasks/core/RepositoryTaskData;
	at org.eclipse.mylar.internal.trac.ui.editor.TracTaskEditorFactory.canCreateEditorFor(TracTaskEditorFactory.java:47)
	at org.eclipse.mylar.internal.tasks.ui.editors.MylarTaskEditor.addPages(MylarTaskEditor.java:369)
	at org.eclipse.ui.forms.editor.FormEditor.createPages(FormEditor.java:142)
	at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:276)
	at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
	at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
	at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
	at org.eclipse.ui.internal.WorkbenchPage.makeActiveEditor(WorkbenchPage.java:1168)
	at org.eclipse.ui.internal.WorkbenchPage.updateActivePart(WorkbenchPage.java:1126)
	at org.eclipse.ui.internal.WorkbenchPage.partAdded(WorkbenchPage.java:1531)
	at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:210)
	at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:820)
	at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:719)
	at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:680)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2593)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2528)
	at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520)
	at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2477)
	at org.eclipse.mylar.internal.tasks.ui.TasksUiUtil.openEditor(TasksUiUtil.java:267)
	at org.eclipse.mylar.internal.bugzilla.ui.wizard.NewBugzillaTaskWizard.performFinish(NewBugzillaTaskWizard.java:92)
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:680)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:355)
	at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3166)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2842)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
	at org.eclipse.jface.window.Window.open(Window.java:796)
	at org.eclipse.mylar.internal.ide.ui.actions.NewTaskFromErrorAction.run(NewTaskFromErrorAction.java:63)
	at org.eclipse.mylar.internal.ide.ui.actions.NewTaskFromErrorAction.run(NewTaskFromErrorAction.java:115)
	at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3166)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2842)
	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:149)
	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:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	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-12-04 22:00:34 EST
Rob: looks like this is just the case of us need a better error message for when the offline cache goes away and we try to restore an editor on startup. 
Comment 2 Robert Elves CLA 2006-12-05 12:07:34 EST
Judging from the stack trace it looks like the upgrade didn't go smoothly as a method cannot be found (that should be there). Could you try a re-install? See http://wiki.eclipse.org/index.php/Mylar_FAQ#Installation_Troubleshooting  (Mylar feature configuration problem in particular).
Comment 3 Torkild Resheim CLA 2006-12-05 14:50:36 EST
Hmm... the Trac and JIRA integration features stayed at 0.9.0 after updating. When I disabled these the Bugzilla feature was working as expected again.

If I remember correctly I used "Find and Install...", "updates" to install 0.9.1 and it was only the main feature(s) that was selected automatically. I had to use "new features" in order to get the remaining features. Since I don't use Trac and JIRA I intentionally left these out. An update site should probably be specified for all of the features in the project if such problems is to be avoided.
Comment 4 Mik Kersten CLA 2006-12-05 18:37:03 EST
Due to problems with the update manager "updates.." does not work and you must use "search for new features", as discussed on our download page: http://www.eclipse.org/mylar/dl.php and in the FAQ: http://wiki.eclipse.org/index.php/Mylar_User_Guide#Download_Mylar 

If doing the full install this way does not work for you please let us know.



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