java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GSON and InstanceCreator issue
    via Stack Overflow by IAmYourFaja
    ,
  • Gson Type Adapter vs. Custom Deseralizer
    via Stack Overflow by Mike Storey
    ,
  • GitHub comment 36#225438003
    via GitHub by sn0w
    ,
  • GitHub comment 147#60532277
    via GitHub by cburkert
    ,
    • 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(ConstructorConstructor.java:226) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:206) at retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:37) at retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:25) at retrofit2.ServiceMethod.toResponse(ServiceMethod.java:116) at retrofit2.OkHttpCall.parseResponse(OkHttpCall.java:211) at retrofit2.OkHttpCall.execute(OkHttpCall.java:174) at com.squareup.pagerduty.incidents.PagerDuty$1.notify(PagerDuty.java:49)
    No Bugmate found.