org.mozilla.javascript.JavaScriptException: TypeError: Cannot call method "replace" of undefined (script#5)

GitHub | gkankstech | 4 months ago
  1. 0

    Script fails if 7 is used for Sunday instead of 0

    GitHub | 4 months ago | gkankstech
    org.mozilla.javascript.JavaScriptException: TypeError: Cannot call method "replace" of undefined (script#5)
  2. 0

    GitHub comment 59#20267114

    GitHub | 3 years ago | pragyajyotishi
    java.lang.RuntimeException: Failed checking file /Frontend/src/main/webapp/jsp/button_permissions.jsp
  3. 0

    GitHub comment 6#173874812

    GitHub | 11 months ago | sratatata
    org.mozilla.javascript.JavaScriptException: InternalError: Script exit: Normal (C:\repo\smart-aaaaa\publisher\build\webResource\node_modules\q\q.js#161) at org.mozilla.javascript.gen.C__repo_smart_aaaaa_publisher_build_webResource_node_modules_q_q_js_1368._c_anonymous_9(C:\repo\smart-aaaaa\publisher\build\webResource\node_modules\q\q.js:161) at org.mozilla.javascript.gen.C__repo_smart_aaaaa_publisher_build_webResource_node_modules_q_q_js_1368.call(C:\repo\smart-aaaaa\publisher\build\webResource\node_modules\q\q.js)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Login code that used to work no longer works.

    httpunit | 1 decade ago | jcase16
    org.mozilla.javascript.JavaScriptException: com.meterware.httpunit.ScriptException: Script '<\!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="https://login.byu.edu/login.fcc?TYPE=33554433&amp;REALMOID=06-000e719e-d055-1d80-a271-831932cf0000&amp;GUID=&amp;SMAUTHREASON=0&amp;METHOD=GET&amp;SMAGENTNAME=$SM$iuSegVNP8%2bkqd3pDujmhr9ZhYtltvZXRubJ5cFd0nkDXojtOT2xoeA%3d%3d&amp;TARGET=$SM$https%3a%2f%2fy%2ebyu%2eedu%2fry%2fae%2fprod%2fjs%2fna%2ejs">here</a>.</p> </body></html>' failed: SyntaxError: syntax error (httpunit; )
  6. 0

    less not compiled to css error on startup

    GitHub | 4 years ago | Vad1mo
    org.mozilla.javascript.JavaScriptException: [object Object] (<script>#17742)

    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.JavaScriptException

      TypeError: Cannot call method "replace" of undefined (script#5)

      at org.mozilla.javascript.gen.script_11._c_anonymous_11()
    2. org.mozilla.javascript
      script_11.call
      1. org.mozilla.javascript.gen.script_11._c_anonymous_11(script:5)
      2. org.mozilla.javascript.gen.script_11.call(script)
      2 frames
    3. Rhino
      OptRuntime.callProp0
      1. org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119)
      1 frame
    4. org.mozilla.javascript
      script_11.call
      1. org.mozilla.javascript.gen.script_11._c_anonymous_9(script:5)
      2. org.mozilla.javascript.gen.script_11.call(script)
      2 frames
    5. Rhino
      OptRuntime.call2
      1. org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
      1 frame
    6. org.mozilla.javascript
      script_11.call
      1. org.mozilla.javascript.gen.script_11._c_script_0(script:11)
      2. org.mozilla.javascript.gen.script_11.call(script)
      2 frames
    7. Rhino
      ScriptRuntime.doTopCall
      1. org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
      2. org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3178)
      2 frames
    8. org.mozilla.javascript
      script_11.exec
      1. org.mozilla.javascript.gen.script_11.call(script)
      2. org.mozilla.javascript.gen.script_11.exec(script)
      2 frames