java.lang.NoSuchMethodError: com.google.gson.Gson.getDelegateAdapter(Lcom/google/gson/TypeAdapterFactory;Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter;

GitHub | VolodymyrTkachuk | 3 months ago
  1. 0

    NoSuchMethodError exception on Charge.create

    GitHub | 3 months ago | VolodymyrTkachuk
    java.lang.NoSuchMethodError: com.google.gson.Gson.getDelegateAdapter(Lcom/google/gson/TypeAdapterFactory;Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter;
  2. 0

    Not able to resolve java.lang.NoSuchMethodError with GSON library

    Stack Overflow | 8 months ago | moooni moon
    java.lang.NoSuchMethodError: com.google.gson.Gson.getAdapter(Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter;
  3. 0

    Spring Boot 1.4.0 Dependency Issue

    GitHub | 3 months ago | ptimsonbbc
    java.lang.NoSuchMethodError: com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.<init>(Lcom/google/gson/internal/ConstructorConstructor;Lcom/google/gson/FieldNamingStrategy;Lcom/google/gson/internal/Excluder;)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    AWS S3 Java Embedded Mock for Integration Tests

    Stack Overflow | 3 months ago | ptimson
    java.lang.NoSuchMethodError: com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.<init>(Lcom/google/gson/internal/ConstructorConstructor;Lcom/google/gson/FieldNamingStrategy;Lcom/google/gson/internal/Excluder;)V
  6. 0

    Apache jclouds java.lang.NoSuchMethodError when using Rackspace in a Spring Boot application

    Stack Overflow | 3 months ago | SheppardDigital
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'storage': Error creating bean with name 'storage' defined in class path resource [com/appapi/config/AppConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appapi.helpers.WebStorage]: Factory method 'storage' threw exception; nested exception is java.lang.NoSuchMethodError: com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.<init>(Lcom/google/gson/internal/ConstructorConstructor;Lcom/google/gson/FieldNamingStrategy;Lcom/google/gson/internal/Excluder;)V; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'storage' defined in class path resource [com/appapi/config/AppConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.appapi.helpers.WebStorage]: Factory method 'storage' threw exception; nested exception is java.lang.NoSuchMethodError: com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.<init>(Lcom/google/gson/internal/ConstructorConstructor;Lcom/google/gson/FieldNamingStrategy;Lcom/google/gson/internal/Excluder;)V

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

      com.google.gson.Gson.getDelegateAdapter(Lcom/google/gson/TypeAdapterFactory;Lcom/google/gson/reflect/TypeToken;)Lcom/google/gson/TypeAdapter;

      at com.stripe.model.ExternalAccountTypeAdapterFactory.create()
    2. stripe-java
      ExternalAccountTypeAdapterFactory.create
      1. com.stripe.model.ExternalAccountTypeAdapterFactory.create(ExternalAccountTypeAdapterFactory.java:25)
      1 frame
    3. Gson
      Gson.fromJson
      1. com.google.gson.Gson.getAdapter(Gson.java:353)
      2. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.<init>(ReflectiveTypeAdapterFactory.java:82)
      3. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:81)
      4. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:118)
      5. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:72)
      6. com.google.gson.Gson.getAdapter(Gson.java:353)
      7. com.google.gson.Gson.fromJson(Gson.java:754)
      8. com.google.gson.Gson.fromJson(Gson.java:721)
      9. com.google.gson.Gson.fromJson(Gson.java:670)
      10. com.google.gson.Gson.fromJson(Gson.java:642)
      10 frames
    4. stripe-java
      Charge.create
      1. com.stripe.net.LiveStripeResponseGetter._request(LiveStripeResponseGetter.java:446)
      2. com.stripe.net.LiveStripeResponseGetter.request(LiveStripeResponseGetter.java:65)
      3. com.stripe.net.APIResource.request(APIResource.java:137)
      4. com.stripe.model.Charge.create(Charge.java:425)
      4 frames