Space PDF Export Hangs Due to Firefox Add-Ons
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
:
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
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.