com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "className" from undefined (http://www.dojotoolkit.org/sites/all/modules/dojo/dtk_build/dojo/dojo.js#20)

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 rbodziony
, 1 year ago
TypeError: Cannot read property "className" from undefined (http://www.dojotoolkit.org/sites/all/modules/dojo/dtk_build/dojo/dojo.js#20)
via htmlunit by mattinger
, 1 year ago
TypeError: iterator is not a function, it is org.mozilla.javascript.NativeObject. (script in file:test.html from (3, 36) to (0, 0)#15)
via htmlunit by jotremar
, 1 year ago
TypeError: Cannot call method "lastIndexOf" of undefined (http://www.ruralvia.com/cms/estatico/system/modules/com.ruralvia.generico.module/resources/js/menu.js#141)
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)
via htmlunit by mncp
, 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)
via htmlunit by vzs64
, 1 year ago
TypeError: Cannot call method "appendChild" of null (js#31)
com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "className" from undefined (http://www.dojotoolkit.org/sites/all/modules/dojo/dtk_build/dojo/dojo.js#20)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3350)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3340)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3356)
at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3375)
at org.mozilla.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3388)
at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1362)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:2965)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2394)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:173)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$5.doRun(JavaScriptEngine.java:429)
at org.mozilla.javascript.Context.call(Context.java:577)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:438)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:412)
at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:938)
at com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:239)
at com.gargoylesoftware.htmlunit.html.HtmlScript.appendDomChild(HtmlScript.java:174)
at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.handleCharacters(HTMLParser.java:443)
at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:258)
at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:376)
at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1024)
at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:897)
at org.cyberneko.html.HTMLScanner$SpecialScanner.scan(HTMLScanner.java:2947)
at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:858)
at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:487)
at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:440)
at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:253)
at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:116)
at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:89)
at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:453)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:362)
at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:410)
at undefined.TestOne.testDojoPage(TestOne.java:19)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
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.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
5 times, 1 year ago
1 more bugmates

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