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 Java.net JIRA by chandankr, 1 year ago
via Java.net JIRA by mahoney266, 1 year ago
java.lang.IllegalArgumentException: Error parsing media type 'application\json; charset=UTF-8'
via GitHub by manuviswam
, 2 years ago
java.lang.IllegalArgumentException: Error parsing media type 'foo'
via Atlassian JIRA by Lucas Timm [Atlassian], 1 year ago
java.lang.IllegalArgumentException: Error parsing media type ', application/xml'
via Atlassian JIRA by Lucas Timm [Atlassian], 2 years ago
java.lang.IllegalArgumentException: Error parsing media type ', application/xml'
via Java.net JIRA by raja04, 1 year ago
java.text.ParseException: End of header	at com.sun.jersey.core.header.reader.HttpHeaderReaderImpl.getNextCharacter(HttpHeaderReaderImpl.java:163)	at com.sun.jersey.core.header.reader.HttpHeaderReaderImpl.next(HttpHeaderReaderImpl.java:124)	at com.sun.jersey.core.header.reader.HttpHeaderReader.nextSeparator(HttpHeaderReader.java:112)	at com.sun.jersey.core.impl.provider.header.MediaTypeProvider.valueOf(MediaTypeProvider.java:90)	at com.sun.jersey.core.impl.provider.header.MediaTypeProvider.fromString(MediaTypeProvider.java:77)	at com.sun.jersey.core.impl.provider.header.MediaTypeProvider.fromString(MediaTypeProvider.java:53)	at javax.ws.rs.core.MediaType.valueOf(MediaType.java:119)	at com.sun.jersey.server.impl.model.HttpHelper.getContentType(HttpHelper.java:89)	at com.sun.jersey.server.impl.model.HttpHelper.getContentType(HttpHelper.java:77)	at com.sun.jersey.spi.container.ContainerRequest.getMediaType(ContainerRequest.java:637)	at com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters(WebComponent.java:830)	at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:405)	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at com.springsource.insight.collection.tcserver.request.HttpRequestOperationCollectionValve.traceNextValve(HttpRequestOperationCollectionValve.java:112)	at com.springsource.insight.collection.tcserver.request.HttpRequestOperationCollectionValve.invoke(HttpRequestOperationCollectionValve.java:94)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)	at java.lang.Thread.run(Thread.java:662)