java.lang.ClassCastException: java.util.Collections$UnmodifiableList cannot be cast to java.lang.String

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via MuleSoft JIRA by David Cisneros, 1 year ago
java.util.Collections$UnmodifiableList cannot be cast to java.lang.String
java.lang.ClassCastException: java.util.Collections$UnmodifiableList cannot be cast to java.lang.String
at org.mule.DefaultMuleMessage.updateDataTypeWithProperty(DefaultMuleMessage.java:537)
at org.mule.DefaultMuleMessage.setProperty(DefaultMuleMessage.java:496)
at org.mule.DefaultMuleMessage.setProperty(DefaultMuleMessage.java:488)
at org.mule.DefaultMuleMessage.addProperties(DefaultMuleMessage.java:1336)
at org.mule.DefaultMuleMessage.(DefaultMuleMessage.java:193)
at org.mule.DefaultMuleMessage.(DefaultMuleMessage.java:170)
at org.mule.module.http.internal.listener.HttpRequestToMuleEvent.transform(HttpRequestToMuleEvent.java:126)
at org.mule.module.http.internal.listener.DefaultHttpListener.createEvent(DefaultHttpListener.java:180)
at org.mule.module.http.internal.listener.DefaultHttpListener.access$000(DefaultHttpListener.java:46)
at org.mule.module.http.internal.listener.DefaultHttpListener$1.handleRequest(DefaultHttpListener.java:131)
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:526)
at org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.run0(ExecutorPerServerAddressIOStrategy.java:102)
at org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.access$100(ExecutorPerServerAddressIOStrategy.java:30)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.