com.gargoylesoftware.htmlunit.ScriptException: Wrapped java.lang.IllegalArgumentException: java.lang.ClassCastException@63fd8876 (http://storeimages.apple.com/2288/store.apple.com/rs/js/coherent/release/coherent.js#18)


Solutions on the web168

Solution icon of sourceforge
Wrapped java.lang.IllegalArgumentException: java.lang.ClassCastException@63fd8876 (http://storeimages.apple.com/2288/store.apple.com/rs/js/coherent/release/coherent.js#18)

Solution icon of web
via hivmr.com by Unknown author, 1 year ago
Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "length" from undefined (http://negrainau.tilsor.com.uy:7777/uiSipi/adf/jsLibs/Common10_1_3_3_0.js#4384

Solution icon of sourceforge
Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function importNode. (http://negrainau.tilsor.com.uy:7777/uiSipi/adf/jsLibs/Common10_1_3_3_0.js#5707) (http://negrainau.tilsor.com.uy:7777/uiSipi/adf/jsLibs/Common10_1_3_3_0.js#3006)

Solution icon of stackoverflow
via Stack Overflow by dhananjay
, 1 year ago
Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function aa in object [object Object]. (https://apis.google.com/_/apps-static/_/js/gapi/plusone/rt=j/ver=use0LfpKko4.en_US./sv=1/am=!CVDWKorrwvOYBs7wcQ/d=1/rs=AItRSTMxl0wiQySaT0IYW5gyOkdlVL9A6A/cb=gapi.loaded_0#3)

Solution icon of stackoverflow
Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function createElement in object [object]. (http://cnc.qzs.qq.com/ac/qzone/qzfl/qzfl_2.0.9.0.js#331)

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

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

Solution icon of coderanch
via Coderanch by Ramakrishna Udupa, 10 months ago
Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "prototype" from undefined (https://apis.google.com/js/client:plusone.js?onload=rendHiddenGLogin#13)

Solution icon of sourceforge
Wrapped java.lang.RuntimeException: Could not retrieve XPath >//parsererror< on HtmlHtml[<html xmlns="http://www.w3.org/1999/xhtml">] (http://localhost:8080/jboss-jsfunit-examples-ajax4jsf/a4j.res/org.ajax4jsf.framework.ajax.AjaxScript.jsf#18)

Solution icon of web
Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot read property "prototype" from undefined (https://apis.google.com/js/client:plusone.js?onload=rendHiddenGLogin#13)

Stack trace

com.gargoylesoftware.htmlunit.ScriptException: Wrapped java.lang.IllegalArgumentException: java.lang.ClassCastException@63fd8876 (http://storeimages.apple.com/2288/store.apple.com/rs/js/coherent/release/coherent.js#18)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:595)
	at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:537)
	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:538)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:545)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:520)
	at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:896)
	at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeEventHandler(EventListenersContainer.java:195)
	at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:214)
	at com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:735)
	at com.gargoylesoftware.htmlunit.html.HtmlElement$2.run(HtmlElement.java:866)
	at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:537)
	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:538)
	at com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:871)
	at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1162)
	at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:202)
	at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:440)
	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:311)
	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:373)
	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:358)
	at Main.main(Main.java:47)
Caused by: net.sourceforge.htmlunit.corejs.javascript.WrappedException: Wrapped java.lang.IllegalArgumentException: java.lang.ClassCastException@63fd8876 (http://storeimages.apple.com/2288/store.apple.com/rs/js/coherent/release/coherent.js#18)
	at net.sourceforge.htmlunit.corejs.javascript.Context.throwAsScriptRuntimeEx(Context.java:1802)
	at net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:200)
	at net.sourceforge.htmlunit.corejs.javascript.FunctionObject.call(FunctionObject.java:479)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1701)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:854)
	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:429)
	at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:267)
	at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3183)
	at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:538)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:589)
	... 19 more
Caused by: java.lang.IllegalArgumentException: java.lang.ClassCastException@63fd8876
	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:172)
	... 29 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

Once, 4 weeks ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
6 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
6 times, 2 months ago
94 more bugmates