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 Spring JIRA by Martin Gilday, 1 year ago
Failed to set property 'headers' on type 'flex.messaging.messages.CommandMessage'.
via Spring JIRA by Martin Gilday, 1 year ago
Failed to set property 'headers' on type 'flex.messaging.messages.CommandMessage'.
java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to java.util.Map	at flex.messaging.io.amf.translator.decoder.MapDecoder.decodeObject(MapDecoder.java:91)	at flex.messaging.io.amf.translator.decoder.ActionScriptDecoder.decodeObject(ActionScriptDecoder.java:71)	at flex.messaging.io.amf.translator.ASTranslator.convert(ASTranslator.java:77)	at flex.messaging.io.BeanProxy.setValue(BeanProxy.java:263)	at flex.messaging.io.amf.Amf3Input.readScriptObject(Amf3Input.java:438)	at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:152)	at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:130)	at flex.messaging.io.amf.Amf3Input.readArray(Amf3Input.java:358)	at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:156)	at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:130)	at flex.messaging.io.amf.Amf0Input.readObjectValue(Amf0Input.java:123)	at flex.messaging.io.amf.Amf0Input.readObject(Amf0Input.java:94)	at flex.messaging.io.amf.AmfMessageDeserializer.readObject(AmfMessageDeserializer.java:227)	at flex.messaging.io.amf.AmfMessageDeserializer.readBody(AmfMessageDeserializer.java:206)	at flex.messaging.io.amf.AmfMessageDeserializer.readMessage(AmfMessageDeserializer.java:126)	at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:145)	at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)	at flex.messaging.endpoints.AMFEndpoint$$EnhancerByCGLIB$$64d33e29.service()	at org.springframework.flex.servlet.MessageBrokerHandlerAdapter.handle(MessageBrokerHandlerAdapter.java:101)	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:771)	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:563)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)	at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)	at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:109)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.ui.webapp.DefaultLoginPageGeneratingFilter.doFilterHttp(DefaultLoginPageGeneratingFilter.java:86)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)	at org.mortbay.jetty.Server.handle(Server.java:324)	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535)	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:880)	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)