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>)

Google Groups | kwhet...@cloudbees.com (JIRA) | 9 months 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

    [JIRA] (JENKINS-36630) Migrate matrix-project to parent pom

    Google Groups | 9 months ago | kwhet...@cloudbees.com (JIRA)
    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>)
  2. 0

    HtmlUnit invoking click event that contains JavaScript behind

    Stack Overflow | 12 months ago | K.Ariche
    com.gargoylesoftware.htmlunit.ScriptException: Sys.ParameterCountException: Sys.ParameterCountException: Parameter count mismatch. (http://medicaments-maroc.com/ScriptResource.axd?d=jyjiD6NmZgsWAPNSX3rL0rrasCTnD6Q1NsPRxdHfT0VwwhEA4f9pYSUx1U_tgrHyiDC69lrSo4xJuvvtxucOYbUEfgo5UZ8udasbpWce4Y0-08yH67d5GLdX_qq6qNGvB5og0J5eb95EVfKfjNgzkkP0CxRgbnZZGGh3yfJAh0KM7Qyo0&t=2e2045e2#52)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Grab an html file with executed Javascripts in Java

    Stack Overflow | 1 year ago | oRookie
    com.gargoylesoftware.htmlunit.ScriptException: TagError: adsbygoogle.push() error: No slot size for availableWidth=0 (http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js#4)
  5. 0

    HtmlUnit doesnt getPage

    Stack Overflow | 11 months ago | Setekorrales
    com.gargoylesoftware.htmlunit.ScriptException: AssertionError: Assertion failed: No element found with className: signin-card (script in https://accounts.google.com/login?hl=es#identifier from (2653, 11) to (2753, 10)#2660)

    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.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()
    2. HtmlUnit Core JS
      ContextFactory.doTopCall
      1. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1006)
      2. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)
      3. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
      4. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411)
      4 frames
    3. HtmlUnit
      HtmlUnitContextFactory.doTopCall
      1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:310)
      1 frame
    4. HtmlUnit Core JS
      ScriptRuntime.doTopCall
      1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3286)
      1 frame
    5. HtmlUnit
      JavaScriptEngine$HtmlUnitContextAction.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:789)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:850)
      2 frames
    6. HtmlUnit Core JS
      ContextFactory.call
      1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628)
      2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513)
      2 frames
    7. HtmlUnit
      XMLHttpRequest$1.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:796)
      2. com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.setState(XMLHttpRequest.java:224)
      3. com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.doSend(XMLHttpRequest.java:775)
      4. com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest.access$000(XMLHttpRequest.java:105)
      5. com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest$1.run(XMLHttpRequest.java:630)
      5 frames
    8. HtmlUnit Core JS
      ContextFactory.call
      1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628)
      2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513)
      2 frames
    9. HtmlUnit
      DefaultJavaScriptExecutor.run
      1. com.gargoylesoftware.htmlunit.javascript.background.JavascriptXMLHttpRequestJob.run(JavascriptXMLHttpRequestJob.java:37)
      2. com.gargoylesoftware.htmlunit.javascript.background.JavaScriptJobManagerImpl.runSingleJob(JavaScriptJobManagerImpl.java:428)
      3. com.gargoylesoftware.htmlunit.javascript.background.DefaultJavaScriptExecutor.run(DefaultJavaScriptExecutor.java:168)
      3 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame