Plugins stopped working with the error message "Could NOT parse license type code"

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

Problem

After migration, plugins stop working and the following error messages appear:

1 Could NOT parse license type code

The following appears in the atlassian-confluence.log

1 2 3 4 5 referer: https://<base_URL>/admin/calendar/reindexcalendarcontenttype.action | url: /rest/calendar-services/1.0/calendarcontenttype/reindex | traceId: 03bed222f729990b | userName: confluenceadmin 2017-11-25 10:48:46,850 ERROR [http-nio-8090-exec-6] [atlassian.plugin.web.DefaultWebInterfaceManager] filterFragmentsByCondition Could not evaluate condition 'com.atlassian.confluence.extra.calendar3.condition.ShowTimezoneSelectCondition@39b836d' for descriptor: com.atlassian.confluence.extra.team-calendars:show-timezone-setup (A flag that indicates if the current user should be shown the timezone setup dialog) com.atlassian.extras.common.LicenseException: Could NOT parse license type code

Cause

The error message indicates that there's an issue with the Confluence license

Diagnosis

If you go to confluence.cfg.xml, there are extra characters "&gt;" found under the License property:

1 <property name="atlassian.license.message">&gt;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</property>

Resolution

Managing your Confluence License with the correct Confluence license.

A restart might be needed.

Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.