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 webtide.com by Unknown author, 1 year ago
java.lang.String cannot be cast to javax.management.openmbean.CompositeData
java.lang.ClassCastException: java.lang.String cannot be cast to javax.management.openmbean.CompositeData	at org.mortbay.jetty.jmx.ws.service.impl.AggregateServiceImpl.getMemoryByNode(AggregateServiceImpl.java:84)	at org.mortbay.jetty.jmx.ws.service.impl.AggregateServiceImpl.getNodes(AggregateServiceImpl.java:63)	at org.mortbay.jetty.jmx.ws.web.Nodes.getObjectNames(Nodes.java:42)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:168)	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:71)	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:280)	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1341)	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1273)	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1223)	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1213)	at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414)	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:480)	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)	at org.eclipse.jetty.server.Server.handle(Server.java:346)	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)	at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)	at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)	at java.lang.Thread.run(Thread.java:662)