Space PDF Export Hangs Due to Firefox Add-Ons
Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.
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
When trying to export a space to PDF using Firefox, the process hangs at 0%. Using other browsers, the export works as expected.
The following appears in the atlassian-confluence.log
:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2012-08-03 13:25:57,543 WARN [Long running task: Export Space] [lobobrowser.html.domimpl.HTMLScriptElementImpl] processScript Javascript error at bundle://29.0:1/sh/scripts/shBrushPlain.js:26: TypeError: Cannot read property "Highlighter" from undefined (bundle://29.0:1/sh/scripts/shBrushPlain.js#26)
-- url: /spaces/doexportspace.action | userName: admin | referer: http://localhost:8090/spaces/exportspacehtml.action?key=bcs | action: doexportspace
org.mozilla.javascript.EcmaError: TypeError: Cannot read property "Highlighter" from undefined (bundle://29.0:1/sh/scripts/shBrushPlain.js#26)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3229)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3219)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3235)
....
2012-08-03 13:25:57,546 WARN [Long running task: Export Space] [lobobrowser.html.domimpl.HTMLScriptElementImpl] processScript Javascript error at bundle://29.0:1/template.html:2: TypeError: Cannot read property "config" from undefined (bundle://29.0:1/template.html#2)
-- url: /spaces/doexportspace.action | userName: admin | referer: http://localhost:8090/spaces/exportspacehtml.action?key=bcs | action: doexportspace
org.mozilla.javascript.EcmaError: TypeError: Cannot read property "config" from undefined (bundle://29.0:1/template.html#2)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3229)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3219)
....
2012-08-03 13:25:57,634 WARN [Long running task: Export Space] [lobobrowser.html.domimpl.HTMLScriptElementImpl] processScript Javascript error at bundle://29.0:1/sh/src/shCore.js:32: ReferenceError: "XRegExp" is not defined. (bundle://29.0:1/sh/src/shCore.js#32)
-- url: /spaces/doexportspace.action | userName: admin | referer: http://localhost:8090/spaces/exportspacehtml.action?key=bcs | action: doexportspace
org.mozilla.javascript.EcmaError: ReferenceError: "XRegExp" is not defined. (bundle://29.0:1/sh/src/shCore.js#32)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3229)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3219)
at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3292)
....
Cause
A Firefox Add-On may prevent the export from working properly
Resolution
Start Firefox in Safe Mode
If this does not solve the issue, try enabling plugin safe mode in Confluence
Updated on April 8, 2025
Was this helpful?
Still need help?
The Atlassian Community is here for you.