Page 1 of 1

Mylyn plugin with eclipse - bad request

Posted: Dec 11, 2018 1:55 am
by limors
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

Re: Mylyn plugin with eclipse - bad request

Posted: Dec 17, 2018 4:13 am
by limors
Any idea anyone?