Project: mule
Issue MULE-7091: IllegalStateException when doing OAuth dance with InMemoryObjectStore
OAuth dance works fine with PersistentObjectStores but when using in-memory ones this error is obtained: ******************************************************************************** Message : Failed to invoke fetch-access-token. Message payload is of type: String Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. Only owner thread can write to message: Thread[[splunkfulfillmentqa].connector.http.mule.default.receiver.02,5,main]/Thread[[splunkfulfillmentqa].httpscon.receiver.02,5,main] (java.lang.IllegalStateException) org.mule.DefaultMuleMessage:1626 (null) 2. Failed to invoke fetch-access-token. Message payload is of type: String (org.mule.api.MessagingException) org.mule.devkit.processor.DevkitBasedMessageProcessor:134 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html) -------------------------------------------------------------------------------- Root Exception stack trace: java.lang.IllegalStateException: Only owner thread can write to message: Thread[[splunkfulfillmentqa].connector.http.mule.default.receiver.02,5,main]/Thread[[splunkfulfillmentqa].httpscon.receiver.02,5,main] at org.mule.DefaultMuleMessage.newException(DefaultMuleMessage.java:1626) at org.mule.DefaultMuleMessage.checkMutable(DefaultMuleMessage.java:1612) at org.mule.DefaultMuleMessage.assertAccess(DefaultMuleMessage.java:1541) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ********************************************************************************
Story points: 1