org.mozilla.javascript.EcmaError: ReferenceError: "XRegExp" is not defined. (bundle://28.0:1/sh/src/shCore.js#32)

Atlassian JIRA | Bernardo Acevedo [Atlassian] | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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}

    Atlassian JIRA | 5 years ago | Bernardo Acevedo [Atlassian]
    org.mozilla.javascript.EcmaError: ReferenceError: "XRegExp" is not defined. (bundle://28.0:1/sh/src/shCore.js#32)
  2. 0

    Exception when parsing immediate function

    GitHub | 6 years ago | tstatler
    org.mozilla.javascript.EcmaError: TypeError: Cannot call method "replace" of undefined (/Users/wnpm38/jsdoc/lib/require.js#34(Function)#13(Function)#14(Function)#171)
  3. 0

    --define throws error if value is `undefined`

    GitHub | 3 years ago | dantman
    org.mozilla.javascript.EcmaError: TypeError: Impossible de lire la propriété "undeclared" de undefined (scope.js#304)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Empty @returns tag crashes jsdoc

    GitHub | 4 years ago | mamacdon
    org.mozilla.javascript.EcmaError: TypeError: Cannot read property "type" from undefined (file:/C:/tools/jsdoc/jsdoc3-toolkit/lib/jsdoc/util/templateHelper.js#575)
  6. 0

    crash caused by commit 6e940d27

    GitHub | 3 years ago | mlippert
    org.mozilla.javascript.EcmaError: TypeError: Cannot call method "forEach" of undefined (<eval'ed string>#1(Function)#66(Function)#20(Function)#10)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.mozilla.javascript.EcmaError

      ReferenceError: "XRegExp" is not defined. (bundle://28.0:1/sh/src/shCore.js#32)

      at org.mozilla.javascript.ScriptRuntime.constructError()
    2. Rhino
      Interpreter.interpretLoop
      1. org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3229)
      2. org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3219)
      3. org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3292)
      4. org.mozilla.javascript.ScriptRuntime.nameOrFunction(ScriptRuntime.java:1636)
      5. org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1575)
      6. org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3162)
      6 frames