com.gargoylesoftware.htmlunit.ScriptException

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.

  • [JIRA] (JENKINS-36630) Migrate matrix-project to parent pom
    via by kwhet...@cloudbees.com (JIRA),
  • HtmlUnit doesnt getPage
    via Stack Overflow by Setekorrales
    ,
  • Login to gmail using HtmlUnit
    via Stack Overflow by Harish Mohanani
    ,
  • Syntax error - unrecognized expression in jquery 1.4.2
    via by Yannick Grenzinger,
  • Issue 1419 in selenium: HtmlUnitDriver is broken in 2.0b2
    via by sele...@googlecode.com,
    • com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function on in object <span class="error">[object HTMLSpanElement]</span>. (<a href="http://localhost:46836/jenkins/static/b7504d27/scripts/hudson-behavior.js#2806" class="external-link" rel="nofollow" style="color: #3b73af; text-decoration: none">http://localhost:46836/jenkins/static/b7504d27/scripts/hudson-behavior.js#2806</a>) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:865) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:796) at com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.setState(XMLHttpRequest.java:224) at com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.doSend(XMLHttpRequest.java:775) at com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.access$000(XMLHttpRequest.java:105) at com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest$1.run(XMLHttpRequest.java:630) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513) at com.gargoylesoftware.htmlunit.javascript.background.JavascriptXMLHttpRequestJob.run(JavascriptXMLHttpRequestJob.java:37) at com.gargoylesoftware.htmlunit.javascript.background.JavaScriptJobManagerImpl.runSingleJob(JavaScriptJobManagerImpl.java:428) at com.gargoylesoftware.htmlunit.javascript.background.DefaultJavaScriptExecutor.run(DefaultJavaScriptExecutor.java:168) at java.lang.Thread.run(Thread.java:745) Caused by: net.sourceforge.htmlunit.corejs.javascript.JavaScriptException: TypeError: Cannot find function on in object <span class="error">[object HTMLSpanElement]</span>. (<a href="http://localhost:46836/jenkins/static/b7504d27/scripts/hudson-behavior.js#2806" class="external-link" rel="nofollow" style="color: #3b73af; text-decoration: none">http://localhost:46836/jenkins/static/b7504d27/scripts/hudson-behavior.js#2806</a>) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1006) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:310) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3286) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:789) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:850) ... 13 more

    Users with the same issue

    DavidDavid
    2 times, last one,