Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrecognized field "Names" (Class com.kpelykh.docker.client.model.Container) #17

Closed
lfryc opened this issue Jan 31, 2014 · 2 comments
Closed

Comments

@lfryc
Copy link

lfryc commented Jan 31, 2014

I'm getting following error (shortened):

UnrecognizedPropertyException: Unrecognized field "Names" (Class com.kpelykh.docker.client.model.Container), not marked as ignorable
 at [ByteArrayInputStream; line: 1, column: 226] (through reference chain: com.kpelykh.docker.client.model.Container["Names"])

with the request/response:

INFO hudson.slaves.NodeProvisioner update
Image of jenkins-centos-1 provisioningE successfully completed. We have now 1 computer(s)
INFO com.nirima.jenkins.plugins.docker.DockerCloud provision
Excess workload after pending Spot instances: 1
INFO com.sun.jersey.api.client.filter.LoggingFilter log
19 * Client out-bound request
19 > GET http://localhost:4243//v1.8/containers/json?limit=-1&before=&since=&all=0&size=0
19 > Accept: application/json

INFO com.sun.jersey.api.client.filter.LoggingFilter log
19 * Client in-bound response
19 < 200
19 < Content-Type: application/json
19 < Content-Length: 249
19 < Date: Fri, 31 Jan 2014 16:57:34 GMT
19 < 
[{"Id":"c1bc8e3e2cd45b2a2561f494a0920e9f12956d1563718e84a4e81de404bfa62a","Image":"jenkins-centos-1:latest","Command":"/bin/bash ","Created":1391186016,"Status":"Up 23 minutes","Ports":null,"SizeRw":0,"SizeRootFs":0,"Names":["/agitated_albattani"]}]

whole stacktrace:
https://gist.github.com/lfryc/929086d704418e00d8b1

@lfryc
Copy link
Author

lfryc commented Jan 31, 2014

I believe this is incompatibility with API v1.8, I'm running Docker 1.7.2.

@kpelykh
Copy link
Owner

kpelykh commented Feb 5, 2014

fixed in docker-java 0.7.6-SNAPSHOT

@kpelykh kpelykh closed this as completed Feb 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants