com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "element" from null (Window.eval()#1) (Embedded script in http://www.gargoylesoftware.com/#5)

htmlunit | frederic-tardif | 1 decade ago
  1. 0

    JavaScript: window.eval does evaluate local scope

    htmlunit | 1 decade ago | frederic-tardif
    com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "element" from null (Window.eval()#1) (Embedded script in http://www.gargoylesoftware.com/#5)
  2. 0

    httpUnit error in java

    Stack Overflow | 6 years ago | asas
    org.mozilla.javascript.EcmaError: TypeError: Cannot find function attachEvent in object [object Image].
  3. 0

    sbt and scala.js (with Node.js) can't run with a local .js dependency due to "TypeError: undefined is not a function"

    Stack Overflow | 1 year ago | user2542896
    org.mozilla.javascript.EcmaError: TypeError: Cannot call method "querySelector" of undefined (/Users/dwalend/.ivy2/cache/org.webjars/d3js/jars/d3js-3.5.5-1.jar#META-INF/resources/webjars/d3js/3.5.5/d3.min.js#3)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Flash detection failed missing function VBGetSwfVer

    htmlunit | 10 years ago | stst123
    com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: VBGetSwfVer is not a function, it is null. (http://www.citibank.de/js/flashdetect.js#34) (Embedded script in https://cipehb17.cdg.citibank.de/Pers/English_%28United_States%29/Redirect.htm?LANG=1&LANGNAME=English_(United_States)&DEVICEMODE=HTMLGPH&SRCT=10 from (5, 29) to (0, 0)#84)
  6. 0

    LessCSSProcessor

    Google Groups | 6 years ago | stephanos
    ro.isdc.wro.WroRuntimeException: Could not execute the script because: ReferenceError: "loadStyleSheet" is not defined.

    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. org.mozilla.javascript.EcmaError

      TypeError: Cannot read property "element" from null (Window.eval()#1)

      at org.mozilla.javascript.ScriptRuntime.constructError()
    2. Rhino
      Context.evaluateString
      1. org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3226)
      2. org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3216)
      3. org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3232)
      4. org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3251)
      5. org.mozilla.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3264)
      6. org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1321)
      7. org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:2815)
      8. org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2250)
      9. org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:163)
      10. org.mozilla.javascript.Context.evaluateString(Context.java:1132)
      10 frames
    3. HtmlUnit
      Window.jsxFunction_eval
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:252)
      2. com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:704)
      3. com.gargoylesoftware.htmlunit.javascript.host.Window.jsxFunction_eval(Window.java:898)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    5. Rhino
      ContextFactory.doTopCall
      1. org.mozilla.javascript.MemberBox.invoke(MemberBox.java:142)
      2. org.mozilla.javascript.FunctionObject.call(FunctionObject.java:468)
      3. org.mozilla.javascript.ScriptRuntime.callSpecial(ScriptRuntime.java:2090)
      4. org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:2984)
      5. org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2250)
      6. org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:149)
      7. org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:337)
      7 frames
    6. HtmlUnit
      HtmlUnitContextFactory.doTopCall
      1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:151)
      1 frame
    7. Rhino
      Context.evaluateString
      1. org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2755)
      2. org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:160)
      3. org.mozilla.javascript.Context.evaluateString(Context.java:1132)
      3 frames
    8. HtmlUnit
      HTMLParser$HtmlUnitDOMBuilder.endElement
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:252)
      2. com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:704)
      3. com.gargoylesoftware.htmlunit.html.HtmlScript.appendChild(HtmlScript.java:187)
      4. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.handleCharacters(HTMLParser.java:419)
      5. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:380)
      5 frames
    9. Xerces2-j
      AbstractSAXParser.endElement
      1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      1 frame
    10. Maven
      HTMLConfiguration.parse
      1. org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:249)
      2. org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:367)
      3. org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1015)
      4. org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:888)
      5. org.cyberneko.html.HTMLScanner$SpecialScanner.scan(HTMLScanner.java:2831)
      6. org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:809)
      7. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:478)
      8. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:431)
      8 frames
    11. Xerces2-j
      XMLParser.parse
      1. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      1 frame
    12. HtmlUnit
      WindowTest.testEvalScope2
      1. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:313)
      2. com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:227)
      3. com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:112)
      4. com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:85)
      5. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:431)
      6. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:335)
      7. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389)
      8. com.gargoylesoftware.htmlunit.WebTestCase.loadPage(WebTestCase.java:204)
      9. com.gargoylesoftware.htmlunit.WebTestCase.loadPage(WebTestCase.java:155)
      10. com.gargoylesoftware.htmlunit.javascript.host.WindowTest.testEvalScope2(WindowTest.java:1991)
      10 frames
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    14. JUnit
      TestCase.runTest
      1. junit.framework.TestCase.runTest(TestCase.java:154)
      1 frame
    15. HtmlUnit
      WebTestCase.runTest
      1. com.gargoylesoftware.htmlunit.WebTestCase.runTest(WebTestCase.java:407)
      1 frame
    16. JUnit
      TestCase.run
      1. junit.framework.TestCase.runBare(TestCase.java:127)
      2. junit.framework.TestResult$1.protect(TestResult.java:106)
      3. junit.framework.TestResult.runProtected(TestResult.java:124)
      4. junit.framework.TestResult.run(TestResult.java:109)
      5. junit.framework.TestCase.run(TestCase.java:118)
      5 frames
    17. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
      2. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
      6. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      6 frames