Skip to content

Upgrade http builder to 0.7.1 to support PATCH #5

@quidryan

Description

@quidryan

I had trouble calling PackageHandle's update, which defers to BintrayImpl.patch. The exception is below. But upgrading to 0.7.1 of http-builder and making the patch call myself, it works.

Exception in thread "main" groovy.lang.GroovyRuntimeException: Could not find matching constructor for: groovyx.net.http.HTTPBuilder$RequestConfigDelegate(java.util.LinkedHashMap, org.apache.http.client.methods.HttpPatch, null)
    at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1483)
    at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1399)
    at org.codehaus.groovy.runtime.callsite.MetaClassConstructorSite.callConstructor(MetaClassConstructorSite.java:46)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:198)
    at com.jfrog.bintray.client.impl.handle.BintrayImpl.patch(BintrayImpl.groovy:69)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrap.invoke(PogoMetaMethodSite.java:252)
    at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
    at com.jfrog.bintray.client.impl.handle.PackageHandleImpl.update(PackageHandleImpl.groovy:55)
    at com.jfrog.bintray.client.api.handle.PackageHandle$update.call(Unknown Source)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions