com.sun.jersey.api.client.ClientHandlerException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "ExecDriver" (Class com.kpelykh.docker.client.model.ContainerInspectResponse), not marked as ignorable at [Source: com.sun.jersey.client.apache4.ApacheHttpClient4Handler$HttpClientResponseInputStream@127df275; line: 1, column: 1069] (through reference chain: com.kpelykh.docker.client.model.ContainerInspectResponse["ExecDriver"])

Jenkins JIRA | Guillaume Belrose | 3 years ago
  1. 0

    I am trying to use the Docker build step plugin to launch an instance of CouchDB running inside a Docker container. A Jackson exception occurs after the container is launched. Note that the container itself is launched properly. See the output from Jenkins below: Started by user anonymous Building in workspace /var/lib/jenkins/jobs/couchdb-launcher/workspace [Docker] INFO: created container id 3d1110bcc22903a599d11c563221d8acbaa98e1dcf3b735c328dde002bb38439 (from image clouchdb) FATAL: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "ExecDriver" (Class com.kpelykh.docker.client.model.ContainerInspectResponse), not marked as ignorable at [Source: com.sun.jersey.client.apache4.ApacheHttpClient4Handler$HttpClientResponseInputStream@127df275; line: 1, column: 1069] (through reference chain: com.kpelykh.docker.client.model.ContainerInspectResponse["ExecDriver"]) com.sun.jersey.api.client.ClientHandlerException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "ExecDriver" (Class com.kpelykh.docker.client.model.ContainerInspectResponse), not marked as ignorable at [Source: com.sun.jersey.client.apache4.ApacheHttpClient4Handler$HttpClientResponseInputStream@127df275; line: 1, column: 1069] (through reference chain: com.kpelykh.docker.client.model.ContainerInspectResponse["ExecDriver"]) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:644) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:586) at com.sun.jersey.api.client.WebResource.handle(WebResource.java:686) at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:509) at com.kpelykh.docker.client.DockerClient.inspectContainer(DockerClient.java:418) at org.jenkinsci.plugins.dockerbuildstep.cmd.CreateContainerCommand.execute(CreateContainerCommand.java:74) at org.jenkinsci.plugins.dockerbuildstep.DockerBuilder.perform(DockerBuilder.java:57) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:745) at hudson.model.Build$BuildExecution.build(Build.java:198) at hudson.model.Build$BuildExecution.doRun(Build.java:159) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518) at hudson.model.Run.execute(Run.java:1706) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "ExecDriver" (Class com.kpelykh.docker.client.model.ContainerInspectResponse), not marked as ignorable at [Source: com.sun.jersey.client.apache4.ApacheHttpClient4Handler$HttpClientResponseInputStream@127df275; line: 1, column: 1069] (through reference chain: com.kpelykh.docker.client.model.ContainerInspectResponse["ExecDriver"]) at org.codehaus.jackson.map.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:53) at org.codehaus.jackson.map.deser.StdDeserializationContext.unknownFieldException(StdDeserializationContext.java:267) at org.codehaus.jackson.map.deser.std.StdDeserializer.reportUnknownProperty(StdDeserializer.java:649) at org.codehaus.jackson.map.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:635) at org.codehaus.jackson.map.deser.BeanDeserializer.handleUnknownProperty(BeanDeserializer.java:1355) at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:717) at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580) at org.codehaus.jackson.map.ObjectMapper._readValue(ObjectMapper.java:2695) at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1308) at org.codehaus.jackson.jaxrs.JacksonJsonProvider.readFrom(JacksonJsonProvider.java:419) at com.sun.jersey.json.impl.provider.entity.JacksonProviderProxy.readFrom(JacksonProviderProxy.java:139) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:634) ... 16 more

    Jenkins JIRA | 3 years ago | Guillaume Belrose
    com.sun.jersey.api.client.ClientHandlerException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "ExecDriver" (Class com.kpelykh.docker.client.model.ContainerInspectResponse), not marked as ignorable at [Source: com.sun.jersey.client.apache4.ApacheHttpClient4Handler$HttpClientResponseInputStream@127df275; line: 1, column: 1069] (through reference chain: com.kpelykh.docker.client.model.ContainerInspectResponse["ExecDriver"])
  2. 0

    I am trying to use the Docker build step plugin to launch an instance of CouchDB running inside a Docker container. A Jackson exception occurs after the container is launched. Note that the container itself is launched properly. See the output from Jenkins below: Started by user anonymous Building in workspace /var/lib/jenkins/jobs/couchdb-launcher/workspace [Docker] INFO: created container id 3d1110bcc22903a599d11c563221d8acbaa98e1dcf3b735c328dde002bb38439 (from image clouchdb) FATAL: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "ExecDriver" (Class com.kpelykh.docker.client.model.ContainerInspectResponse), not marked as ignorable at [Source: com.sun.jersey.client.apache4.ApacheHttpClient4Handler$HttpClientResponseInputStream@127df275; line: 1, column: 1069] (through reference chain: com.kpelykh.docker.client.model.ContainerInspectResponse["ExecDriver"]) com.sun.jersey.api.client.ClientHandlerException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "ExecDriver" (Class com.kpelykh.docker.client.model.ContainerInspectResponse), not marked as ignorable at [Source: com.sun.jersey.client.apache4.ApacheHttpClient4Handler$HttpClientResponseInputStream@127df275; line: 1, column: 1069] (through reference chain: com.kpelykh.docker.client.model.ContainerInspectResponse["ExecDriver"]) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:644) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:586) at com.sun.jersey.api.client.WebResource.handle(WebResource.java:686) at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:509) at com.kpelykh.docker.client.DockerClient.inspectContainer(DockerClient.java:418) at org.jenkinsci.plugins.dockerbuildstep.cmd.CreateContainerCommand.execute(CreateContainerCommand.java:74) at org.jenkinsci.plugins.dockerbuildstep.DockerBuilder.perform(DockerBuilder.java:57) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:745) at hudson.model.Build$BuildExecution.build(Build.java:198) at hudson.model.Build$BuildExecution.doRun(Build.java:159) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518) at hudson.model.Run.execute(Run.java:1706) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "ExecDriver" (Class com.kpelykh.docker.client.model.ContainerInspectResponse), not marked as ignorable at [Source: com.sun.jersey.client.apache4.ApacheHttpClient4Handler$HttpClientResponseInputStream@127df275; line: 1, column: 1069] (through reference chain: com.kpelykh.docker.client.model.ContainerInspectResponse["ExecDriver"]) at org.codehaus.jackson.map.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:53) at org.codehaus.jackson.map.deser.StdDeserializationContext.unknownFieldException(StdDeserializationContext.java:267) at org.codehaus.jackson.map.deser.std.StdDeserializer.reportUnknownProperty(StdDeserializer.java:649) at org.codehaus.jackson.map.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:635) at org.codehaus.jackson.map.deser.BeanDeserializer.handleUnknownProperty(BeanDeserializer.java:1355) at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:717) at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580) at org.codehaus.jackson.map.ObjectMapper._readValue(ObjectMapper.java:2695) at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1308) at org.codehaus.jackson.jaxrs.JacksonJsonProvider.readFrom(JacksonJsonProvider.java:419) at com.sun.jersey.json.impl.provider.entity.JacksonProviderProxy.readFrom(JacksonProviderProxy.java:139) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:634) ... 16 more

    Jenkins JIRA | 3 years ago | Guillaume Belrose
    com.sun.jersey.api.client.ClientHandlerException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "ExecDriver" (Class com.kpelykh.docker.client.model.ContainerInspectResponse), not marked as ignorable at [Source: com.sun.jersey.client.apache4.ApacheHttpClient4Handler$HttpClientResponseInputStream@127df275; line: 1, column: 1069] (through reference chain: com.kpelykh.docker.client.model.ContainerInspectResponse["ExecDriver"])
  3. 0

    UnrecognizedPropertyException: Unrecognized field "username" (Class com.jetbrains.upsource.backend.server.createProject.createProject.MappingJSONData), not marked as ignorable

    YouTrack | 2 years ago
    com.sun.jersey.api.client.ClientHandlerException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "username" (Class com.jetbrains.upsource.backend.server.createProject.createProject.MappingJSONData), not marked as ignorable at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@528fb611; line: 4, column: 19] (through reference chain: com.jetbrains.upsource.backend.server.createProject.createProject.VcsWorkSpaceJSON["mappings"]->com.jetbrains.upsource.backend.server.createProject.createProject.MappingJSONData["username"])
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unrecognized field "role"/"distribution"

    GitHub | 4 years ago | chrisprice
    com.sun.jersey.api.client.ClientHandlerException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "locked" (Class com.github.chrisprice.phonegapbuild.api.data.keys.IOsKeyResponse), not marked as ignorable at [Source: com.sun.jersey.client.apache.ApacheHttpClientHandler$HttpClientResponseInputStream@5d283826; line: 1, column: 64] (through reference chain: com.github.chrisprice.phonegapbuild.api.data.keys.IOsKeyResponse["locked"])
  6. 0

    K5.3.0 problem s automatickou indexaci po ingestu

    GitHub | 11 months ago | mduda100871
    org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "parameters" (Class org.json.JSONObject), not marked as ignorable at [Source: org.apache.catalina.connector.CoyoteInputStream@784b4b51; line: 1, column: 16] (through reference chain: org.json.JSONObject["parameters"])
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.codehaus.jackson.map.exc.UnrecognizedPropertyException

    Unrecognized field "ExecDriver" (Class com.kpelykh.docker.client.model.ContainerInspectResponse), not marked as ignorable at [Source: com.sun.jersey.client.apache4.ApacheHttpClient4Handler$HttpClientResponseInputStream@127df275; line: 1, column: 1069] (through reference chain: com.kpelykh.docker.client.model.ContainerInspectResponse["ExecDriver"])

    at org.codehaus.jackson.map.exc.UnrecognizedPropertyException.from()
  2. Data Mapper for Jackson
    ObjectMapper.readValue
    1. org.codehaus.jackson.map.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:53)
    2. org.codehaus.jackson.map.deser.StdDeserializationContext.unknownFieldException(StdDeserializationContext.java:267)
    3. org.codehaus.jackson.map.deser.std.StdDeserializer.reportUnknownProperty(StdDeserializer.java:649)
    4. org.codehaus.jackson.map.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:635)
    5. org.codehaus.jackson.map.deser.BeanDeserializer.handleUnknownProperty(BeanDeserializer.java:1355)
    6. org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:717)
    7. org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)
    8. org.codehaus.jackson.map.ObjectMapper._readValue(ObjectMapper.java:2695)
    9. org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1308)
    9 frames
  3. JAX-RS provider for JSON content type
    JacksonJsonProvider.readFrom
    1. org.codehaus.jackson.jaxrs.JacksonJsonProvider.readFrom(JacksonJsonProvider.java:419)
    1 frame
  4. jersey-json
    JacksonProviderProxy.readFrom
    1. com.sun.jersey.json.impl.provider.entity.JacksonProviderProxy.readFrom(JacksonProviderProxy.java:139)
    1 frame
  5. jersey-client
    WebResource$Builder.get
    1. com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:634)
    2. com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:586)
    3. com.sun.jersey.api.client.WebResource.handle(WebResource.java:686)
    4. com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
    5. com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:509)
    5 frames
  6. com.kpelykh.docker
    DockerClient.inspectContainer
    1. com.kpelykh.docker.client.DockerClient.inspectContainer(DockerClient.java:418)
    1 frame
  7. org.jenkinsci.plugins
    DockerBuilder.perform
    1. org.jenkinsci.plugins.dockerbuildstep.cmd.CreateContainerCommand.execute(CreateContainerCommand.java:74)
    2. org.jenkinsci.plugins.dockerbuildstep.DockerBuilder.perform(DockerBuilder.java:57)
    2 frames
  8. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:745)
    3. hudson.model.Build$BuildExecution.build(Build.java:198)
    4. hudson.model.Build$BuildExecution.doRun(Build.java:159)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
    6. hudson.model.Run.execute(Run.java:1706)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    8. hudson.model.ResourceController.execute(ResourceController.java:88)
    9. hudson.model.Executor.run(Executor.java:231)
    9 frames