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)


Solutions on the web

Solution icon of sourceforge
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)

Solution icon of sourceforge
TypeError: Cannot find function getElementsBySelector. (Embedded script in http://localhost:8080/simplescrum/test.html from (14, 13) to (0, 0)#3)

Solution icon of sourceforge
Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: VBGetSwfVer is not a function, it is null. (http://www.citibank.de/js/flashdetect.js#34) (Embedded script in https://cipehb17.cdg.citibank.de/Pers/English_%28United_States%29/Redirect.htm?LANG=1&LANGNAME=English_(United_States)&DEVICEMODE=HTMLGPH&SRCT=10 from (5, 29) to (0, 0)#84)

Solution icon of sourceforge
Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "element" from null (Window.eval()#1) (Embedded script in http://www.gargoylesoftware.com/#5)

Solution icon of coderanch
via Coderanch by Anil Prasad, 10 months ago
TypeError: Cannot read property "style" from null (http://ebsi-dell-09:81/is-bin/intershop.static/WFS/PrcMindef/-/en_US/jscript/popcalendar.js#179)

Solution icon of sourceforge
TypeError: Cannot set property "_label" of null to "First Name" (http://www.linkedin.com/js/public_profile.js#1)

Solution icon of web
TypeError: Cannot find function createEvent. ( )

Solution icon of web
via icesoft.org by Unknown author, 1 year ago
TypeError: Cannot find function createEvent. ( )

Stack trace

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

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

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, 3 weeks ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
5 times, 1 year ago
1 more bugmates