java.lang.RuntimeException: Exception invoking setCookie

htmlunit | ypding | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    executing "document.cookie=..." causes ArrayStoreException

    htmlunit | 10 months ago | ypding
    java.lang.RuntimeException: Exception invoking setCookie

    Root Cause Analysis

    1. java.lang.RuntimeException

      Exception invoking setCookie

      at net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke()
    2. HtmlUnit Core JS
      ContextFactory.doTopCall
      1. net.sourceforge.htmlunit.corejs.javascript.MemberBox.invoke(MemberBox.java:181)
      2. net.sourceforge.htmlunit.corejs.javascript.ScriptableObject$GetterSlot.setValue(ScriptableObject.java:311)
      3. net.sourceforge.htmlunit.corejs.javascript.ScriptableObject$RelinkedSlot.setValue(ScriptableObject.java:384)
      4. net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.putImpl(ScriptableObject.java:2887)
      5. net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.put(ScriptableObject.java:547)
      6. net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.putProperty(ScriptableObject.java:2570)
      7. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1674)
      8. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1669)
      9. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1255)
      10. net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)
      11. net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105)
      12. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411)
      12 frames
    3. HtmlUnit
      HtmlUnitContextFactory.doTopCall
      1. com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:252)
      1 frame
    4. HtmlUnit Core JS
      ScriptRuntime.doTopCall
      1. net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3286)
      1 frame
    5. HtmlUnit
      JavaScriptEngine$HtmlUnitContextAction.run
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:818)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:879)
      2 frames
    6. HtmlUnit Core JS
      ContextFactory.call
      1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628)
      2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513)
      2 frames
    7. HtmlUnit
      InteractivePage.executeJavaScriptFunctionIfPossible
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:825)
      2. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:797)
      3. com.gargoylesoftware.htmlunit.InteractivePage.executeJavaScriptFunctionIfPossible(InteractivePage.java:216)
      3 frames
    8. com.gargoylesoftware.htmlunit
      EventTarget.fireEvent
      1. com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeEventListeners(EventListenersContainer.java:258)
      2. com.gargoylesoftware.htmlunit.javascript.host.event.EventListenersContainer.executeBubblingListeners(EventListenersContainer.java:322)
      3. com.gargoylesoftware.htmlunit.javascript.host.event.EventTarget.fireEvent(EventTarget.java:192)
      3 frames
    9. HtmlUnit
      DomElement$2.run
      1. com.gargoylesoftware.htmlunit.html.DomElement$2.run(DomElement.java:1174)
      1 frame
    10. HtmlUnit Core JS
      ContextFactory.call
      1. net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628)
      2. net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513)
      2 frames
    11. HtmlUnit
      WebClient.getPage
      1. com.gargoylesoftware.htmlunit.html.DomElement.fireEvent(DomElement.java:1179)
      2. com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1222)
      3. com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:253)
      4. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:519)
      5. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:386)
      6. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:304)
      7. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:451)
      8. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:436)
      8 frames
    12. com.abc.ability
      HtmlUnitDom.getPage
      1. com.abc.ability.checker.HtmlUnitDom.getPage(HtmlUnitDom.java:191)
      1 frame
    13. com.abc.compliance
      ScanPage.scanPage
      1. com.abc.compliance.accessibility.scanner.HTMLPageScanner.scanWithResults(HTMLPageScanner.java:78)
      2. com.abc.compliance.accessibility.web.services.ScanPage.scanPage(ScanPage.java:109)
      2 frames
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      4. java.lang.reflect.Method.invoke(Method.java:507)
      4 frames
    15. Apache Wink Server
      RequestProcessor.handleRequest
      1. org.apache.wink.server.internal.handlers.InvokeMethodHandler.handleRequest(InvokeMethodHandler.java:63)
      2. org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:33)
      3. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      4. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      5. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
      6. org.apache.wink.server.internal.handlers.CreateInvocationParametersHandler.handleRequest(CreateInvocationParametersHandler.java:54)
      7. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      8. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      9. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
      10. org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleResourceMethod(FindResourceMethodHandler.java:151)
      11. org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:65)
      12. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      13. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      14. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
      15. org.apache.wink.server.internal.handlers.FindRootResourceHandler.handleRequest(FindRootResourceHandler.java:95)
      16. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      17. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      18. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
      19. org.apache.wink.server.internal.handlers.HeadMethodHandler.handleRequest(HeadMethodHandler.java:53)
      20. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      21. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      22. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
      23. org.apache.wink.server.internal.handlers.OptionsMethodWADLHandler.handleRequest(OptionsMethodWADLHandler.java:51)
      24. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      25. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      26. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
      27. org.apache.wink.server.internal.handlers.SearchResultHandler.handleRequest(SearchResultHandler.java:33)
      28. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      29. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      30. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
      31. org.apache.wink.server.internal.log.ResourceInvocation.handleRequest(ResourceInvocation.java:92)
      32. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      33. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      34. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
      35. org.apache.wink.server.internal.log.Requests.handleRequest(Requests.java:76)
      36. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      37. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      38. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:75)
      39. org.apache.wink.server.handlers.AbstractHandlersChain.run(AbstractHandlersChain.java:60)
      40. org.apache.wink.server.internal.RequestProcessor.handleRequestWithoutFaultBarrier(RequestProcessor.java:207)
      41. org.apache.wink.server.internal.RequestProcessor.handleRequest(RequestProcessor.java:154)
      41 frames
    16. com.abc.websphere
      IBMRestServlet.service
      1. com.abc.websphere.jaxrs.server.IBMRestServlet.service(IBMRestServlet.java:107)
      1 frame
    17. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
      1 frame
    18. com.abc.ws
      ServletWrapper.service
      1. com.abc.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1287)
      1 frame