com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "id" (class com.bbn.openmap.dataAccess.mapTile.tpk.MapServerDescription$Resource$RResource$Contents$SubLayer), not marked as ignorable (0 known properties: ]) at [Source: java.util.zip.ZipFile$ZipFileInputStream@6ab7a896; line: 1, column: 3284] (through reference chain: Object[][0]->Object[][0]->Object[][0]->com.bbn.openmap.dataAccess.mapTile.tpk.SubLayer["id"])

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 Google Groups by Unknown author, 10 months ago
Unrecognized field "id" (class com.bbn.openmap.dataAccess.mapTile.tpk.MapServerDescription$Resource$RResource$Contents$SubLayer), not marked as ignorable (0 known properties: ]) at [Source: java.util.zip.ZipFile$ZipFileInputStream@6ab7a896
via GitHub by tfnico
, 1 year ago
Unrecognized field "comments" (class com.github.cukedoctor.api.model.Row), not marked as ignorable (one known property: "cells"]) at [Source: java.io.InputStreamReader@271053e1; line: 758, column: 30] (through reference chain: java.util.ArrayList[4
via GitHub by tfnico
, 1 year ago
Unrecognized field "comments" (class com.github.cukedoctor.api.model.Row), not marked as ignorable (one known property: "cells"]) at [Source: java.io.InputStreamReader@3f3365ce; line: 765, column: 30] (through reference chain: java.util.ArrayList[4
via JIRA by Yannick Marcon, 1 year ago
Unrecognized field "attachments" (class org.obiba.mica.network.domain.Network), not marked as ignorable (18 known properties: "acronym", "infos", "name", "lastModifiedDate", "contacts", "attributes", "version", "id", "website", "createdBy
via JIRA by Yannick Marcon, 1 year ago
Unrecognized field "attachments" (class org.obiba.mica.network.domain.Network), not marked as ignorable (18 known properties: "acronym", "infos", "name", "lastModifiedDate", "contacts", "attributes", "version", "id", "website", "createdBy
via Stack Overflow by dur
, 1 year ago
Unrecognized field "id2" (class test.TestModel), not marked as ignorable (one known property: "id"]) at [Source: org.apache.cxf.transport.http.AbstractHTTPDestination$1@6f30793d; line: 1, column: 10] (through reference chain: test.TestModel["id2"])
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "id" (class com.bbn.openmap.dataAccess.mapTile.tpk.MapServerDescription$Resource$RResource$Contents$SubLayer), not marked as ignorable (0 known properties: ]) at [Source: java.util.zip.ZipFile$ZipFileInputStream@6ab7a896; line: 1, column: 3284] (through reference chain: Object[][0]->Object[][0]->Object[][0]->com.bbn.openmap.dataAccess.mapTile.tpk.SubLayer["id"])
at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:51)
at com.fasterxml.jackson.databind.DeserializationContext.reportUnknownProperty(DeserializationContext.java:817)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:958)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1324)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1302)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:249)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:136)
at com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:156)
at com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:17)
at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:523)
at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:381)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1073)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:142)
at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:523)
at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:381)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1073)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:142)
at com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:156)
at com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:17)
at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:523)
at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:381)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1073)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:142)
at com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:156)
at com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:17)
at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:523)
at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:381)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1073)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:142)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3562)
at com.bbn.openmap.dataAccess.mapTile.tpk.TpkReader.loadJSON(TpkReader.java:106)
at com.bbn.openmap.dataAccess.mapTile.tpk.TpkReader.(TpkReader.java:34)
at com.bbn.openmap.dataAccess.mapTile.tpk.TpkMapTileFactory.loadTpk(TpkMapTileFactory.java:204)
at com.bbn.openmap.dataAccess.mapTile.tpk.TpkMapTileFactory.setProperties(TpkMapTileFactory.java:188)
at com.bbn.openmap.util.ComponentFactory._create(ComponentFactory.java:492)
at com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:390)
at com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:369)
at com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:323)
at com.bbn.openmap.layer.imageTile.MapTileLayer.setProperties(MapTileLayer.java:260)
at com.bbn.openmap.util.ComponentFactory._create(ComponentFactory.java:492)
at com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:390)
at com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:369)
at com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:323)
at com.bbn.openmap.LayerHandler.getLayers(LayerHandler.java:422)
at com.bbn.openmap.LayerHandler.getLayers(LayerHandler.java:375)
at com.bbn.openmap.LayerHandler.init(LayerHandler.java:218)
at com.bbn.openmap.LayerHandler.setProperties(LayerHandler.java:204)
at com.bbn.openmap.util.ComponentFactory._create(ComponentFactory.java:492)
at com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:390)
at com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:369)
at com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:323)
at com.bbn.openmap.util.ComponentFactory._create(ComponentFactory.java:267)
at com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:183)
at com.bbn.openmap.PropertyHandler.createComponents(PropertyHandler.java:809)
at com.bbn.openmap.gui.BasicMapPanel.createComponents(BasicMapPanel.java:197)
at com.bbn.openmap.gui.BasicMapPanel.create(BasicMapPanel.java:159)
at com.bbn.openmap.app.Main.configureMapPanel(Main.java:69)
at com.bbn.openmap.app.OpenMap.(OpenMap.java:71)
at com.bbn.openmap.app.Main.(Main.java:60)
at com.bbn.openmap.app.Main.create(Main.java:114)
at com.bbn.openmap.app.Main.main(Main.java:133)

Users with the same issue

6 times, 2 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
Once, 5 months ago
34 more bugmates

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