javax.ws.rs.client.ResponseProcessingException: Failed to convert a response into an exception.

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

    Jetbrains' Team Tools Setup

    Stack Overflow | 7 months ago | Dylan Van Bommel
    javax.ws.rs.client.ResponseProcessingException: Failed to convert a response into an exception.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Entity input stream has already been closed.

      at org.glassfish.jersey.message.internal.EntityInputStream.ensureNotClosed()
    2. Jersey Core
      InboundMessageContext.bufferEntity
      1. org.glassfish.jersey.message.internal.EntityInputStream.ensureNotClosed(EntityInputStream.java:228)
      2. org.glassfish.jersey.message.internal.InboundMessageContext.bufferEntity(InboundMessageContext.java:886)
      2 frames
    3. jersey-core-client
      JerseyInvocation$2.call
      1. org.glassfish.jersey.client.InboundJaxrsResponse.bufferEntity(InboundJaxrsResponse.java:161)
      2. org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:987)
      3. org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:816)
      4. org.glassfish.jersey.client.JerseyInvocation.access$700(JerseyInvocation.java:92)
      5. org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:700)
      5 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:444)
      4 frames
    5. jersey-core-client
      JerseyInvocation$Builder.get
      1. org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:696)
      2. org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:420)
      3. org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:316)
      3 frames
    6. jetbrains.jetpass.client
      HubClient.getAccountsClient
      1. jetbrains.jetpass.client.oauth2.OAuth2Client.getHubScope(OAuth2Client.java:54)
      2. jetbrains.jetpass.client.hub.HubClient.getAccountsClient(HubClient.java:118)
      2 frames
    7. com.jetbrains.upsource
      AuthManagerFactory.createAuthManager
      1. com.jetbrains.upsource.server.auth.impl.HubProviderImpl.createAccountsClient(HubProviderImpl.java:392)
      2. com.jetbrains.upsource.server.auth.impl.HubProviderImpl.<init>(HubProviderImpl.java:102)
      3. com.jetbrains.upsource.server.auth.api.AuthManagerFactory.createAuthManager(AuthManagerFactory.java:49)
      3 frames
    8. JetBrains upsource
      UpsourceFrontendDaemon.start
      1. com.jetbrains.upsource.backend.server.facade.UpsourceApplicationEnvironment.buildMainContainer(UpsourceApplicationEnvironment.java:261)
      2. com.jetbrains.upsource.backend.server.facade.UpsourceApplicationEnvironment.<init>(UpsourceApplicationEnvironment.java:97)
      3. com.jetbrains.upsource.backend.cli.UpsourceApplicationEnvironmentDaemonBase.startDaemon(UpsourceApplicationEnvironmentDaemonBase.java:13)
      4. com.jetbrains.upsource.backend.cli.UpsourceDaemonBase.start(UpsourceDaemonBase.java:144)
      5. com.jetbrains.upsource.backend.cli.UpsourceDaemonBase.start(UpsourceDaemonBase.java:234)
      6. com.jetbrains.upsource.frontend.server.UpsourceFrontendDaemon.start(UpsourceFrontendDaemon.java:83)
      6 frames
    9. com.jetbrains.launcher
      AppProxy$6$1.call
      1. com.jetbrains.launcher.AppProxy$6$1.call(AppProxy.java:99)
      2. com.jetbrains.launcher.AppProxy$6$1.call(AppProxy.java:97)
      2 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames