org.mozilla.javascript.EcmaError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When try to create a code macro in a page as this following example: {code} // test name='blue' {code} after this, when export to PDF the highlight doesn't work. Also in the Confluence log is thrown many of this log related to this bug: {code} 2012-05-24 18:19:26,207 WARN [http-8080-4] [lobobrowser.html.domimpl.HTMLScriptElementImpl] processScript Javascript error at bundle://28.0:1/sh/scripts/shBrushJava.js:50: TypeError: Cannot read property "Highlighter" from undefined (bundle://28.0:1/sh/scripts/shBrushJava.js#50) -- referer: http://localhost:8080/display/ds/xxxxxx | url: /spaces/flyingpdf/pdfpageexport.action | userName: admin | action: pdfpageexport | page: 1048578 org.mozilla.javascript.EcmaError: TypeError: Cannot read property "Highlighter" from undefined (bundle://28.0:1/sh/scripts/shBrushJava.js#50) {code} {code} 2012-05-23 17:00:46,822 WARN [http-8280-7] [lobobrowser.html.domimpl.HTMLScriptElementImpl] processScript Javascript error at bundle://28.0:1/sh/src/shCore.js:32: ReferenceError: "XRegExp" is not defined. (bundle://28.0:1/sh/src/shCore.js#32) – referer: https://acropolis/confluence/display/LAB/VM+Specs | url: /confluence/spaces/flyingpdf/pdfpageexport.action | userName: esegall | action: pdfpageexport | page: 136020960 org.mozilla.javascript.EcmaError: ReferenceError: "XRegExp" is not defined. (bundle://28.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) at org.mozilla.javascript.ScriptRuntime.nameOrFunction(ScriptRuntime.java:1636) at org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1575) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3162) at script(bundle://28.0:1/sh/src/shCore.js:32) at script(bundle://28.0:1/sh/src/shCore.js:21) {code}
    via by Bernardo Acevedo [Atlassian],
  • crash caused by commit 6e940d27
    via GitHub by mlippert
    ,
  • Rhino print function
    via Stack Overflow by Greg Pagendam-Turner
    ,
    • org.mozilla.javascript.EcmaError: ReferenceError: "XRegExp" is not defined. (bundle://28.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) at org.mozilla.javascript.ScriptRuntime.nameOrFunction(ScriptRuntime.java:1636) at org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1575) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3162)

    Users with the same issue

    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Juraji
    5 times, last one,
    Unknown visitor1 times, last one,