Resource methods consuming the request body by other means will not work as expected

Hi, I am getting this error.

contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.

8 answers

This widget could not be displayed.

I would open a bug with Atlassian - this looks similar to this one for Confluence. I wouldn't worry too much though - this looks like a wrong logging level and not a real problem with the system. If you don't experience any loss of functionality you can just live with it. If it's bothering you too much and Atlassian confirm that it's not really a problem, you can also permanently change the logging level for that particular package to ERROR - see here for instructions.

This widget could not be displayed.

Give us more details - where do you see this error and under what circumstances.

This widget could not be displayed.

I am running JIRA (server) and recently setup, But in log file i am getting this error.

WARNING [http-nio-8080-exec-24] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI http://test.example.com/rest/issueNav/1/issueTable/stable, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.

This widget could not be displayed.

Hello, I am on Jira 7.3.3 and I am having the same issue. Are there any suggestions for fix?

This widget could not be displayed.

Any solution of this issue, I'm on 7.3.3 and facing same issue 

30-May-2018 12:30:10.649 WARNING [http-nio-80-exec-24] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI https://myweb.com/rest/issueNav/1/issueTable/stable, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
30-May-2018 12:30:17.623 WARNING [http-nio-80-exec-16] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI https://myweb.com/rest/issueNav/1/issueTable/stable, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
30-May-2018 12:30:17.657 WARNING [http-nio-80-exec-4] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI https://myweb.com/rest/issueNav/1/issueTable/stable, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.

This widget could not be displayed.

We're on 7.3.7 and we're getting this error right before the system crash. Not sure if it's related to the crash.

Found this page while investigating the cause of frequent JIRA crashes today. I'm testing some REST API calls, but cannot say yet if they are the cause. I do notice that the mentioned error message is the last entry before the JIRA process dies.

Any chance you were also working on REST API calls?

(On v7.5.1)

This widget could not be displayed.

We are having the same issue in logs . Any updates from Atlassian to fix the problem? 

Atlassian JIRA Project Management Software (v7.3.8#73019-sha1:94e8771) 

This widget could not be displayed.

Same problem here

 

23-Jul-2018 15:05:21.870 WARNING [http-nio-8080-exec-25] com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI http://172.16.17.62:8080/rest/project-templates/1.0/templates, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.

 

Cannot create new project using a template.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

97 views 1 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you