com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException

Unrecognized field "id" (class com.github.tomakehurst.wiremock.stubbing.StubMapping), not marked as ignorable (7 known properties: "response", "requiredScenarioState", "priority", "uuid", "request", "newScenarioState", "scenarioName"]) at [Source: { "id" : "77514bd4-a102-4478-a3c0-0fda8b905591", "request" : { "method" : "GET" }, "response" : { "status" : 200 }, "uuid" : "77514bd4-a102-4478-a3c0-0fda8b905591" }; line: 2, column: 11] (through reference chain: com.github.tomakehurst.wiremock.stubbing.StubMapping["id"])


Solutions on the web198

Solution icon of github
Unrecognized field "id" (class com.github.tomakehurst.wiremock.stubbing.StubMapping), not marked as ignorable (7 known properties: "response", "requiredScenarioState", "priority", "uuid", "request", "newScenarioState", "scenarioName"]) at [Source

Solution icon of github
Unrecognized field "transformers" (class com.github.tomakehurst.wiremock.http.ResponseDefinition), not marked as ignorable (11 known properties: "fixedDelayMilliseconds", "body", "fault", "headers", "bodyFileName", "proxyBaseUrl", "base64Body

Solution icon of stackoverflow
Unrecognized field "family" (class demothree.domain.Entity), not marked as ignorable (3 known properties: "fname", "id", "name"]) at [Source: N/A; line: -1, column: -1] (through reference chain: demothree.domain.Entity["family"])

Solution icon of web
via baeldung.com by Unknown author, 5 months ago
Unrecognized field "checked" (class org.baeldung.jackson.dtos.User), not marked as ignorable (2 known properties: "id", "name"]) at [Source: {"id":1,"name":"John", "checked":true}; line: 1, column: 38] (through reference chain: org.baeldung.jackson.dtos.User["checked"])

Solution icon of github
Unrecognized field "status" (class models.Scenario), not marked as ignorable (9 known properties: "name", "processingGtfs", "projectId", "bounds", "processingOsm", "files", "id", "description", "failed"]) at [Source: N/A; line: -1, column: -1] (through reference chain: models.Scenario["status"])

Solution icon of github
via GitHub by johanhaleby
, 1 year ago
Unrecognized field "status" (class com.test.model.Test), not marked as ignorable (4 known properties: , "lastName", "email", "company", "Id"]) at [Source: java.io.StringReader@a4c1b07; line: 1, column: 12] (through reference chain: com.test.model.Test["status"])

Solution icon of youtrack
Unrecognized field "charset-e" (class com.jetbrains.upsource.backend.server.createProject.MappingJSONData), not marked as ignorable (7 known properties: , "vcs", "username", "id", "client", "password", "mapping", "url"]) at [Source

Solution icon of github
via GitHub by StFS
, 1 year ago
Unrecognized field "aux" (class com.github.dockerjava.api.model.PushResponseItem), not marked as ignorable (9 known properties: , "stream", "error", "from", "progress", "time", "status", "errorDetail", "id", "progressDetail"]) at [Source: N/A; line: -1, column: -1] (through reference chain: com.github.dockerjava.api.model.PushResponseItem["aux"])

Solution icon of github
via GitHub by marcust
, 1 year ago
Unrecognized field "aux" (class com.github.dockerjava.api.model.PushResponseItem), not marked as ignorable (9 known properties: "stream", "error", "from", "progress", "time", "status", "errorDetail", "id", "progressDetail"]) at [Source: com.github.dockerjava.jaxrs.util.WrappedResponseInputStream@3f8bb62d; line: 134, column: 29] (through reference chain: com.github.dockerjava.api.model.PushResponseItem["aux"])

Solution icon of jenkins
via Jenkins JIRA by akostadinov, 1 year ago
Unrecognized field "stream" (class com.github.dockerjava.api.model.PullResponseItem), not marked as ignorable (6 known properties: , "status", "error", "errorDetail", "id", "progress", "progressDetail"]) at [Source: com.github.dockerjava.jaxrs.util.WrappedResponseInputStream@391533f1; line: 1, column: 12] (through reference chain: com.github.dockerjava.api.model.PullResponseItem["stream"])

Stack trace

  • com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "id" (class com.github.tomakehurst.wiremock.stubbing.StubMapping), not marked as ignorable (7 known properties: "response", "requiredScenarioState", "priority", "uuid", "request", "newScenarioState", "scenarioName"]) at [Source: { "id" : "77514bd4-a102-4478-a3c0-0fda8b905591", "request" : { "method" : "GET" }, "response" : { "status" : 200 }, "uuid" : "77514bd4-a102-4478-a3c0-0fda8b905591" }; line: 2, column: 11] (through reference chain: com.github.tomakehurst.wiremock.stubbing.StubMapping["id"]) at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:62) at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:834) at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1093) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1477) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1455) at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:282) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:140) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3798) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2842) at com.github.tomakehurst.wiremock.common.Json.read(Json.java:38) at com.github.tomakehurst.wiremock.stubbing.StubMapping.buildFrom(StubMapping.java:62)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 4 months ago
2 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
Once, 3 months ago
Once, 3 months ago
29 more bugmates