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

This widget could not be displayed.
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
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

596 views 7 6
Join discussion

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