com.gargoylesoftware.htmlunit.ScriptException: SyntaxError: illegal character (eval code#1(eval)#1)

htmlunit | dviveiros | 2 years ago
  1. 0

    Javascript errors with jquery-1.11.0.min.js

    htmlunit | 2 years ago | dviveiros
    com.gargoylesoftware.htmlunit.ScriptException: SyntaxError: illegal character (eval code#1(eval)#1)
  2. 0

    HtmlUnit - Cannot call method "replace" of undefined

    Stack Overflow | 6 months ago | Jh62
    net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot call method "replace" of undefined (http://www.aa2000.com.ar/TSPD/08baef9ac4ab20008be96cfea948af54375f925c87d7a1a4150c900b233e6129b77bd7f2be0c1026?type=7#1(eval)#49)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    HtmlUnit - Cannot call method "replace" of undefined

    Stack Overflow | 6 months ago | Jh62
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot call method "replace" of undefined (http://www.aa2000.com.ar/TSPD/08baef9ac4ab20008be96cfea948af54375f925c87d7a1a4150c900b233e6129b77bd7f2be0c1026?type=7#1(eval)#49)

    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. net.sourceforge.htmlunit.corejs.javascript.EcmaError

      SyntaxError: illegal character (eval code#1(eval)#1)

      at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError()
    2. HtmlUnit Core JS
      Context.compileString
      1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3768)
      2. net.sourceforge.htmlunit.corejs.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:57)
      3. net.sourceforge.htmlunit.corejs.javascript.Parser.addError(Parser.java:188)
      4. net.sourceforge.htmlunit.corejs.javascript.Parser.addError(Parser.java:166)
      5. net.sourceforge.htmlunit.corejs.javascript.Parser.addError(Parser.java:162)
      6. net.sourceforge.htmlunit.corejs.javascript.TokenStream.getToken(TokenStream.java:829)
      7. net.sourceforge.htmlunit.corejs.javascript.Parser.peekToken(Parser.java:296)
      8. net.sourceforge.htmlunit.corejs.javascript.Parser.parse(Parser.java:524)
      9. net.sourceforge.htmlunit.corejs.javascript.Parser.parse(Parser.java:478)
      10. net.sourceforge.htmlunit.corejs.javascript.Context.compileImpl(Context.java:2465)
      11. net.sourceforge.htmlunit.corejs.javascript.Context.compileString(Context.java:1452)
      11 frames
    3. HtmlUnit
      HtmlUnitContextFactory$TimeoutContext.compileString
      1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory$TimeoutContext.compileString(HtmlUnitContextFactory.java:201)
      1 frame
    4. HtmlUnit Core JS
      ContextFactory.doTopCall
      1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.evalSpecial(ScriptRuntime.java:2553)
      2. net.sourceforge.htmlunit.corejs.javascript.NativeGlobal.js_eval(NativeGlobal.java:498)
      3. net.sourceforge.htmlunit.corejs.javascript.NativeGlobal.execIdCall(NativeGlobal.java:158)
      4. net.sourceforge.htmlunit.corejs.javascript.IdFunctionObject.call(IdFunctionObject.java:97)
      5. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2479)
      6. net.sourceforge.htmlunit.corejs.javascript.BaseFunction.execIdCall(BaseFunction.java:269)
      7. net.sourceforge.htmlunit.corejs.javascript.IdFunctionObject.call(IdFunctionObject.java:97)
      8. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
      9. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:815)
      10. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:111)
      11. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:430)
      11 frames
    5. HtmlUnit
      HtmlUnitContextFactory.doTopCall
      1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:309)
      1 frame
    6. HtmlUnit Core JS
      InterpretedFunction.call
      1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3155)
      2. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
      2 frames
    7. HtmlUnit
      JavaScriptEngine$HtmlUnitContextAction.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:643)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:703)
      2 frames
    8. HtmlUnit Core JS
      ContextFactory.call
      1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:606)
      2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:540)
      2 frames
    9. HtmlUnit
      XMLHttpRequest$1.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:650)
      2. com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.setState(XMLHttpRequest.java:225)
      3. com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.doSend(XMLHttpRequest.java:760)
      4. com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.access$000(XMLHttpRequest.java:104)
      5. com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest$1.run(XMLHttpRequest.java:621)
      5 frames
    10. HtmlUnit Core JS
      ContextFactory.call
      1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:606)
      2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:540)
      2 frames
    11. HtmlUnit
      DefaultJavaScriptExecutor.run
      1. com.gargoylesoftware.htmlunit.javascript.background.JavascriptXMLHttpRequestJob.run(JavascriptXMLHttpRequestJob.java:36)
      2. com.gargoylesoftware.htmlunit.javascript.background.JavaScriptJobManagerImpl.runSingleJob(JavaScriptJobManagerImpl.java:365)
      3. com.gargoylesoftware.htmlunit.javascript.background.DefaultJavaScriptExecutor.run(DefaultJavaScriptExecutor.java:168)
      3 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame