com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class com.atlassian.confluence.api.model.content.Content, and Java type class com.atlassian.confluence.api.model.content.Content, and MIME media type application/octet-stream was not found

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Atlassian JIRA by Steve Lancashire [Atlassian], 1 year ago
A message body reader for Java class com.atlassian.confluence.api.model.content.Content, and Java type class com.atlassian.confluence.api.model.content.Content, and MIME media type application/octet-stream was not found
via Atlassian JIRA by Steve Lancashire [Atlassian], 1 year ago
A message body reader for Java class com.atlassian.confluence.api.model.content.Content, and Java type class com.atlassian.confluence.api.model.content.Content, and MIME media type application/octet-stream was not found
via Stack Overflow by sunny
, 1 year ago
A message body reader for Java class java.util.List, and Java type interface java.util.List, and MIME media type application/json; charset=UTF-8 was not found
via Stack Overflow by NBW
, 1 year ago
A message body reader for Java class com.foo.MyFooCollectionWrapper, and Java type com.foo. MyFooCollectionWrapper<com.foo. MyFooDTO>, and MIME media type application/json was not found
via Stack Overflow by rtf
, 1 year ago
A message body reader for Java class java.util.Map, and Java type java.util.Map<java.lang.String, java.lang.Object>, and MIME media type application/json; charset=UTF-8 was not found
via mathworks.com by Unknown author, 1 year ago
A message body reader for Java class ch.specchio.types.User, and Java type class ch.specchio.types.User, and MIME media type application/octet-stream was not found
com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class com.atlassian.confluence.api.model.content.Content, and Java type class com.atlassian.confluence.api.model.content.Content, and MIME media type application/octet-stream was not found
at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:549)
at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:506)
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:674)
at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
at com.atlassian.confluence.rest.client.AbstractRemoteService.post(AbstractRemoteService.java:343)
at com.atlassian.confluence.rest.client.AbstractRemoteService.access$300(AbstractRemoteService.java:39)
at com.atlassian.confluence.rest.client.AbstractRemoteService$5.call(AbstractRemoteService.java:150)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253)
at com.atlassian.confluence.rest.client.PromisingExecutorService.submit(PromisingExecutorService.java:65)
at com.atlassian.confluence.rest.client.AbstractRemoteService.postFuture(AbstractRemoteService.java:145)
at com.atlassian.confluence.rest.client.AbstractRemoteService.postFuture(AbstractRemoteService.java:140)
at com.atlassian.confluence.rest.client.RemoteContentServiceImpl.create(RemoteContentServiceImpl.java:198)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.atlassian.confluence.rest.client.proxy.RemoteServiceProxyCreator$1.invoke(RemoteServiceProxyCreator.java:59)
at com.sun.proxy.$Proxy15.create(Unknown Source)
at com.atlassian.confluence.it.rpc.delegates.ContentRpc.createPage(ContentRpc.java:83)
at com.atlassian.confluence.it.rpc.ConfluenceRpc.createPage(ConfluenceRpc.java:624)
at com.atlassian.confluence.it.rpc.ConfluenceRpc.createPage(ConfluenceRpc.java:605)
at com.atlassian.confluence.MacroDiffAcceptanceTest.setUp(MacroDiffAcceptanceTest.java:43)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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