com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: 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", "maelstromAuthorization", "investigators", "logo", "published", "studyIds" [truncated]]) at [Source: java.io.ByteArrayInputStream@6cb9ef1a; line: 1, column: 3384] (through reference chain: org.obiba.mica.network.domain.Network["attachments"])

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 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 bitcointalk.org by Unknown author, 2 years ago
Unrecognized field "validateSha26G etworkShares" (class strat.mining.stratum.proxy.configuration.model.Configuration), not marked as ig norable (34 known properties: "userHashrateSamplingPeriod", "stratumListenPort", "validateGetworkSha res
via GitHub by markjd84
, 2 years ago
Unrecognized field "pattern" (class models.transit.Trip), not marked as ignorable (18 known properties: "agencyId", "tripShortName", "routeId", "blockId", "endTime", "patternId", "startTime", "headway", "useFrequency", "tripDescription
via GitHub by ronsei
, 11 months ago
Unrecognized field "meta" (class org.neo4j.ogm.session.result.RowModelResult), not marked as ignorable (one known property: "row"]) at [Source: {"row":[0,0,1,1,2],"meta":[null,null,null,null,null]}]}; line: 1, column: 28] (through reference chain: org.neo4j.ogm.session.result.RowModelResult["meta"])
via GitHub by pilot2d
, 2 years ago
Unrecognized field "shortname" (class org.graylog2.plugins.PluginApiResponse), not marked as ignorable (0 known properties: ]) at [Source: java.io.StringReader@468bfb47; line: 1, column: 15] (through reference chain: org.graylog2.plugins.PluginApiResponse["shortname"])
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: 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", "maelstromAuthorization", "investigators", "logo", "published", "studyIds" [truncated]]) at [Source: java.io.ByteArrayInputStream@6cb9ef1a; line: 1, column: 3384] (through reference chain: org.obiba.mica.network.domain.Network["attachments"])
at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:51)
at com.fasterxml.jackson.databind.DeserializationContext.reportUnknownProperty(DeserializationContext.java:744)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:915)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1306)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1284)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:243)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:118)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3066)
at org.obiba.mica.network.search.EsPublishedNetworkService.processHit(EsPublishedNetworkService.java:50)
at org.obiba.mica.network.search.EsPublishedNetworkService.processHit(EsPublishedNetworkService.java:40)
at org.obiba.mica.search.AbstractPublishedDocumentService.lambda$find$116(AbstractPublishedDocumentService.java:108)

Users with the same issue

3 times, 1 year ago
25 times, 9 months ago
18 times, 11 months ago
9 times, 2 weeks ago
2 times, 1 year ago
34 more bugmates

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