java.lang.IllegalArgumentException: no JSON input found

Stack Overflow | user1479604 | 5 months ago
  1. 0

    How to mock Google API AndroidPublisher request

    Stack Overflow | 1 month ago | james.lorenzen
    java.lang.IllegalArgumentException: no JSON input found
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Updating metadata on Picasa using Google Data API for Java

    Stack Overflow | 6 years ago | Daniel
    java.lang.IllegalArgumentException: No parser defined for Content-Type: text/html; charset=UTF-8

    1 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. java.lang.IllegalArgumentException

      no JSON input found

      at com.google.api.client.repackaged.com.google.common.base.Preconditions.checkArgument()
    2. Google HTTP Client Library for Java
      HttpResponse.parseAs
      1. com.google.api.client.repackaged.com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
      2. com.google.api.client.util.Preconditions.checkArgument(Preconditions.java:49)
      3. com.google.api.client.json.JsonParser.startParsing(JsonParser.java:222)
      4. com.google.api.client.json.JsonParser.parse(JsonParser.java:379)
      5. com.google.api.client.json.JsonParser.parse(JsonParser.java:354)
      6. com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:87)
      7. com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:81)
      8. com.google.api.client.http.HttpResponse.parseAs(HttpResponse.java:459)
      8 frames
    3. Google OAuth Client Library for Java
      Credential.refreshToken
      1. com.google.api.client.auth.oauth2.TokenRequest.execute(TokenRequest.java:307)
      2. com.google.api.client.auth.oauth2.Credential.executeRefreshToken(Credential.java:570)
      3. com.google.api.client.auth.oauth2.Credential.refreshToken(Credential.java:489)
      3 frames
    4. com.uber.sdk
      RefreshAuthenticator.authenticate
      1. com.uber.sdk.rides.auth.CredentialsAuthenticator.refreshAndSign(CredentialsAuthenticator.java:97)
      2. com.uber.sdk.rides.auth.CredentialsAuthenticator.reauth(CredentialsAuthenticator.java:77)
      3. com.uber.sdk.rides.auth.CredentialsAuthenticator.refresh(CredentialsAuthenticator.java:58)
      4. com.uber.sdk.rides.client.internal.RefreshAuthenticator.authenticate(RefreshAuthenticator.java:46)
      4 frames
    5. okhttp3.internal.http
      HttpEngine.followUpRequest
      1. okhttp3.internal.http.HttpEngine.followUpRequest(HttpEngine.java:893)
      1 frame
    6. okhttp3
      RealCall$ApplicationInterceptorChain.proceed
      1. okhttp3.RealCall.getResponse(RealCall.java:276)
      2. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:198)
      2 frames
    7. okhttp3.logging
      HttpLoggingInterceptor.intercept
      1. okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:142)
      1 frame
    8. okhttp3
      RealCall$ApplicationInterceptorChain.proceed
      1. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
      1 frame
    9. com.uber.sdk
      ApiInterceptor.intercept
      1. com.uber.sdk.rides.client.internal.ApiInterceptor.intercept(ApiInterceptor.java:57)
      1 frame
    10. okhttp3
      RealCall$AsyncCall.execute
      1. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
      2. okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:160)
      3. okhttp3.RealCall.access$100(RealCall.java:30)
      4. okhttp3.RealCall$AsyncCall.execute(RealCall.java:127)
      4 frames
    11. okhttp3.internal
      NamedRunnable.run
      1. okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
      1 frame
    12. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      2 frames