com.gargoylesoftware.htmlunit.ScriptException

TypeError: Cannot read property "target" from undefined (http://localhost:8080/tutu/js/prototype.js#3743)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web317

  • TypeError: Cannot read property "target" from undefined (http://localhost:8080/tutu/js/prototype.js#3743)
  • via htmlunit by alexinspire
    , 5 months ago
    TypeError: Cannot read property "call" from undefined (http://loginza.ru/js/widget_api.pack.js?rev =20110902vk#1(eval)#1)
  • via hivmr.com by Unknown author, 1 year ago
    TypeError: Cannot read property "length" from undefined (http://negrainau.tilsor.com.uy:7777/uiSipi/adf/jsLibs/Common10_1_3_3_0.js#4384)
  • Stack trace

    • com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "target" from undefined (http://localhost:8080/tutu/js/prototype.js#3743) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:528) at org.mozilla.javascript.Context.call(Context.java:502) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:511) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:437) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:917) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeEventListeners(EventListenersContainer.java:126) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:163) at com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:550) at com.gargoylesoftware.htmlunit.html.HtmlElement$2.run(HtmlElement.java:1251) at org.mozilla.javascript.Context.call(Context.java:502) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:511) at com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:1255) at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:136) at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:107) at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:76) at IndexTest.testValidateFailure(IndexTest.java:20) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot read property "target" from undefined (http://localhost:8080/tutu/js/prototype.js#3743) at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3558) at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3536) at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3564) at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3583) at org.mozilla.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3596) at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1382) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3054) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2484) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:170) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3004) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:465) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$6.doRun(JavaScriptEngine.java:430) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:522) ... 30 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 10 months ago
    5 times, 1 year ago
    Unknown user
    Once, 1 year ago