com.gargoylesoftware.htmlunit.ScriptException

TypeError: Cannot find function rotate in object [object CanvasRenderingContext2D]. ( )

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 web283

  • via nabble.com by Unknown author, 11 months ago
    TypeError: Cannot find function rotate in object [object CanvasRenderingContext2D]. ( )
  • TypeError: Cannot find function translate in object [object CanvasRenderingContext2D]. (http://localhost:21100/website/js/jquery/flot/jquery.flot.min.js#1)
  • via Stack Overflow by Earthstar
    , 1 year ago
    TypeError: Cannot find function testWidget in object [object Object].
  • Stack trace

    • com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function rotate in object [object CanvasRenderingContext2D]. ( ) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:663) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:559) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:525) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:594) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:569) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:996) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeEventListeners(EventListenersContainer.java:175) at com.gargoylesoftware.htmlunit.javascript.host.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:234) at com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:803) at com.gargoylesoftware.htmlunit.javascript.host.Node.fireEvent(Node.java:737) at com.gargoylesoftware.htmlunit.html.HtmlElement$1.run(HtmlElement.java:853) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:559) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:525) at com.gargoylesoftware.htmlunit.html.HtmlElement.fireEvent(HtmlElement.java:858) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1259) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:214) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:440) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:308) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:373) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:358) at JavaScriptProcessor.main(JavaScriptProcessor.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) Caused by: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find function rotate in object [object CanvasRenderingContext2D]. ( ) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3732) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3710) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3738) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3757) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3829) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2277) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2259) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1317) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:815) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:109) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:415) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:274) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3132) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:107) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:587) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:651)

    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, 11 months ago
    4 times, 4 months ago
    2 times, 9 months ago
    Unknown user
    Once, 1 year ago
    9 times, 1 month ago
    1 more bugmates