org.codehaus.jackson.map.JsonMappingException: Unexpected token (END_OBJECT), expected FIELD_NAME: missing property 'type' that is to contain type id (for class org.artifactory.ui.rest.model.artifacts.browse.treebrowser.tabs.general.GeneralArtifactInfo) at [Source: org.apache.catalina.connector.CoyoteInputStream@287264f9; line: 1, column: 65]

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

,
Expert tip

Types used for deserialization should be used in the way such that the annotation @JsonTypeInfo is visible.

Solutions on the web

via JFrog JIRA by Mor Iluz, 1 year ago
Unexpected token (END_OBJECT), expected FIELD_NAME: missing property 'type' that is to contain type id (for class org.artifactory.ui.rest.model.artifacts.browse.treebrowser.tabs.general.GeneralArtifactInfo) at [Source: org.apache.catalina.connector.CoyoteInputStream@287264f9; line: 1, column: 65]
via JFrog JIRA by Nihal Reddy Chinna Choudhary, 1 year ago
Unexpected token (END_OBJECT), expected FIELD_NAME: missing property 'type' that is to contain type id (for class org.artifactory.ui.rest.model.artifacts.br owse.treebrowser.tabs.general.GeneralArtifactInfo) at [Source: org.apache.catalina.connector.CoyoteInputStream@4f86206c; line: 1, column: 58]
via Stack Overflow by Ankur
, 1 year ago
Unexpected token (END_OBJECT), expected FIELD_NAME: missing property 'type' that is to contain type id (for class sempedia.model.query.QueryValue) at [Source: java.io.StringReader@325aef; line: 1, column: 175] (through reference chain: sempedia.model.query.QueryProperty["values"])
via ning.com by Unknown author, 2 years ago
Unexpected token (START_ARRAY), expected START_OBJECT: need JSON Object to contain As.PROPERTY type information (for class com.hp.oo.studio.shared.UUIDRegistry.UUIDMap) at [Source: java.io.StringReader@4f296361; line: 1, column: 1]
via codegur.com by Unknown author, 1 year ago
Can not deserialize instance of java.lang.String[] out of START_OBJECT token at [Source: java.io.StringReader@4bdc0bc7; line: 1, column: 437]
via Stack Overflow by atom217
, 1 year ago
Can not deserialize instance of java.lang.String[] out of START_OBJECT token at [Source: java.io.StringReader@4bdc0bc7; line: 1, column: 437]
org.codehaus.jackson.map.JsonMappingException: Unexpected token (END_OBJECT), expected FIELD_NAME: missing property 'type' that is to contain type id (for class org.artifactory.ui.rest.model.artifacts.browse.treebrowser.tabs.general.GeneralArtifactInfo) at [Source: org.apache.catalina.connector.CoyoteInputStream@287264f9; line: 1, column: 65]
at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163)
at org.codehaus.jackson.map.deser.StdDeserializationContext.wrongTokenException(StdDeserializationContext.java:261)
at org.codehaus.jackson.map.jsontype.impl.AsPropertyTypeDeserializer._deserializeTypedUsingDefaultImpl(AsPropertyTypeDeserializer.java:128)
at org.codehaus.jackson.map.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:100)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeWithType(BeanDeserializer.java:664)
at org.codehaus.jackson.map.deser.StdDeserializerProvider$WrappedDeserializer.deserialize(StdDeserializerProvider.java:461)
at org.codehaus.jackson.map.ObjectMapper._readValue(ObjectMapper.java:2704)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
177 times, 5 months ago

Write tip

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