java.lang.RuntimeException: com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot call method "split" of undefined (https://assets.bwbx.io/business/public/javascripts/application-6e1529c288.js#79)

Stack Overflow | jay tai | 3 months ago
  1. 0

    Simulating page click in HtmlUnit (2.33) gives invalid or illegal selector exception

    Stack Overflow | 3 months ago | jay tai
    java.lang.RuntimeException: com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot call method "split" of undefined (https://assets.bwbx.io/business/public/javascripts/application-6e1529c288.js#79)
  2. 0

    got error and exceptions using HtmlUnit in Java

    Stack Overflow | 2 years ago | Darius Miliauskas
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function getElementsByClassName in object [object HTMLDocument]. (script in http://www.delfi.lt/ from (1545, 32) to (1548, 10)#1546)
  3. 0

    Using htmlunit try to login in a website, facing this kind error

    Stack Overflow | 6 years ago | jeswang
    net.sourceforge.htmlunit.corejs.javascript.WrappedException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function createElement in object [object]. (http://cnc.qzs.qq.com/ac/qzone/qzfl/qzfl_2.0.9.0.js#331)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't access a certain page with HTMLUnit

    Stack Overflow | 3 years ago | Lelv
    com.gargoylesoftware.htmlunit.ScriptException: ReferenceError: "addEventListener" is not defined. (script in http://www.itba.edu.ar/ from (687, 52) to (692, 15)#687)
  6. 0

    getPage() function HTML Unit

    Stack Overflow | 3 years ago | Can ├ľncel
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function getPropertyValue in object [object ComputedCSSStyleDeclaration]. (http://www.vatanbilgisayar.com/Scripts/jquery-base.min.js#2)

  1. MoYapro 2 times, last 1 month ago
  2. mellson 1 times, last 3 months ago
1 unregistered visitors
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

    TypeError: Cannot call method "split" of undefined (https://assets.bwbx.io/business/public/javascripts/application-6e1529c288.js#79)

    at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError()
  2. HtmlUnit Core JS
    ContextFactory.doTopCall
    1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3915)
    2. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3899)
    3. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3924)
    4. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3940)
    5. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.undefCallError(ScriptRuntime.java:3956)
    6. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2390)
    7. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2384)
    8. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1342)
    9. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:800)
    10. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
    11. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:413)
    11 frames
  3. HtmlUnit
    HtmlUnitContextFactory.doTopCall
    1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:252)
    1 frame
  4. HtmlUnit Core JS
    InterpretedFunction.exec
    1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3264)
    2. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115)
    2 frames
  5. HtmlUnit
    JavaScriptEngine$HtmlUnitContextAction.run
    1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:794)
    2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:906)
    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:515)
    2 frames
  7. HtmlUnit
    WebClient.getPage
    1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:803)
    2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:779)
    3. com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:975)
    4. com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:352)
    5. com.gargoylesoftware.htmlunit.html.HtmlScript$2.execute(HtmlScript.java:238)
    6. com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:277)
    7. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:519)
    8. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:386)
    9. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:304)
    10. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:451)
    11. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:436)
    11 frames
  8. com.jsoup.test
    BloombergTest.main
    1. com.jsoup.test.BloombergTest.getBloomNewsHtmlUnit(BloombergTest.java:71)
    2. com.jsoup.test.BloombergTest.main(BloombergTest.java:37)
    2 frames