Mylyn Mantis Connector

Add this URL to your Eclipse Installation to reach this Solution's Update Site.

Mars (4.5)
Luna (4.4)
Kepler (4.3)
Juno (4.2, 3.8)
Previous to Juno (<=4.1)
Neon (4.6)

Learn more...

Details Group Tabs

rmeyert0t's picture

I tried this in Neon. I'm able to to add a mantis task repository, but:
Creating a "New Query..." starts with "Refreshing configuration" for all my projects in mantis, but afterwards the "Create Mantis Query" window remains empty, e.g. there are no projects oder filters to select.

The eclipse log includes a NullPointerException:
!ENTRY org.eclipse.ui 4 0 2016-08-16 09:21:40.047
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:4533)
at org.eclipse.swt.SWT.error(SWT.java:4448)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4203)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3819)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
at org.eclipse.jface.window.Window.open(Window.java:794)
at org.eclipse.mylyn.internal.tasks.ui.actions.NewQueryAction.run(NewQueryAction.java:94)
at org.eclipse.mylyn.internal.tasks.ui.actions.NewQueryAction.run(NewQueryAction.java:55)
...
Caused by: java.lang.NullPointerException
at com.itsolut.mantis.core.util.MantisUtils.transform(MantisUtils.java:53)
at com.itsolut.mantis.core.soap.MantisConverter.convert(MantisConverter.java:50)
at com.itsolut.mantis.core.soap.MantisConverter.convert(MantisConverter.java:463)
at com.itsolut.mantis.core.soap.MantisSoapClient$37.run(MantisSoapClient.java:286)
...

Is this a bug or an "stupid error error" at my side? Is there a bug tracking tool (like mantis ;) ) where I could / should create a new issue for this?

Regards
RoCMe

rmunteanu's picture

Hi and thanks for the report. Yes, we do have a Mantis-based bugtracker - https://www.mantisbt.org/bugs/ , project Mylyn Connector.

Your report looks a lot like https://www.mantisbt.org/bugs/view.php?id=20264, which is fixed in 3.10.1 . Are you running the latest version?

rmeyert0t's picture

Hi,

thanks for the support ;)

I've installed the plugin from marketplace. When searching there, it tells me that I've installed "Mylyn Mantis Connector 3.11.0". Nevertheless, at my plugin folder, I see two jars "com.itsolut.mantis.ui_3.10.1.201407122122.jar" and "com.itsolut.mantis.core_3.10.1.201407122122.jar". I don't know which version may be more correct, but it seems to be the current version ;)
Unfortunately, it's not possible to register for a mantis account, so I'm not able to comment the issue directly.

Regards

jdjafarov's picture

Is there a way to allow SSO authentication?
During the setup, I get a message that Mantis repository has moved, and new location references the SSO page URL.

rmunteanu's picture

Please file a bug on http://www.mantisbt.org/bugs/ , Mylyn Connector project and we can have a discussion there.

bkilinc's picture

I have been using this plugin for several years. However I was unable to install it on eclipse luna. I am getting the following error. Tried nearly everthing. Install eclipse again, install mylyn-commons bundle. Nothing worked for me. I get the following error.

Missing requirement: Mylyn Mantis Connector Core 3.10.0.201311082300 (com.itsolut.mantis.core 3.10.0.201311082300) requires 'bundle org.eclipse.mylyn.commons.soap [3.7.0,4.0.0)' but it could not be found

rmunteanu's picture

Hi Burhan.

The error has now been fixed, try installing again from the same update site.

Thanks for your understanding,

Robert

rrochaxpb's picture

Installed it in Eclipse Helios 3.6.1 with Mylyn 3.7.1 and Connector UI 3.9.0 and got a IllegalStateException, when trying to add a new repository.

I check url (.../api/soap/mantisconnect.php) and wsdl but don't work.

rmunteanu's picture

Hi Rafael,

Can you log a bug report on http://www.manbtisbt.org/bugs/ , 'Mylyn Connector' project with the details?

Thanks,

Robert

dneto's picture

I received the similar message error in the install this plugin (please see: http://marketplace.eclipse.org/node/455094)

The my message is:

Cannot complete the install because one or more required items could not be found.
Software being installed: Mylyn Tasks Connector: Mantis 3.9.0.201206242005 (com.itsolut.mantis_feature.feature.group 3.9.0.201206242005)
Missing requirement: Mylyn Mantis Connector Core 3.9.0.201206242005 (com.itsolut.mantis.core 3.9.0.201206242005) requires 'bundle org.eclipse.mylyn.commons.soap [3.7.0,4.0.0)' but it could not be found
Cannot satisfy dependency:
From: Mylyn Mantis Connector UI 3.9.0.201206242005 (com.itsolut.mantis.ui 3.9.0.201206242005)
To: bundle com.itsolut.mantis.core 0.0.0
Cannot satisfy dependency:
From: Mylyn Tasks Connector: Mantis 3.9.0.201206242005 (com.itsolut.mantis_feature.feature.group 3.9.0.201206242005)
To: com.itsolut.mantis.ui [3.9.0.201206242005]

What's i do now?

rmunteanu's picture

Hi Daniel,

It looks like you're running an old Mylyn version . For the current ( 3.9.0 ) connector version you need Mylyn Version >= 3.7.0 .

Robert

pleclercq's picture

Hi,

I face exactly the same issue :
[...]
Missing requirement: Mylyn Mantis Connector Core 3.10.0.201311082300 (com.itsolut.mantis.core 3.10.0.201311082300) requires 'bundle org.eclipse.mylyn.commons.soap [3.7.0,4.0.0)' but it could not be found
Cannot satisfy dependency:
[...]

It looks like org.eclipse.mylyn.commons.soap doesn't exists anymore in the last version of mylyn (3.12.0 see : http://www.eclipse.org/mylyn/).

rmunteanu's picture

Hi Pascal,

Sorry for noticing so late, your comment was nested under an older one. This should now be fixed with version 3.10.1, please upgrade and let me know if things don't work as expected.

For the future, I suggest you use the user forum on MantisBT.org, as I can watch it using RSS feeds and respond faster.

Thanks,

Robert

gmisingnameacx's picture

It yelds a 403 when reaching the update site http://mylyn-mantis.sourceforge.net/eclipse/update

rmunteanu's picture

Hi Gabriel,

You're supposed to add that URL to Eclipse, not access it directly. See http://marketplace.eclipse.org/updatesite/help?url=http://mylyn-mantis.s... for more details.

kmisingname3ub's picture

good plugin, but not works eclipse 3.5

mmisingnamewkv's picture

Installed it in Eclipse 3.5.1 and got a null pointer exception, when trying to add a new repository.

rmunteanu's picture

Are you by any chance using the 3.1.0 version of the connector and Mylyn 3.2 ? You need to update to Mylyn 3.3 or downgrade to the 3.0.6 version of the connector.

Robert