NullPointerException on MantisConnectBindingStub.mc_project_version_update

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
stefan.cordes
Posts: 1
Joined: 28 May 2019, 11:34

NullPointerException on MantisConnectBindingStub.mc_project_version_update

Post by stefan.cordes »

Hi,
I use the up to date version (I found) of mantis-axis-soap-client

Code: Select all

		<dependency>
			<groupId>biz.futureware.mantis</groupId>
			<artifactId>mantis-axis-soap-client</artifactId>
			<version>1.2.19</version>
		</dependency>
but after updating our mantis server we receive

Code: Select all

java.lang.NullPointerException
	at biz.futureware.mantis.rpc.soap.client.MantisConnectBindingStub.mc_project_version_update(MantisConnectBindingStub.java:2977)
	at fr.husta.maven.plugin.util.MantisConnector.addProjectVersion(MantisConnector.java:98)
	at fr.husta.maven.plugin.util.MantisConnector.renameVersion(MantisConnector.java:144)
This is because call to mc_project_version_update returns "null"
(since https://github.com/mantisbt/mantisbt/co ... be5f4329e1 )
but the MantisConnectBindingStub tries to create a small boolean out of the (Boolean) null
which is causing the NullPointer.

Either the MantisConnectBindingStub return value needs to be changed to (big) Boolean or just void.

Is there any updated Version of MantisConnectBindingStub which is considering "Further backports of db_int*/phpdoc*" ?
Attachments
MantisConnectBindingStub.mc_project_version_update.png
MantisConnectBindingStub.mc_project_version_update.png (44.5 KiB) Viewed 5178 times
Post Reply