net.sourceforge.htmlunit.corejs.javascript.EcmaError

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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web102

  • Stack trace

    • net.sourceforge.htmlunit.corejs.javascript.EcmaError: SyntaxError: illegal character (eval code#1(eval)#1) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3768) at net.sourceforge.htmlunit.corejs.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:57) at net.sourceforge.htmlunit.corejs.javascript.Parser.addError(Parser.java:188) at net.sourceforge.htmlunit.corejs.javascript.Parser.addError(Parser.java:166) at net.sourceforge.htmlunit.corejs.javascript.Parser.addError(Parser.java:162) at net.sourceforge.htmlunit.corejs.javascript.TokenStream.getToken(TokenStream.java:829) at net.sourceforge.htmlunit.corejs.javascript.Parser.peekToken(Parser.java:296) at net.sourceforge.htmlunit.corejs.javascript.Parser.parse(Parser.java:524) at net.sourceforge.htmlunit.corejs.javascript.Parser.parse(Parser.java:478) at net.sourceforge.htmlunit.corejs.javascript.Context.compileImpl(Context.java:2465) at net.sourceforge.htmlunit.corejs.javascript.Context.compileString(Context.java:1452) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory$TimeoutContext.compileString(HtmlUnitContextFactory.java:201) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.evalSpecial(ScriptRuntime.java:2553) at net.sourceforge.htmlunit.corejs.javascript.NativeGlobal.js_eval(NativeGlobal.java:498) at net.sourceforge.htmlunit.corejs.javascript.NativeGlobal.execIdCall(NativeGlobal.java:158) at net.sourceforge.htmlunit.corejs.javascript.IdFunctionObject.call(IdFunctionObject.java:97) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2479) at net.sourceforge.htmlunit.corejs.javascript.BaseFunction.execIdCall(BaseFunction.java:269) at net.sourceforge.htmlunit.corejs.javascript.IdFunctionObject.call(IdFunctionObject.java:97) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1473)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    DavidDavid
    9 times, last one
    raytestraytest
    4 times, last one
    MoYaproMoYapro
    2 times, last one
    mellsonmellson
    Once,
    Unknown visitor
    Unknown visitorOnce,
    1 more bugmates