org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=text/xml; charset=UTF-8, type=class [Lorg.openstack4j.openstack.telemetry.domain.CeilometerStatistics;, genericType=class [Lorg.openstack4j.openstack.telemetry.domain.CeilometerStatistics;.

GitHub | xyfigo | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Exception in os.telemetry().meters().list()

    GitHub | 3 years ago | xyfigo
    org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=text/xml; charset=UTF-8, type=class [Lorg.openstack4j.openstack.telemetry.domain.CeilometerStatistics;, genericType=class [Lorg.openstack4j.openstack.telemetry.domain.CeilometerStatistics;.
  2. 0

    Exception in os.telemetry().meters().list()

    GitHub | 3 years ago | xyfigo
    org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=text/xml; charset=UTF-8, type=class [Lorg.openstack4j.openstack.telemetry.domain.CeilometerStatistics;, genericType=class [Lorg.openstack4j.openstack.telemetry.domain.CeilometerStatistics;.
  3. 0

    GitHub comment 24#47744007

    GitHub | 3 years ago | xyfigo
    org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=text/xml; charset=UTF-8, type=class [Lorg.openstack4j.openstack.telemetry.domain.CeilometerMeter;, genericType=class [Lorg.openstack4j.openstack.telemetry.domain.CeilometerMeter;.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 24#47744007

    GitHub | 3 years ago | xyfigo
    org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=text/xml; charset=UTF-8, type=class [Lorg.openstack4j.openstack.telemetry.domain.CeilometerMeter;, genericType=class [Lorg.openstack4j.openstack.telemetry.domain.CeilometerMeter;.
  6. 0

    Glassfish4/Jersey returns JSON instead of XML

    Stack Overflow | 3 years ago | sdoca
    org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=application/json, type=class my.package.common.webresource.ServiceResponse, genericType=class my.package.common.webresource.ServiceResponse.

  1. mauritius 2 times, last 1 year ago
12 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException

    MessageBodyReader not found for media type=text/xml; charset=UTF-8, type=class [Lorg.openstack4j.openstack.telemetry.domain.CeilometerStatistics;, genericType=class [Lorg.openstack4j.openstack.telemetry.domain.CeilometerStatistics;.

    at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom()
  2. Jersey Core
    InboundMessageContext.readEntity
    1. org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:173)
    2. org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:134)
    3. org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:988)
    4. org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:833)
    5. org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:768)
    5 frames
  3. jersey-core-client
    ScopedJaxrsResponse$1.call
    1. org.glassfish.jersey.client.InboundJaxrsResponse.readEntity(InboundJaxrsResponse.java:96)
    2. org.glassfish.jersey.client.ScopedJaxrsResponse.access$001(ScopedJaxrsResponse.java:56)
    3. org.glassfish.jersey.client.ScopedJaxrsResponse$1.call(ScopedJaxrsResponse.java:77)
    3 frames
  4. Jersey Core
    RequestScope.runInScope
    1. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
    2. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
    3. org.glassfish.jersey.internal.Errors.process(Errors.java:228)
    4. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:396)
    4 frames
  5. jersey-core-client
    ScopedJaxrsResponse.readEntity
    1. org.glassfish.jersey.client.ScopedJaxrsResponse.readEntity(ScopedJaxrsResponse.java:74)
    1 frame
  6. OpenStack4j
    MeterServiceImpl.statistics
    1. org.openstack4j.core.transport.HttpResponse.getEntity(HttpResponse.java:112)
    2. org.openstack4j.openstack.internal.BaseOpenStackService$Invocation.execute(BaseOpenStackService.java:136)
    3. org.openstack4j.openstack.internal.BaseOpenStackService$Invocation.execute(BaseOpenStackService.java:131)
    4. org.openstack4j.openstack.telemetry.internal.MeterServiceImpl.statistics(MeterServiceImpl.java:54)
    5. org.openstack4j.openstack.telemetry.internal.MeterServiceImpl.statistics(MeterServiceImpl.java:47)
    5 frames