-
Bug
-
Resolution: Fixed
-
High
-
2.5.2
-
None
During a space export you can sometimes get this stack trace:
com.atlassian.confluence.importexport.ImportExportException: Couldn't backup database data.
at com.atlassian.confluence.importexport.impl.AbstractXmlExporter.backupEntities(AbstractXmlExporter.java:181)
at com.atlassian.confluence.importexport.impl.AbstractXmlExporter.backupEverything(AbstractXmlExporter.java:85)
at com.atlassian.confluence.importexport.impl.FileXmlExporter.backupEverything(FileXmlExporter.java:73)
...
Caused by: java.lang.NullPointerException
at com.atlassian.confluence.security.ContentPermission.compareTo(ContentPermission.java:210)
at java.util.TreeMap.compare(TreeMap.java:1093)
at java.util.TreeMap.put(TreeMap.java:465)
at java.util.TreeSet.add(TreeSet.java:210)
NB. Mostly you just get this error:
'The page you were trying to reach does not exist. You may want to try a search, or browse the site to find the page you were looking for.'
- is related to
-
CONFSERVER-9659 PDF space export failing in Resin 3.x due to incorrect handling of HttpServletRequest
-
- Closed
-
- was cloned as
-
CONFSERVER-9764 CLONE -Exporting a Space sometimes fails, throwing a Nullpointer-Exception
-
- Closed
-
-
CONFSERVER-12932 Exporting a Space gives errors. How to change the lazy setting in 2.8.1?
-
- Closed
-
I confirm that the file is available in both versions, 2.7 and 2.8 source distribution.
...confluence/src/etc/java/com/atlassian/confluence/security/ContentPermissionSet.hbm.xml
In the downloaded package it is located in the confluence-2.8.2-std/confluence/WEB-INF/lib/confluence-2.8.2.jar Similarly for version 2.7
You will need to extract and recreate the jar file and dropping it into the designated location.
This guide will help: http://confluence.atlassian.com/display/DOC/Editing+files+within+.jar+archives