Mylyn plugin with eclipse - bad request

The Mylyn connector for MantisBT allows you to manage your bugs straight from Eclipse.

Moderators: Developer, Contributor

Post Reply
limors
Posts: 2
Joined: Nov 29, 2018 5:03 am

Mylyn plugin with eclipse - bad request

Post by limors » Dec 11, 2018 1:55 am

Hi,

Problem encountered while start Jenkins build. I am using Mylyn plugin in eclipse.
"Running of build failed
Running build 'testMail' failed
Unexpected error: Unexpected response from Hudson server for '/job/testMail//build': Bad Request
Unexpected response from Hudson server for '/job/testMail//build': Bad Request"

In Jenkins log the foillowing appears:
Error while serving http://x.y.z.w:8080/job/testMail//build
javax.servlet.ServletException: This page expects a form submission but had only {}
at org.kohsuke.stapler.RequestImpl.getSubmittedForm(RequestImpl.java:1014)
at hudson.model.ParametersDefinitionProperty._doBuild(ParametersDefinitionProperty.java:143)
at jenkins.model.ParameterizedJobMixIn.doBuild(ParameterizedJobMixIn.java:212)
at jenkins.model.ParameterizedJobMixIn$ParameterizedJob.doBuild(ParameterizedJobMixIn.java:408)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
Caused: java.lang.reflect.InvocationTargetException
ec 11, 2018 8:47:30 AM WARNING hudson.init.impl.InstallUncaughtExceptionHandler lambda$init$0
null
javax.servlet.ServletException: This page expects a form submission but had only {}
at org.kohsuke.stapler.RequestImpl.getSubmittedForm(RequestImpl.java:1014)
at hudson.model.ParametersDefinitionProperty._doBuild(ParametersDefinitionProperty.java:143)
at jenkins.model.ParameterizedJobMixIn.doBuild(ParameterizedJobMixIn.java:212)
at jenkins.model.ParameterizedJobMixIn$ParameterizedJob.doBuild(ParameterizedJobMixIn.java:408)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
.....
Once it run ok (simple job that sent mail) and from that point that was it... :roll:

Any advice will be appreciated,
Thanks,
Limor

limors
Posts: 2
Joined: Nov 29, 2018 5:03 am

Re: Mylyn plugin with eclipse - bad request

Post by limors » Dec 17, 2018 4:13 am

Any idea anyone?

Post Reply