java.lang.IllegalArgumentException

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.

  • java.lang.IllegalArgumentException: either chunked encoding must be set on the http request or contentlength set on the payload: {method=POST, endpoint=http://100.19.0.1:9292/v1/images, headers={x-image-meta-name=[new-image-jclouds2], Accept=[application/json], X-Image-Meta-Container_format=[ami], X-Image-Meta-Disk_format=[ami]}, payload=[content=true, contentMetadata=[contentDisposition=null, contentEncoding=null, contentLanguage=null, contentLength=null, contentMD5=null, contentType=application/octet-stream, expires=null], written=false]} at com.google.common.base.Preconditions.checkArgument(Preconditions.java:92) at org.jclouds.http.HttpUtils.checkRequestHasRequiredProperties(HttpUtils.java:360) at org.jclouds.rest.internal.RestAnnotationProcessor.createRequest(RestAnnotationProcessor.java:553) at org.jclouds.rest.internal.AsyncRestClientProxy.createListenableFutureForHttpRequestMappedToMethodAndArgs(AsyncRestClientProxy.java:237) at org.jclouds.rest.internal.AsyncRestClientProxy.invoke(AsyncRestClientProxy.java:148) at $Proxy74.create(Unknown Source) 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) at org.jclouds.concurrent.internal.SyncProxy.invoke(SyncProxy.java:164) at $Proxy75.create(Unknown Source)

Users with the same issue

Unknown visitor1 times, last one,
arturgajowy
1 times, last one,
Михайло Тітов
1 times, last one,
Luka
1 times, last one,
batwalrus76
3 times, last one,
31 more bugmates