Loading Example Site During Installation Throws NullPointerException

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

Symptoms

Attempting to load the Example Site during installation of Confluence 3.1.1 will throw either:

  • the message "An error has occurred during setup"

  • a NullPointerException.

Clicking "Continue" or refreshing your browser will bring you back to the "Load Content" page.

Cause

This is caused by a bug in Confluence. See CONF-18381.

Workaround

  1. Click "Example Site" in "Load Content" page

  2. Click "Continue" on error page

  3. Click "Empty Site"

  4. Proceed through the setup and when it's successfully finished the Example Site will exist despite the earlier error.

I'm still having problems...

Some users have reported the Example Site not appearing, or their dashboard macros not rendering properly. If this happens to you:

  • For missing Example Site, try rebuilding your index via Confluence Admin >> Content Indexing.

  • For broken dashboard macros, try restarting your application server.

Resolution

Upgrade to 3.1.2 or later.

Updated on April 16, 2025

Still need help?

The Atlassian Community is here for you.