[ 
https://issues.apache.org/jira/browse/JCLOUDS-783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14303283#comment-14303283
 ] 

BK Lau commented on JCLOUDS-783:
--------------------------------

Folks:

The container.json is just the sample JSON that I attached to let you run a 
test.
IMHO, I think the jCloud JSON binding to Docker needs to check for empty String 
"", Null String, "{ }" or "[ ]" .
That's what the error message seems like.

> Docker remote API.inspect() call results in java.lang.IllegalStateException: 
> Expected STRING but was BEGIN_ARRAY
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: JCLOUDS-783
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-783
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-labs
>    Affects Versions: 1.8.0
>         Environment: Docker 1.3.1, ubuntu 14.04
>            Reporter: BK Lau
>            Assignee: Andrea Turli
>              Labels: docker, inspect
>             Fix For: 1.9.0
>
>
> I run NGINX from https://registry.hub.docker.com/_/nginx/ and tried doing
> an inspect on a running container based on above nginx using Docker version 
> 1.3.1 on ubuntu 14.04, I got consistently JSON parsing errors:
> java.lang.IllegalStateException: Expected STRING but was BEGIN_ARRAY
> I attached sample error logs and Docker CLI inspect



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to