Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-117

jclouds is not compatible with gson 2.2.4

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • jclouds-core
    • None

    Description

      java.lang.NoSuchMethodError: com.google.gson.internal.ConstructorConstructor: method <init>()V not found
      at org.jclouds.json.config.GsonModule.provideGson(GsonModule.java:127)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)

      ConstructorConstructor is an internal class and changed in 2.2.4, removing the default constructor, which was formerly:

      public ConstructorConstructor()

      { this(Collections.<Type, InstanceCreator<?>>emptyMap()); }

      Attachments

        Issue Links

          Activity

            People

              zack-s Zack Shoylev
              adriancole Adrian Cole
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: