com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot call method "appendChild" of null (http://yui.yahooapis.com/2.6.0/build/datatable/datatable-min.js#12)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via htmlunit by rjhazelwood
, 1 year ago
TypeError: Cannot call method "appendChild" of null (http://yui.yahooapis.com/2.6.0/build/datatable/datatable-min.js#12)
via htmlunit by mcrogiez
, 1 year ago
TypeError: Cannot read property "target" from undefined (http://localhost:8080/tutu/js/prototype.js#3743)
via Google Groups by megid, 2 years ago
TypeError: Cannot read property "__gwt_initHandlers" from null (http://localhost/gwt/www/ com.google.gwt.sample.kitchensink.KitchenSink/ com.google.gwt.sample.kitchensink.KitchenSink.nocache.js#2)
via Google Groups by megid, 2 years ago
TypeError: Cannot read property "__gwt_initHandlers" from null (http://localhost/gwt/www/ com.google.gwt.sample.kitchensink.KitchenSink/ com.google.gwt.sample.kitchensink.KitchenSink.nocache.js#2)
via htmlunit by r_parkin
, 1 year ago
ReferenceError: "$ES" is not defined. (http://dmitriy:8080/js/leftmenu.js#8)
via htmlunit by zuzum2
, 1 year ago
Wrapped java.lang.RuntimeException: Could not retrieve XPath >.//null:fb:login-button< on HtmlBody[<body>] (http://static.ak.fbcdn.net/rsrc.php/z9O0N/lpkg/9lb011lo/nu_ll/141/151525/js/connect.js.pkg.php#726)
org.mozilla.javascript.EcmaError: TypeError: Cannot call method "appendChild" of null (http://yui.yahooapis.com/2.6.0/build/datatable/datatable-min.js#12)
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.undefCallError(ScriptRuntime.java:3602)
at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2161)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3170)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2484)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
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)
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:560)
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.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1154)
at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:173)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:456)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:331)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:388)
at au.com.suncorp.ffe.audit.htmlunit.HtmlUnitTest.ajax(HtmlUnitTest.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
at com.intellij.rt.junit4.Junit4ClassSuite.run(Junit4ClassSuite.java:99)
at com.intellij.rt.execution.junit.IdeaTestRunner.doRun(IdeaTestRunner.java:94)
at com.intellij.rt.execution.junit.IdeaTestRunner.startRunnerWithArgs(IdeaTestRunner.java:22)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Users with the same issue

5 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.