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.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by njyeti
, 1 year ago
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.
via Stack Overflow by Víctor Gómez
, 1 year ago
Unable to invoke no-args constructor for interface com.vaadin.addon.charts.model.style.Color. Register an InstanceCreator with Gson for this type may fix this problem.
via GitHub by tdiesler
, 10 months ago
Unable to invoke no-args constructor for class io.nats.client.ServerInfo. Register an InstanceCreator with Gson for this type may fix this problem.
via MuleSoft JIRA by Esteban Wasinger, 2 weeks ago
Unable to invoke no-args constructor for interface org.mule.runtime.api.metadata.MetadataKey. Register an InstanceCreator with Gson for this type may fix this problem.
via Stack Overflow by darren_c
, 9 months ago
Unable to invoke no-args constructor for interface com.example.Player. Register an InstanceCreator with Gson for this type may fix this problem.
via MuleSoft JIRA by Cora Reyes Calens, 4 months ago
Unable to invoke no-args constructor for interface org.mule.runtime.api.metadata.MetadataKey. Register an InstanceCreator with Gson for this type may fix this problem.
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 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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.