[ptt-users] MalformedCookieException

Mircea Cocosila mircea at neodonis.com
Mon Jan 7 07:36:35 PST 2008


My env: Windows XP running TestMaker 5.1

What I did:
- created a test script using Network Proxy Recorder
- run it

=> I got the following errors. Please let me know what additional context
you need in order to track the problem. Thanks a lot.

registeruser: Initialize
test: setUp
test: runTest
Request step: 1, http://compusa.at.edeal.com/cgi-bin/ncommerce3/LogonForm
Request step: 2, http://compusa.at.edeal.com/cgi-bin/ncommerce3/Logon
com.sonalb.net.http.cookie.MalformedCookieException: Invalid cookie. :
Code=SBCL_0012 :
OriginClass=com.sonalb.net.http.cookie.RFC2965CookieParser:
OriginMethod=parseSingleCookieV0 : CausalException=
    at com.sonalb.net.http.cookie.RFC2965CookieParser.parseSingleCookieV0(
RFC2965CookieParser.java:1053)
    at com.sonalb.net.http.cookie.RFC2965CookieParser.parseSetCookieV0(
RFC2965CookieParser.java:850)
    at com.sonalb.net.http.cookie.RFC2965CookieParser.parseCookies(
RFC2965CookieParser.java:121)
    at com.sonalb.net.http.cookie.Client.getCookies(Client.java:163)
    at com.sonalb.net.http.cookie.Client.getCookies(Client.java:158)
    at com.sonalb.net.http.cookie.Client.getCookies(Client.java:148)
    at com.pushtotest.tool.protocolhandler.HTTPProtocol.connect(
HTTPProtocol.java:430)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java
)
    at org.python.core.PyMethod.__call__(PyMethod.java)
    at org.python.core.PyObject.__call__(PyObject.java:270)
    at org.python.core.PyInstance.invoke(PyInstance.java)
    at
agentbase$py.connect$6(C:\PushToTest_TestMaker\.\lib\.\agentbase.py:200)
    at
agentbase$py.call_function(C:\PushToTest_TestMaker\.\lib\.\agentbase.py)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyFunction.__call__(PyFunction.java)
    at org.python.core.PyInstance.invoke(PyInstance.java)
    at agentbase$py.post$5(C:\PushToTest_TestMaker\.\lib\.\agentbase.py:189)
    at
agentbase$py.call_function(C:\PushToTest_TestMaker\.\lib\.\agentbase.py)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyFunction.__call__(PyFunction.java)
    at org.python.core.PyInstance.invoke(PyInstance.java)
    at org.python.pycode._pyx18.runTest$4(<string>:64)
    at org.python.pycode._pyx18.call_function(<string>)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyFunction.__call__(PyFunction.java)
    at org.python.core.PyInstance.invoke(PyInstance.java)
    at org.python.pycode._pyx18.f$0(<string>:138)
    at org.python.pycode._pyx18.call_function(<string>)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyCode.call(PyCode.java)
    at org.python.core.Py.runCode(Py.java)
    at org.python.core.Py.exec(Py.java)
    at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
    at com.pushtotest.testmaker.gui.AgentRunner.run(AgentRunner.java:259)
------------------------------
Agent stopped.
------------------------------
Agent error:
Traceback (innermost last):
  File "<string>", line 138, in ?
  File "<string>", line 64, in runTest
  File "C:\PushToTest_TestMaker\.\lib\.\agentbase.py", line 189, in post
  File "C:\PushToTest_TestMaker\.\lib\.\agentbase.py", line 200, in connect
com.pushtotest.tool.ToolException: HTTPProtocol problem: Malformed Cookie
Exception. com.sonalb.net.http.cookie.MalformedCookieException: Invalid
cookie. : Code=SBCL_0012 : OriginClass=
com.sonalb.net.http.cookie.RFC2965CookieParser :
OriginMethod=parseSingleCookieV0 : CausalException=

    at com.pushtotest.tool.protocolhandler.HTTPProtocol.connect(
HTTPProtocol.java:434)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java
)

    at org.python.core.PyMethod.__call__(PyMethod.java)

    at org.python.core.PyObject.__call__(PyObject.java:270)

    at org.python.core.PyInstance.invoke(PyInstance.java)

    at
agentbase$py.connect$6(C:\PushToTest_TestMaker\.\lib\.\agentbase.py:200)

    at
agentbase$py.call_function(C:\PushToTest_TestMaker\.\lib\.\agentbase.py)

    at org.python.core.PyTableCode.call(PyTableCode.java)

    at org.python.core.PyTableCode.call(PyTableCode.java)

    at org.python.core.PyFunction.__call__(PyFunction.java)

    at org.python.core.PyInstance.invoke(PyInstance.java)

    at agentbase$py.post$5(C:\PushToTest_TestMaker\.\lib\.\agentbase.py:189)

    at
agentbase$py.call_function(C:\PushToTest_TestMaker\.\lib\.\agentbase.py)

    at org.python.core.PyTableCode.call(PyTableCode.java)

    at org.python.core.PyTableCode.call(PyTableCode.java)

    at org.python.core.PyFunction.__call__(PyFunction.java)

    at org.python.core.PyInstance.invoke(PyInstance.java)

    at org.python.pycode._pyx18.runTest$4(<string>:64)

    at org.python.pycode._pyx18.call_function(<string>)

    at org.python.core.PyTableCode.call(PyTableCode.java)

    at org.python.core.PyTableCode.call(PyTableCode.java)

    at org.python.core.PyFunction.__call__(PyFunction.java)

    at org.python.core.PyInstance.invoke(PyInstance.java)

    at org.python.pycode._pyx18.f$0(<string>:138)

    at org.python.pycode._pyx18.call_function(<string>)

    at org.python.core.PyTableCode.call(PyTableCode.java)

    at org.python.core.PyCode.call(PyCode.java)

    at org.python.core.Py.runCode(Py.java)

    at org.python.core.Py.exec(Py.java)

    at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)

    at com.pushtotest.testmaker.gui.AgentRunner.run(AgentRunner.java:259)


com.pushtotest.tool.ToolException: com.pushtotest.tool.ToolException:
HTTPProtocol problem: Malformed Cookie Exception.
com.sonalb.net.http.cookie.MalformedCookieException: Invalid cookie. :
Code=SBCL_0012 :
OriginClass=com.sonalb.net.http.cookie.RFC2965CookieParser:
OriginMethod=parseSingleCookieV0 : CausalException=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cake.pushtotest.com/pipermail/users/attachments/20080107/c8086b63/attachment-0001.htm


More information about the Users mailing list