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.

GitHub | njyeti | 6 months ago
  1. 0

    RuntimeException while parsing the NotifyResult

    GitHub | 6 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.
  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

    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.

    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.squareup.pagerduty.incidents.NotifyResult. Register an InstanceCreator with Gson for this type may fix this problem.

      at com.google.gson.internal.ConstructorConstructor$14.construct()
    2. Gson
      ReflectiveTypeAdapterFactory$Adapter.read
      1. com.google.gson.internal.ConstructorConstructor$14.construct(ConstructorConstructor.java:226)
      2. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:206)
      2 frames
    3. retrofit2.converter.gson
      GsonResponseBodyConverter.convert
      1. retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:37)
      2. retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:25)
      2 frames
    4. retrofit2
      OkHttpCall.execute
      1. retrofit2.ServiceMethod.toResponse(ServiceMethod.java:116)
      2. retrofit2.OkHttpCall.parseResponse(OkHttpCall.java:211)
      3. retrofit2.OkHttpCall.execute(OkHttpCall.java:174)
      3 frames
    5. com.squareup.pagerduty
      PagerDuty$1.notify
      1. com.squareup.pagerduty.incidents.PagerDuty$1.notify(PagerDuty.java:49)
      1 frame