com.fasterxml.jackson.databind.JsonMappingException: Class java.lang.Long not subtype of [simple type, class long] (through reference chain: java.util.HashMap["longAsField"]->com.pinkmatter.bean.serialization.Data["key"])

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by ughzan
, 1 year ago
Class java.lang.Long not subtype of [simple type, class long] (through reference chain: java.util.HashMap["longAsField"]->com.pinkmatter.bean.serialization.Data["key"])
via GitHub by UghZan3
, 1 year ago
Class java.lang.Long not subtype of [simple type, class long] (through reference chain: java.util.HashMap["longAsField"]->com.pinkmatter.bean.serialization.Data["key"])
via Stack Overflow by Eric Wo
, 1 year ago
Numeric value (2505397589) out of range of int at [Source: java.io.ByteArrayInputStream@7b5948ea; line: 1, column: 2889] (through reference chain: org.springframework.social.facebook.api.User["video_upload_limits"])
via Google Groups by Stephan Gerth, 5 months ago
(was java.lang.NullPointerException) (through reference chain: de.oxitec.zkboost.backend.model*.OxSecUser["id"])*
via GitHub by rfkrocktk
, 2 years ago
need 12 bytes (through reference chain: org.tkassembled.example.bson.data.Article["_id"])
via Stack Overflow by Raj
, 1 year ago
Invalid format: "11/23/2016" is malformed at "/23/2016" (through reference chain: com.firstfuel.analytics.bpu.translator.Bean["start"])
com.fasterxml.jackson.databind.JsonMappingException: Class java.lang.Long not subtype of [simple type, class long] (through reference chain: java.util.HashMap["longAsField"]->com.pinkmatter.bean.serialization.Data["key"])
at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:379)
at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:339)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.wrapAndThrow(BeanDeserializerBase.java:1591)

Users with the same issue

2 times, 1 week ago
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

Write tip

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