java.lang.IllegalArgumentException: Invalid cookiesObject. Only class org.apache.commons.httpclient.Cookie[] and interface java.util.Map are supported: wwoanon=yiit4qvBzwEkAAAANDI3M2JhNTQtZDBjYy00ZDE4LTg0Y2QtZjgzYjI1Yjc3ZTlmpjG2e-ZlSuBgF5A3dmaQAMI5Noc1; expires=Wed, 27-Aug-2014 04:03:40 GMT; path=/; HttpOnly

MuleSoft JIRA | Jameson Triplett | 2 years ago
  1. 0

    I built a pretty basic Anypoint DevKit Connector. Upon testing it. The first time I run it I get an exception. The second time and subsequent times it works fine. First Run Exception: ERROR 2014-06-18 10:23:58,017 [[foo].connector.http.mule.default.receiver.02] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : Failed to invoke getWeatherByZipCode. Message payload is of type: String Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. Invalid cookiesObject. Only class org.apache.commons.httpclient.Cookie[] and interface java.util.Map are supported: wwoanon=yiit4qvBzwEkAAAANDI3M2JhNTQtZDBjYy00ZDE4LTg0Y2QtZjgzYjI1Yjc3ZTlmpjG2e-ZlSuBgF5A3dmaQAMI5Noc1; expires=Wed, 27-Aug-2014 04:03:40 GMT; path=/; HttpOnly (java.lang.IllegalArgumentException) org.mule.transport.http.CookieStorageType:751 (null) 2. Couldn't transform http response to MuleMessage (java.lang.RuntimeException) org.mule.modules.worldweatheronline.adapters.WorldWeatherOnlineConnectorRestClientAdapter:49 (null) 3. Failed to invoke getWeatherByZipCode. Message payload is of type: String (org.mule.api.MessagingException) org.mule.devkit.processor.DevkitBasedMessageProcessor:128 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html) -------------------------------------------------------------------------------- Root Exception stack trace: java.lang.IllegalArgumentException: Invalid cookiesObject. Only class org.apache.commons.httpclient.Cookie[] and interface java.util.Map are supported: wwoanon=yiit4qvBzwEkAAAANDI3M2JhNTQtZDBjYy00ZDE4LTg0Y2QtZjgzYjI1Yjc3ZTlmpjG2e-ZlSuBgF5A3dmaQAMI5Noc1; expires=Wed, 27-Aug-2014 04:03:40 GMT; path=/; HttpOnly at org.mule.transport.http.CookieStorageType.resolveCookieStorageType(CookieHelper.java:751) at org.mule.transport.http.CookieHelper.putAndMergeCookie(CookieHelper.java:391) at org.mule.transport.http.HttpMuleMessageFactory.putCookieHeaderInMapAsAClient(HttpMuleMessageFactory.java:268) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) Subsequent Tests work great.

    MuleSoft JIRA | 2 years ago | Jameson Triplett
    java.lang.IllegalArgumentException: Invalid cookiesObject. Only class org.apache.commons.httpclient.Cookie[] and interface java.util.Map are supported: wwoanon=yiit4qvBzwEkAAAANDI3M2JhNTQtZDBjYy00ZDE4LTg0Y2QtZjgzYjI1Yjc3ZTlmpjG2e-ZlSuBgF5A3dmaQAMI5Noc1; expires=Wed, 27-Aug-2014 04:03:40 GMT; path=/; HttpOnly
  2. 0

    I built a pretty basic Anypoint DevKit Connector. Upon testing it. The first time I run it I get an exception. The second time and subsequent times it works fine. First Run Exception: ERROR 2014-06-18 10:23:58,017 [[foo].connector.http.mule.default.receiver.02] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : Failed to invoke getWeatherByZipCode. Message payload is of type: String Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. Invalid cookiesObject. Only class org.apache.commons.httpclient.Cookie[] and interface java.util.Map are supported: wwoanon=yiit4qvBzwEkAAAANDI3M2JhNTQtZDBjYy00ZDE4LTg0Y2QtZjgzYjI1Yjc3ZTlmpjG2e-ZlSuBgF5A3dmaQAMI5Noc1; expires=Wed, 27-Aug-2014 04:03:40 GMT; path=/; HttpOnly (java.lang.IllegalArgumentException) org.mule.transport.http.CookieStorageType:751 (null) 2. Couldn't transform http response to MuleMessage (java.lang.RuntimeException) org.mule.modules.worldweatheronline.adapters.WorldWeatherOnlineConnectorRestClientAdapter:49 (null) 3. Failed to invoke getWeatherByZipCode. Message payload is of type: String (org.mule.api.MessagingException) org.mule.devkit.processor.DevkitBasedMessageProcessor:128 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html) -------------------------------------------------------------------------------- Root Exception stack trace: java.lang.IllegalArgumentException: Invalid cookiesObject. Only class org.apache.commons.httpclient.Cookie[] and interface java.util.Map are supported: wwoanon=yiit4qvBzwEkAAAANDI3M2JhNTQtZDBjYy00ZDE4LTg0Y2QtZjgzYjI1Yjc3ZTlmpjG2e-ZlSuBgF5A3dmaQAMI5Noc1; expires=Wed, 27-Aug-2014 04:03:40 GMT; path=/; HttpOnly at org.mule.transport.http.CookieStorageType.resolveCookieStorageType(CookieHelper.java:751) at org.mule.transport.http.CookieHelper.putAndMergeCookie(CookieHelper.java:391) at org.mule.transport.http.HttpMuleMessageFactory.putCookieHeaderInMapAsAClient(HttpMuleMessageFactory.java:268) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) Subsequent Tests work great.

    MuleSoft JIRA | 2 years ago | Jameson Triplett
    java.lang.IllegalArgumentException: Invalid cookiesObject. Only class org.apache.commons.httpclient.Cookie[] and interface java.util.Map are supported: wwoanon=yiit4qvBzwEkAAAANDI3M2JhNTQtZDBjYy00ZDE4LTg0Y2QtZjgzYjI1Yjc3ZTlmpjG2e-ZlSuBgF5A3dmaQAMI5Noc1; expires=Wed, 27-Aug-2014 04:03:40 GMT; path=/; HttpOnly
  3. 0

    Spark cluster computing framework

    gmane.org | 1 year ago
    java.lang.IllegalStateException: Joda-time 2.2 or later version is required, but found version: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Malformatted joda datetime for http header "last-modified"?

    Stack Overflow | 1 year ago | membersound
    java.lang.IllegalArgumentException: Invalid format: "Fri, 08 Aug 2014 12:32:12 GMT" is malformed at "i, 08 Aug 2014 12:32:12 GMT"
  6. 0

    IllegalArgumentException: Only Interface endpoint definitions are supported

    Stack Overflow | 1 year ago | joshgoldeneagle
    java.lang.IllegalArgumentException: Only interface endpoint definitions are supported.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Invalid cookiesObject. Only class org.apache.commons.httpclient.Cookie[] and interface java.util.Map are supported: wwoanon=yiit4qvBzwEkAAAANDI3M2JhNTQtZDBjYy00ZDE4LTg0Y2QtZjgzYjI1Yjc3ZTlmpjG2e-ZlSuBgF5A3dmaQAMI5Noc1; expires=Wed, 27-Aug-2014 04:03:40 GMT; path=/; HttpOnly

      at org.mule.transport.http.CookieStorageType.resolveCookieStorageType()
    2. HTTP Transport
      HttpMuleMessageFactory.putCookieHeaderInMapAsAClient
      1. org.mule.transport.http.CookieStorageType.resolveCookieStorageType(CookieHelper.java:751)
      2. org.mule.transport.http.CookieHelper.putAndMergeCookie(CookieHelper.java:391)
      3. org.mule.transport.http.HttpMuleMessageFactory.putCookieHeaderInMapAsAClient(HttpMuleMessageFactory.java:268)
      3 frames