com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "deleted" (class org.neo4j.ogm.response.model.RelationshipModel), not marked as ignorable (6 known properties: "properties", "startNode", "type", "id", "endNode", "propertyList"]) at [Source: N/A; line: -1, column: -1] (through reference chain: org.neo4j.ogm.result.ResultGraphModel["graph"]->org.neo4j.ogm.response.model.DefaultGraphModel["relationships"]->Object[][0]->org.neo4j.ogm.response.model.RelationshipModel["deleted"])

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

you should add @JsonIgnoresProperties, This allows properties not defined in your POJO to be ignored. Needed if you are just trying to gamble your way through few properties in JSON. you do this by @JsonIgnoreProperties(property=true)

,

You need to define another class for the information within ResObj {"ClientNum":"12345","ServerNum":"78945","IdNum":"020252"}. Otherwise jackson cannot determine how to deserialize.

Solutions on the web

via GitHub by tigrou83
, 11 months ago
Unrecognized field "deleted" (class org.neo4j.ogm.response.model.RelationshipModel), not marked as ignorable (6 known properties: "properties", "startNode", "type", "id", "endNode", "propertyList"]) at [Source: N/A; line: -1, column: -1](through
via Stack Overflow by tigrou83
, 1 year ago
Unrecognized field "deleted" (class org.neo4j.ogm.response.model.RelationshipModel), not marked as ignorable (6 known properties: "properties", "startNode", "type", "id", "endNode", "propertyList"]) at [Source: N/A; line: -1, column: -1] (through
via GitHub by marcingrzejszczak
, 9 months ago
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
via Stack Overflow by Luis Gómez Caballero
, 1 year ago
Unrecognized field "name" (class app.Savegame), not marked as ignorable (24 known properties: "globeZoom", "bases", "monthsPassed", "warned", "discovered", "incomes", "rng", "funds", "globeLat", "maintenance", "expenditures", "ufos
via Stack Overflow by Marcello de Sales
, 10 months ago
Unrecognized field "spring" (class com.company.platform.config.onboarding.files.config.model.ConfigServerProperties), not marked as ignorable (one known property: "repos"]) at [Source: /tmp/config-server-onboards.yml; line: 3, column: 3] (through reference chain: com.company.platform.config.onboarding.files.config.model.ConfigServerProperties["spring"])
via GitHub by ForcedInduction
, 2 months ago
Unrecognized field "Field1" (class com.ExampleObject$LevelOne), not marked as ignorable (one known property: "LevelTwo"]) at [Source: (StringReader); line: 5, column: 36] (through reference chain: com.ExampleObject["LevelOne"]->java.util.ArrayList[0]->com.ExampleObject$LevelOne["Field1"])
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "deleted" (class org.neo4j.ogm.response.model.RelationshipModel), not marked as ignorable (6 known properties: "properties", "startNode", "type", "id", "endNode", "propertyList"]) at [Source: N/A; line: -1, column: -1] (through reference chain: org.neo4j.ogm.result.ResultGraphModel["graph"]->org.neo4j.ogm.response.model.DefaultGraphModel["relationships"]->Object[][0]->org.neo4j.ogm.response.model.RelationshipModel["deleted"])
at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:62)
at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:833)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1096)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1467)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1445)
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.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:196)
at com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:20)
at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:490)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:95)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:276)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:140)
at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:490)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:95)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:276)
at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:178)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:150)
at com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:3761)
at org.neo4j.ogm.drivers.http.response.AbstractHttpResponse.nextDataRecord(AbstractHttpResponse.java:96)
at org.neo4j.ogm.drivers.http.response.GraphModelResponse.next(GraphModelResponse.java:34)
at org.neo4j.ogm.drivers.http.response.GraphModelResponse.next(GraphModelResponse.java:25)
at org.neo4j.ogm.context.GraphEntityMapper.map(GraphEntityMapper.java:84)
at org.neo4j.ogm.session.delegates.ExecuteQueriesDelegate.executeAndMap(ExecuteQueriesDelegate.java:115)
at org.neo4j.ogm.session.delegates.ExecuteQueriesDelegate.query(ExecuteQueriesDelegate.java:87)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
25 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
Once, 9 months ago
34 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.