MantisConnect Eclipse Plugin-unable to select connections

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
progression
Posts: 1
Joined: 29 Dec 2010, 09:49

MantisConnect Eclipse Plugin-unable to select connections

Post by progression »

Hello,

I'm facing problems with MantisConnect plugin. In fact I cannot use the connection I created for Mantis, in my view of projects and issues.

My configurations are:
Eclipse 3.4.2 - Ganymede, under Windows XP, on intranet.

Mantis 1.1.6 on a remote server on Internet (which has a public domain name).


I downloaded MantisConnect plugin for Eclipse (although it dates from February 2008, it is the only one available on sourcefourge). Then installed it into my Eclipse, following its readme.

I created a connection in "Preference"


I downloaded
I defined a connection to Mantis in "Preference" then tested it with a success message: "Version of MantisConnect WebService at 'MantisXYZ': 1.1.6" .

But then when I get into MantisConnect view, I cannt select the connection because the list is disabled.

And, in my Eclipse's runtime log- .metatata/.log under Eclipse workspace folder, I have many exception traces.

Could anyone please tell me what goes wrong and what I should do to fix it?



org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3777)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.jface.dialogs.MessageDialog.openInformation(MessageDialog.java:346)
at org.mantisbt.connect.eclipse.dialogs.ConnectionSettingsDialog$3.widgetSelected(ConnectionSettingsDialog.java:183)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.mantisbt.connect.eclipse.preferences.ConnectionsPage.openConnectionDialog(ConnectionsPage.java:282)
at org.mantisbt.connect.eclipse.preferences.ConnectionsPage.access$700(ConnectionsPage.java:48)
at org.mantisbt.connect.eclipse.preferences.ConnectionsPage$4.widgetSelected(ConnectionsPage.java:218)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: java.lang.NullPointerException
at org.mantisbt.connect.eclipse.views.RefreshIssuesJob$2.run(RefreshIssuesJob.java:86)
at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:155)
at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
... 52 more
[img][img][img][img][img][/img][/img][/img][/img][/img]
Attachments
MantisConnect view, whose connection list is disabled.
MantisConnect view, whose connection list is disabled.
view.GIF (37.25 KiB) Viewed 3325 times
Create & test MantisConnect connection
Create & test MantisConnect connection
connection.GIF (61.55 KiB) Viewed 3325 times
atrol
Site Admin
Posts: 8376
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: MantisConnect Eclipse Plugin-unable to select connection

Post by atrol »

You can post this also to the help and/or developer mailing list.
There is a better chance to get help for such kind of problems.
http://www.mantisbt.org/mailinglists.php
Or try to contact via IRC
Please use Search before posting and read the Manual
Post Reply