Error when editing 'argument content is null'

Margaret Hassall January 22, 2024

We are getting the following error on some pages:

“argument ‘content’ is null”.

We are still on the Server version of Confluence and just upgraded to v8.5. The error appeared after the upgrade and only on a few pages with large content in tables. The pages are based on templates.

Thanks.

3 answers

0 votes
Basar Beykoz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 30, 2024

Hi everyone, 

This is Basar from Atlassian. This issue is identified as a bug and logged here:

As @jim romaine mentioned, setting the 'struts.multipart.maxStringLength' value to a higher value in confluence.cfg.xml is the initial workaround. 

If you are on Confluence 8.5.5 or 8.7.2 and higher versions, we don't suggest using this workaround as it may heighten the risk of DDoS attacks, especially if your instance is public. Instead, we introduced a new system property, which only increases the value for authenticated users.

-Dmultipart.authenticated.max.param.length=

All the details can be found in the below KB article:


Hope this helps,
Basar 

0 votes
jim romaine January 29, 2024

We are currently attempting a solution provided from this question and appear to have worked:
https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Saving-the-template-and-get-the-error-quot-argument-quot-content/qaq-p/2541372

...

However as of now to resolve the issue, the Atlassian team has suggested the following workaround:

To implement the workaround, you must update your confluence.cfg.xml file by adding the following line within the <properties> element:

<property name="struts.multipart.maxStringLength">10000</property>

0 votes
Ricky Rich
Contributor
January 29, 2024

Hi,

 

Same issue for me. Any page based on a template is now returning this error when trying save any content edited.

This is really a blocker.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events