Skip to content

jackson marshalling exception with ResponseItem.ProgressDetail #322

@llamahunter

Description

@llamahunter

I'm getting the following exception with version 2.1.0 of docker-java

com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "start" (class com.github.dockerjava.api.model.ResponseItem$ProgressDetail), not marked as ignorable (2 known properties: , "total", "current"])

Looking at the code, it appears the fields are annotated with 'ignoreUnknown = false', yet there seems to be an unknown 'start' field coming back from the docker registry. Our registry is artifactory, btw, not the docker-registry or docker.io, so it may be sending back some extra fields to be 'helpful'.

This annotation seems too strict?

Interesting, this error does not occur when running on my OS X laptop. It only happens on the build machine running an old version of jenkins, java and linux. Unfortunately, getting them to upgrade can take months.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions