com.gargoylesoftware.htmlunit.ScriptException: TypeError: hp_d01 is not a function, it is null. (Embedded script in http://localhost/tt/htmunittest.htm from (3, 31) to (0, 0)#3)

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GWT 1.4 and HtmlUnit 2.1
    via by megid,
  • GWT 1.4 and HtmlUnit 2.1
    via by megid,
  • Error on Test JSF
    via by 843844,
  • YUI 2.6.0 XHR request not working
    via htmlunit by rjhazelwood
    ,
    • com.gargoylesoftware.htmlunit.ScriptException: TypeError: hp_d01 is not a function, it is null. (Embedded script in http://localhost/tt/htmunittest.htm from (3, 31) to (0, 0)#3) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:260) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:697) at com.gargoylesoftware.htmlunit.html.HtmlScript.appendChild(HtmlScript.java:188) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.handleCharacters(HTMLParser.java:455) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:415) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:249) at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:367) at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1015) at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:888) at org.cyberneko.html.HTMLScanner$SpecialScanner.scan(HTMLScanner.java:2831) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:809) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:478) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:431) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:346) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:229) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:112) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:85) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:441) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:345) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:399) at test.TestScript.testDocumentWrite(TestScript.java:33) at test.TestScript.main(TestScript.java:18) Caused by: org.mozilla.javascript.EcmaError: TypeError: hp_d01 is not a function, it is null. (Embedded script in http://localhost/tt/htmunittest.htm from (3, 31) to (0, 0)#3) at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3229) at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3219) at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3235) at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3254) at org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3309) at org.mozilla.javascript.ScriptRuntime.getNameFunctionAndThis(ScriptRuntime.java:1896) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:2923) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2251) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:161) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:151) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758) at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:172) at org.mozilla.javascript.Context.evaluateString(Context.java:1132) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:255) ... 23 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Juraji
    Juraji5 times, last one,
    Unknown visitor1 times, last one,