Space Export to HTML - Null Point Exception :(

I am having difficulty exporting a space to HTML. When trying to export, Confluence reports a Null Pointer Exception on screen.

Does anyone know what might be causing this?

I can successfully export the space to PDF. When exporting to PDF, it actually seems that a temporary html export is produced. Poking around the temporary folders it seems there is a copy of the html export, but I am not sure if this is a complete copy or not. I found the html export documents in:


Can anyone from Atlassian comment on whether I trust these files contain 100% of the space export into HTML?

1 answer

0 votes
Peter Koczan Atlassian Team Nov 19, 2012


You should not use any files that are in the temp directory during the export/backup creation process, nothing guarantees that it is not being accessed/modified at the time.

I would rather focus on the cause of the problem, I'd suggest that you check your log at <CONFLUENCE-HOME>/logs/atlassian-confluence.log for additional clues on the possible cause of the issue. I suspect this to be caused by missing pageid for one of your pages, but the full stack tract (preferrably the full log) could give additional clue.

You might want to raise a support ticket at including your so that we can narrow down the cause.

Kind regards,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,183 views 2 13
Read article

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