com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "style" from undefined (http://www.expenselog.net/expenselog.js#445)

htmlunit | dzenno | 8 years ago
  1. 0

    Incorrect HTML (table with div) not parsed correctly

    htmlunit | 8 years ago | dzenno
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "style" from undefined (http://www.expenselog.net/expenselog.js#445)
  2. 0

    General discussion of the development of HtmlUnit ()

    gmane.org | 7 months ago
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "style" from undefined ( )
  3. 0

    How to click on a javascript button in htmlunit

    Stack Overflow | 4 years ago | ManahManah
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "cancelBubble" from undefined (http://www.amadeusepower.com/trek/Amadeus/js/Functions.js#64)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 read property "style" from undefined (http://www.expenselog.net/expenselog.js#445)

      at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError()
    2. HtmlUnit Core JS
      InterpretedFunction.call
      1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3654)
      2. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3632)
      3. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3660)
      4. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3679)
      5. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3692)
      6. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1421)
      7. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:3027)
      8. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:2487)
      9. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
      9 frames
    3. HtmlUnit
      XMLHttpRequest.jsxFunction_send
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:492)
      2. com.gargoylesoftware.htmlunit.javascript.host.XMLHttpRequest.setState(XMLHttpRequest.java:165)
      3. com.gargoylesoftware.htmlunit.javascript.host.XMLHttpRequest.doSend(XMLHttpRequest.java:440)
      4. com.gargoylesoftware.htmlunit.javascript.host.XMLHttpRequest.jsxFunction_send(XMLHttpRequest.java:375)
      4 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:585)
      4 frames
    5. HtmlUnit Core JS
      ContextFactory.doTopCall
      1. net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:161)
      2. net.sourceforge.htmlunit.corejs.javascript.FunctionObject.call(FunctionObject.java:476)
      3. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:3330)
      4. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:2487)
      5. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
      6. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
      6 frames
    6. HtmlUnit
      HtmlUnitContextFactory.doTopCall
      1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:267)
      1 frame
    7. HtmlUnit Core JS
      InterpretedFunction.exec
      1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
      2. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
      2 frames
    8. HtmlUnit
      JavaScriptEngine$HtmlUnitContextAction.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$5.doRun(JavaScriptEngine.java:423)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:528)
      2 frames
    9. HtmlUnit Core JS
      ContextFactory.call
      1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:515)
      2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:507)
      2 frames
    10. HtmlUnit
      HtmlElement.click
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:432)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:407)
      3. com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:959)
      4. com.gargoylesoftware.htmlunit.html.HtmlAnchor.doClickAction(HtmlAnchor.java:87)
      5. com.gargoylesoftware.htmlunit.html.HtmlAnchor.doClickAction(HtmlAnchor.java:121)
      6. com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1329)
      7. com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1288)
      8. com.gargoylesoftware.htmlunit.html.HtmlElement.click(HtmlElement.java:1257)
      8 frames
    11. com.shrinkray.service
      ExpenseLogWebClientTest.testExpenseLog
      1. com.shrinkray.service.ssje.ExpenseLogWebClientTest.testExpenseLog(ExpenseLogWebClientTest.java:41)
      1 frame
    12. 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:585)
      4 frames
    13. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:164)
      2. junit.framework.TestCase.runBare(TestCase.java:130)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:120)
      7. junit.framework.TestSuite.runTest(TestSuite.java:230)
      8. junit.framework.TestSuite.run(TestSuite.java:225)
      8 frames
    14. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
      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