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)

htmlunit | rbodziony | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    EcmaError: TypeError: Cannot read property "className"

    htmlunit | 9 years ago | rbodziony
    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)
  2. 0

    JQuery parsing error

    htmlunit | 9 years ago | nobody
    com.gargoylesoftware.htmlunit.ScriptException: SyntaxError: missing ; before statement (http://login.shoppr.com/web/20081018/js/jquery.validate.pack.js#15(eval)#1)
  3. 0

    calling a JavaScript function in a child frame

    htmlunit | 9 years ago | jblemee
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot call method "foo" of undefined (script in http://first/ from (2, 10) to (2, 64)#2)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GWT 1.4 and HtmlUnit 2.1

    Google Groups | 9 years ago | megid
    com.gargoylesoftware.htmlunit.ScriptException: 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)
  6. 0

    GWT 1.4 and HtmlUnit 2.1

    Google Groups | 9 years ago | megid
    com.gargoylesoftware.htmlunit.ScriptException: 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)

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

      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()
    2. Rhino
      ContextFactory.doTopCall
      1. org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3350)
      2. org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3340)
      3. org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3356)
      4. org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3375)
      5. org.mozilla.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3388)
      6. org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1362)
      7. org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:2965)
      8. org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2394)
      9. org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
      10. org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
      10 frames
    3. HtmlUnit
      HtmlUnitContextFactory.doTopCall
      1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:192)
      1 frame
    4. Rhino
      InterpretedFunction.exec
      1. org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
      2. org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:173)
      2 frames
    5. HtmlUnit
      JavaScriptEngine$HtmlUnitContextAction.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$5.doRun(JavaScriptEngine.java:429)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:553)
      2 frames
    6. Rhino
      Context.call
      1. org.mozilla.javascript.Context.call(Context.java:577)
      2. org.mozilla.javascript.Context.call(Context.java:499)
      2 frames
    7. HtmlUnit
      HTMLParser$HtmlUnitDOMBuilder.endElement
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:438)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:412)
      3. com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:938)
      4. com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:239)
      5. com.gargoylesoftware.htmlunit.html.HtmlScript.appendDomChild(HtmlScript.java:174)
      6. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.handleCharacters(HTMLParser.java:443)
      7. com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:401)
      7 frames
    8. Xerces2-j
      AbstractSAXParser.endElement
      1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      1 frame
    9. Maven
      HTMLConfiguration.parse
      1. org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:258)
      2. org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:376)
      3. org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1024)
      4. org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:897)
      5. org.cyberneko.html.HTMLScanner$SpecialScanner.scan(HTMLScanner.java:2947)
      6. org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:858)
      7. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:487)
      8. org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:440)
      8 frames
    10. Xerces2-j
      XMLParser.parse
      1. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      1 frame
    11. HtmlUnit
      WebClient.getPage
      1. com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:253)
      2. com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:116)
      3. com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:89)
      4. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:453)
      5. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:362)
      6. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:410)
      7. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:398)
      7 frames
    12. Unknown
      TestOne.testDojoPage
      1. TestOne.testDojoPage(TestOne.java:19)
      1 frame
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:615)
      4 frames
    14. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:154)
      2. junit.framework.TestCase.runBare(TestCase.java:127)
      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:118)
      7. junit.framework.TestSuite.runTest(TestSuite.java:208)
      8. junit.framework.TestSuite.run(TestSuite.java:203)
      8 frames
    15. 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