java.lang.RuntimeException: Unable to invoke no-args constructor for class com.auth0.authentication.result.Credentials. Register an InstanceCreator with Gson for this type may fix this problem.

GitHub | j-soliduslink | 4 months ago
  1. 0

    Exception when creating com.auth0.authentication.result.Credentials from json

    GitHub | 4 months ago | j-soliduslink
    java.lang.RuntimeException: Unable to invoke no-args constructor for class com.auth0.authentication.result.Credentials. Register an InstanceCreator with Gson for this type may fix this problem.
  2. 0

    GSON and InstanceCreator issue

    Stack Overflow | 3 years ago | IAmYourFaja
    java.lang.RuntimeException: Unable to invoke no-args constructor for interface net.myapp.Shape. Register an InstanceCreator with Gson for this type may fix this problem.
  3. 0

    Gson Type Adapter vs. Custom Deseralizer

    Stack Overflow | 2 years ago | Mike Storey
    java.lang.RuntimeException: Failed to invoke public gson.test.Member() with no args
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 36#225438003

    GitHub | 6 months ago | sn0w
    java.lang.RuntimeException: Failed to invoke public io.github.schulkrams.lasers.Field() with no args
  6. 0

    RuntimeException while parsing the NotifyResult

    GitHub | 5 months ago | njyeti
    java.lang.RuntimeException: Unable to invoke no-args constructor for class com.squareup.pagerduty.incidents.NotifyResult. Register an InstanceCreator with Gson for this type may fix this problem.

    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.RuntimeException

      Unable to invoke no-args constructor for class com.auth0.authentication.result.Credentials. Register an InstanceCreator with Gson for this type may fix this problem.

      at com.google.gson.internal.ConstructorConstructor$12.construct()
    2. Gson
      ReflectiveTypeAdapterFactory$Adapter.read
      1. com.google.gson.internal.ConstructorConstructor$12.construct(ConstructorConstructor.java:210)
      2. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:186)
      2 frames
    3. com.auth0.util
      JsonRequiredTypeAdapterFactory$1.read
      1. com.auth0.util.JsonRequiredTypeAdapterFactory$1.read(JsonRequiredTypeAdapterFactory.java:28)
      1 frame
    4. Gson
      TypeAdapter.fromJson
      1. com.google.gson.TypeAdapter$1.read(TypeAdapter.java:199)
      2. com.google.gson.TypeAdapter.fromJson(TypeAdapter.java:256)
      2 frames
    5. com.auth0.request
      SimpleRequest.execute
      1. com.auth0.request.internal.SimpleRequest.execute(SimpleRequest.java:99)
      1 frame
    6. com.auth0.authentication
      TokenRequest.execute
      1. com.auth0.authentication.TokenRequest.execute(TokenRequest.java:53)
      1 frame