Bamboo Data Center RSS page creation fails due to invalid characters

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

This article addresses an issue encountered when attempting to create an RSS page in Bamboo. The process fails, resulting in an Internal Server Error.

Environment

The problem has been identified in Bamboo version 9.2.4, but it is relevant to all supported versions of Bamboo.

Diagnosis

The error occurs when Bamboo tries to create the RSS page and encounters an invalid character (0xb), which is a Vertical Tab, within the build information.

This invalid character causes the page generation process to fail. An error message similar to the following will be logged in the atlassian-bamboo.log

1 2 3 4 5 ERROR [http-nio-8085-exec-57921] [FiveOhOh] 500 Exception was thrown. org.jdom.IllegalDataException: The data "<p>Scheduled with changes by <a href="https://BAMBOO-URL/browse/PLAN-30#changesSummary">Some Text</a></p> .... .... .... is not legal for a JDOM character content: 0xb is not a legal XML character.

Cause

The issue stems from the inclusion of an invalid character (0xb) or Vertical Tab, in the build's details.

This character is not compatible with XML, which is the format Bamboo uses to generate the RSS page. As a result, the presence of this character disrupts the page creation process.

Solution

To fix this issue, you simply need to delete the build plan that contains the invalid character. For example, if the problem is associated with Build Plan #30, removing this build plan from Bamboo will eliminate the source of the error.

  • Using the UI click on the Project > Plan > Build # that has the error, then on the build # page details click on 'Actions' > 'Remove this result' and confirm the pop-up window. Notice that the build # that was just deleted is no longer in the History list.

This action resolves the issue by getting rid of the invalid character, thereby allowing the RSS page to be generated successfully without encountering the error caused by the illegal XML character.

Updated on March 3, 2025

Still need help?

The Atlassian Community is here for you.