com.gargoylesoftware.htmlunit.ScriptException

TypeError: Cannot call property ajaxRequest in object [JavaPackage javax.faces.Ajax]. It is not a function, it is "object".

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web316

  • TypeError: Cannot call property ajaxRequest in object [JavaPackage javax.faces.Ajax]. It is not a function, it is "object".
  • via htmlunit by dungdung123
    , 11 months ago
    TypeError: Cannot call property namespaces in object [object]. It is not a function, it is "object". (http://maps.gstatic.com/intl/en_ALL/mapfiles/165c/maps2/main.js#1299)
  • TypeError: isWhiteSpace is not a function, it is undefined.
  • Stack trace

    • com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot call property ajaxRequest in object [JavaPackage javax.faces.Ajax]. It is not a function, it is "object". at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:528) at org.mozilla.javascript.Context.call(Context.java:502) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:511) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:437) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:917) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeEventHandler(EventListenersContainer.java:143) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:156) at com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:550) at com.gargoylesoftware.htmlunit.html.HtmlElement$2.run(HtmlElement.java:1251) at org.mozilla.javascript.Context.call(Context.java:502) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:511) at com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:1255) at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:136) at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:107) at com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElement.java:76) at com.sun.faces.ajax.AjaxRequestTestCase.testAjaxCount(AjaxRequestTestCase.java:47) Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot call property ajaxRequest in object [JavaPackage javax.faces.Ajax]. It is not a function, it is "object". at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3558) at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3536) at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3564) at org.mozilla.javascript.ScriptRuntime.typeError3(ScriptRuntime.java:3590) at org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3650) at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2187) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3170) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2484) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:170) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3004) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162) at com.gargoylesoftware.htmlunit.javascript.host.EventHandler.call(EventHandler.java:78) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:465) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$6.doRun(JavaScriptEngine.java:430) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:522)

    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

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 10 months ago
    5 times, 1 year ago
    Unknown user
    Once, 1 year ago