Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Unable to display task editor in connector
Unable to display task editor in connector [message #584911] Mon, 19 November 2007 16:34
Eclipse UserFriend
Originally posted by: googelybear.gmail.com

This is a multi-part message in MIME format.
--------------000306080207040601030004
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hello everyone,

I'm implementing a new connector for the origo project (at
origo.ethz.ch) but I have trouble displaying my tasks in the task editor.
The connector is currently in a very early stage and I'm trying to
display existing tasks via the "Open Repository Tasks" command
(available in the context menu of the repository) in the task editor
(web view already works if getTaskDataHandler from the repository
connector returns null). Whenever I do this I get an
AssertionFailedException in
org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiP ageEditorPart.java:695).
Attached you can find the complete stacktrace.
I did the mapping from my task attributes to TaskData like that (to tell
the UI where to display what):
data.setAttributeValue(RepositoryTaskAttribute.<attribute_name >, <value>);

Do you have any idea why this does not work? What did I miss?

After it works with the default editor, I'd like to create my own
editor, or extend the existing - Is there somewhere a description/ howto
available about that?

Thanks for any help!

Dennis

--------------000306080207040601030004
Content-Type: text/plain;
name="stacktrace.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="stacktrace.txt"

eclipse.buildId=M20070921-1145
java.version=1.5.0_13
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments: -product org.eclipse.sdk.ide
Command-line arguments: -product org.eclipse.sdk.ide -data /Users/dennisri/Documents/workspace/../runtime-EclipseApplic ation -dev file:/Users/dennisri/Documents/workspace/.metadata/.plugins/ org.eclipse.pde.core/Eclipse Application/dev.properties -os macosx -ws carbon -arch x86

Error
Mon Nov 19 16:55:18 CET 2007
Unable to create editor ID org.eclipse.mylyn.tasks.ui.editors.task: assertion failed:

org.eclipse.core.runtime.AssertionFailedException: assertion failed:
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:109)
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:95)
at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiP ageEditorPart.java:695)
at org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEdi tor.java:628)
at org.eclipse.ui.forms.editor.SharedHeaderFormEditor.createPag es(SharedHeaderFormEditor.java:105)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPart.java:283)
at org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:661)
at org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:426)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:592)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:263)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2739)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2651)
at org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPag e.java:2643)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2595)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2590)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2574)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2557)
at org.eclipse.mylyn.tasks.ui.TasksUiUtil.openEditor(TasksUiUti l.java:413)
at org.eclipse.mylyn.internal.tasks.ui.OpenRepositoryTaskJob$3. run(OpenRepositoryTaskJob.java:110)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3214)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2958)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)


--------------000306080207040601030004--
Previous Topic:Bugzilla and "local repository" trouble
Next Topic:Removing a Task Repository
Goto Forum:
  


Current Time: Thu Apr 25 02:29:57 GMT 2024

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

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

Back to the top