Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-integrators] Querys in Mylyn 3.0

Ok. I found the RepositoryQuery class, it sounds like the right one. But I
found a more fundemental error, and that is Mylyn/eclipse doesn't connect
to my server. When I click to "Add Task Repository", I see my repository.
But when I click "next", nothing happens. I got a nullPointerException
with the following trace:

java.lang.NullPointerException
	at
org.eclipse.mylyn.internal.tasks.ui.wizards.NewRepositoryWizard.updateSettingsPage(NewRepositoryWizard.java:115)
	at
org.eclipse.mylyn.internal.tasks.ui.wizards.NewRepositoryWizard.getNextPage(NewRepositoryWizard.java:87)
	at org.eclipse.jface.wizard.WizardPage.getNextPage(WizardPage.java:172)
	at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:813)
	at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
	at org.eclipse.jface.window.Window.open(Window.java:796)
	at
org.eclipse.mylyn.internal.tasks.ui.commands.AddTaskRepositoryHandler.execute(AddTaskRepositoryHandler.java:38)
	at
org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:240)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:475)
	at
org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:174)
	at
org.eclipse.mylyn.internal.tasks.ui.actions.AddRepositoryAction.showWizard(AddRepositoryAction.java:71)
	at
org.eclipse.mylyn.internal.tasks.ui.actions.AddRepositoryAction.run(AddRepositoryAction.java:65)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
	at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
	at
org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:443)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
	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(Workbench.java:461)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
	at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.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(EclipseStarter.java:363)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
	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.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)


I followed the steps on
http://jvliet.blogspot.com/2007/02/creating-mylar-connector-plugin-for.html
just like I did with mylyn 2.0 and tried to make it work with mylyn 3.0.
Can somebody please tell me what did I miss?

Kind regards,
Avin


Kind regards,
Avin

> Due to bad knowlwdge of Eclipse and mylyn, I started writing a new
> connector in mylyn 2.0 and reached to the point where I can see my
> queries, tasks and update the tasks. Now upgraded to MyLyn 3.0 and I have
> a couple of questions:
>
> * How are querys represented in Mylyn 3.0? I read
> http://wiki.eclipse.org/Mylyn/Porting_Guide/3.0 and I know that I am not
> suppose to extend AbstractRepositoryQuery with my own implementation.
> However, I cannot find the class AbstractRepositoryQuery anymore, so what
> is replacing it? How can I represent my queries?
>
> * Is it practical to change my code so that it can work with mylyn 3.0
> now? Or should I just start over?
>
> Thank you in advance!
> Avin
>
> _______________________________________________
> mylyn-integrators mailing list
> mylyn-integrators@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
>




Back to the top