java.lang.ClassCastException

Cannot cast class com.sun.jersey.core.impl.provider.entity.StringProvider to interface javax.ws.rs.ext.MessageBodyReader [21.09.10 18:05:19:657 CEST] 000000ce SystemErr     R at java.lang.Class.cast(Class.java:1711) [21.09.10 18:05:19:657 CEST] 000000ce SystemErr     R at com.sun.jersey.core.spi.component.ProviderServices.getProvidersAndServices(ProviderServices.java:122) [21.09.10 18:05:19:657 CEST] 000000ce SystemErr     R at com.sun.jersey.core.spi.factory.MessageBodyFactory.getProviderMap(MessageBodyFactory.java:136)

Solutions on the web19477

  • via nabble.com by Unknown author, 11 months ago
    Cannot cast class com.sun.jersey.core.impl.provider.entity.StringProvider to interface javax.ws.rs.ext.MessageBodyReader [21.09.10 18:05:19:657 CEST] 000000ce SystemErr     R at java.lang.Class.cast(Class.java:1711) [21.09.10 18:05:19:657 CEST
  • via Atlassian JIRA by Earl McCutcheon [Atlassian], 1 year ago
    com.atlassian.jira.user.DelegatingApplicationUser cannot be cast to com.atlassian.crowd.embedded.api.User 2015-05-13 08:19:32.635779500 at com.atlassian.jira.plugin.webfragment.conditions.AbstractWebCondition.getApplicationUser
  • via Atlassian JIRA by Earl McCutcheon [Atlassian], 1 year ago
    com.atlassian.jira.user.DelegatingApplicationUser cannot be cast to com.atlassian.crowd.embedded.api.User 2015-05-13 08:19:32.635779500 at com.atlassian.jira.plugin.webfragment.conditions.AbstractWebCondition.getApplicationUser
  • Stack trace

    • java.lang.ClassCastException: Cannot cast class com.sun.jersey.core.impl.provider.entity.StringProvider to interface javax.ws.rs.ext.MessageBodyReader [21.09.10 18:05:19:657 CEST] 000000ce SystemErr     R at java.lang.Class.cast(Class.java:1711) [21.09.10 18:05:19:657 CEST] 000000ce SystemErr     R at com.sun.jersey.core.spi.component.ProviderServices.getProvidersAndServices(ProviderServices.java:122) [21.09.10 18:05:19:657 CEST] 000000ce SystemErr     R at com.sun.jersey.core.spi.factory.MessageBodyFactory.getProviderMap(MessageBodyFactory.java:136) at com.sun.jersey.core.spi.factory.MessageBodyFactory.initReaders(MessageBodyFactory.java:110) at com.sun.jersey.core.spi.factory.MessageBodyFactory.init(MessageBodyFactory.java:105) at com.sun.jersey.api.client.Client.<init>(Client.java:208) at com.sun.jersey.api.client.Client.<init>(Client.java:124)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.