Integration of Jasper Studio and Japser Report Server

org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=text/html, type=class com.jaspersoft.jasperserver.dto.resources.ClientFolder, genericType=class com.jaspersoft.jasperserver.dto.resources.ClientFolder.
    at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:230)
    at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:154)
    at org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1124)
    at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:851)
    at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:783)
    at org.glassfish.jersey.client.ClientResponse.readEntity(ClientResponse.java:326)
    at org.glassfish.jersey.client.InboundJaxrsResponse$1.call(InboundJaxrsResponse.java:111)
    at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
    at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
    at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
    at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:399)
    at org.glassfish.jersey.client.InboundJaxrsResponse.readEntity(InboundJaxrsResponse.java:108)
    at com.jaspersoft.studio.server.protocol.restv2.ARestV2ConnectionJersey.toObj(ARestV2ConnectionJersey.java:44)
    at com.jaspersoft.studio.server.protocol.restv2.RestV2ConnectionJersey.get(RestV2ConnectionJersey.java:476)
    at com.jaspersoft.studio.server.protocol.ProxyConnection.get(ProxyConnection.java:193)
    at com.jaspersoft.studio.server.WSClientHelper.checkConnection(WSClientHelper.java:99)
    at com.jaspersoft.studio.server.wizard.ServerProfileWizard.connect(ServerProfileWizard.java:90)
    at com.jaspersoft.studio.server.wizard.ServerProfileWizard$2.run(ServerProfileWizard.java:67)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
 

Attachments: 
mohammed.javeed's picture
Joined: Mar 20 2023 - 12:27am
Last seen: 4 months 1 day ago

1 Answer:

Potential root cause: Does your Jaspersoft server have multi-tenancy or is the server an Enterprise edition of Jaspersoft? If yes, you need to provide the organization name when connecting to the server along with the username and password. 

JRS-SE's picture
5892
Joined: Oct 30 2017 - 12:56pm
Last seen: 16 hours 48 min ago
Feedback
randomness