When submitting a configuration form to Jenkins, I get a 500 error saying This page expects a form submission but had only

Issue

When submitting a configuration form to Jenkins, I get a 500 error saying  "This page expects a form submission but had only {}"

Environment

Any version of Jenkins

Resolution

Generally if you get this error, it means that you need to look at the Javascript console (View -> Developer -> Javascript console) for more information on how to diagnose the problem. Often, you will see a 500 error encountered while executing some Javascript like this one:

Configure_System<em>Jenkins</em>.png

You can then click on the URL in the error message to get the root cause:

 

Apache_Tomcat_6_0<em>32</em>-_Error_report.png

 

You can often Google the error message and find a Jenkins issue which has been logged by others in the community. Often a fix will be available in a pending plugin upgrade. Otherwise, you can include the error message in your support ticket, leading to a faster resolution of your problem.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.