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 raja04, 1 year ago
javax.ws.rs.WebApplicationException: java.lang.IllegalArgumentException: Error parsing media type 'text/htlm, text/xml'
via Java.net JIRA by raja04, 1 year ago
javax.ws.rs.WebApplicationException: java.lang.IllegalArgumentException: Error parsing media type 'text/htlm, text/xml'
java.text.ParseException: Expected separator ';' instead of ','	at com.sun.jersey.core.header.reader.HttpHeaderReader.nextSeparator(HttpHeaderReader.java:121)	at com.sun.jersey.core.header.reader.HttpHeaderReader.readParameters(HttpHeaderReader.java:248)	at com.sun.jersey.core.header.reader.HttpHeaderReader.readParameters(HttpHeaderReader.java:241)	at com.sun.jersey.core.impl.provider.header.MediaTypeProvider.valueOf(MediaTypeProvider.java:97)	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:1)	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:651)	at com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters(WebComponent.java:832)	at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:407)	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)	at org.glassfish.grizzly.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:147)	at org.glassfish.grizzly.servlet.FilterChainImpl.invokeFilterChain(FilterChainImpl.java:106)	at org.glassfish.grizzly.servlet.ServletHandler.doServletService(ServletHandler.java:252)	at org.glassfish.grizzly.servlet.ServletHandler.service(ServletHandler.java:188)	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:164)	at org.glassfish.grizzly.http.server.HttpHandlerChain.service(HttpHandlerChain.java:196)	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:164)	at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:175)	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)	at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)	at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:815)	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:567)	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:547)	at java.lang.Thread.run(Thread.java:680)