com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of int out of START_OBJECT token at [Source: [{"id":"532893790123811","name":"Pantin.pl","category":"Shopping/Retail","location":{"city":"Warszawa","street":"Zaborowska 3/102","zip":"01-462"},"website":"http://pantin.pl","picture":{"data":{"is_silhouette":false,"url":"https://scontent.xx.fbcdn.net/v/t1.0-1/p50x50/10891487_769435389802982_5405033680722684296_n.jpg?oh=ecaf9d77281254d9de6a1f2a8de10fae&oe=583409E6"}},"phone":"537 442 953","likes":{"data":[{"name":"Doktor Mama","id":"1427821997450768"},{"name":"Magazyn Świat Zabawek","id":"125452894212716"},{"name":"Schwytane chwile","id":"476955545722197"},{"name":"Książki na czacie","id":"517964151549514"},{"name":"Small foot - Legler","id":"1071869769504821"},{"name":"Igroteco Ltd","id":"1665869563685804"},{"name":"Stowarzyszenie Rodziców Dzieci Niepełnosprawnych \"Światełko\"","id":"123799804481600"},{"name":"Happy Hooligans","id":"216302488420163"},{"name":"pus.pl - Wydawnictwo Epideixis","id":"171151762895997"},{"name":"Cała Polska czyta dzieciom","id":"636470099709266"},{"name":"Czym zająć Malucha?","id":"443914889018247"},{"name":"Hubelino","id":"140807259303984"},{"name":"Kreatywnie w domu","id":"1418189921729095"},{"name":"Kusiątka","id":"463673670401599"},{"name":"Zabawkator","id":"485590371540932"},{"name":"Totschooling","id":"461176194009376"},{"name":"Weplay","id":"174388215928887"},{"name":"Mamablizniacza blog","id":"128992780598574"},{"name":"Pirx3D","id":"476926302357733"},{"name":"Fun at Home with Kids","id":"128903633948378"},{"name":"kandipatterns.com","id":"390681538992"},{"name":"Spielwarenmesse","id":"160932500623156"},{"name":"WEDGiTS™ Building Blocks from ImagAbility, Inc.","id":"88347429659"},{"name":"Kid's Biz Fair","id":"345263512215444"},{"name":"Triqo","id":"71896418948"}],"paging":{"cursors":{"before":"MTQyNzgyMTk5NzQ1MDc2OAZDZD","after":"NzE4OTY0MTg5NDgZD"}}},"checkins":0,"cover":{"cover_id":"826588670754320","offset_x":0,"offset_y":0,"source":"https://scontent.xx.fbcdn.net/v/t1.0-9/s720x720/11209759_826588670754320_3842549365222782651_n.jpg?oh=20d26e5bbface546d157d70d820373aa&oe=582A3265","id":"826588670754320"}}]; line: 1, column: 394] (through reference chain: java.util.ArrayList[0]->org.springframework.social.facebook.api.Page["likes"])

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

Try indicating constructor to use @JsonCreator annotation.

,

You are trying to deserialize a type for which Jackson does not provide a default mapper. You should create your custom mapper for this type.

Solutions on the web

via GitHub by aludwiko
, 1 year ago
Can not deserialize instance of int out of START_OBJECT token at [Source: [{"id":"532893790123811","name":"Pantin.pl","category":"Shopping/Retail","location":{"city":"Warszawa","street":"Zaborowska 3/102","zip":"01-462"},"website":"http://pantin.pl
via GitHub by balaji
, 2 years ago
Can not deserialize instance of java.lang.Integer out of START_OBJECT token at [Source: java.io.StringReader@4d95d2a2; line: 1, column: 17] (through reference chain: com.pro.protext.service.Simple["y"])
via GitHub by ruslansennov
, 5 months ago
Can not deserialize instance of java.lang.Integer out of FIELD_NAME token at [Source: java.io.StringReader@140e5a13; line: 1, column: 51] (through reference chain: javaslang.jackson.datatype.seq.XmlSerializeJavaslang["transitTypes"])
via GitHub by ruslansennov
, 1 year ago
Can not deserialize instance of java.lang.Integer out of FIELD_NAME token at [Source: java.io.StringReader@140e5a13; line: 1, column: 51] (through reference chain: javaslang.jackson.datatype.seq.XmlSerializeJavaslang["transitTypes"])
via ning.com by Unknown author, 1 year ago
Can not deserialize instance of int out of START_OBJECT token at [Source: java.io.StringReader@379e8f17; line: 1, column: 20] (through reference chain: jacksonXml.Invoices["invoice"]->jacksonXml.Invoice["invoice_number"])
via GitHub by olivergierke
, 1 year ago
Could not find creator property with name 'nested' (in class com.example.JacksonTest$Foo) at [Source: { "foo" : "something", "bar" : "something" }; line: 1, column: 1]
com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of int out of START_OBJECT token at [Source: [{"id":"532893790123811","name":"Pantin.pl","category":"Shopping/Retail","location":{"city":"Warszawa","street":"Zaborowska 3/102","zip":"01-462"},"website":"http://pantin.pl","picture":{"data":{"is_silhouette":false,"url":"https://scontent.xx.fbcdn.net/v/t1.0-1/p50x50/10891487_769435389802982_5405033680722684296_n.jpg?oh=ecaf9d77281254d9de6a1f2a8de10fae&oe=583409E6"}},"phone":"537 442 953","likes":{"data":[{"name":"Doktor Mama","id":"1427821997450768"},{"name":"Magazyn Świat Zabawek","id":"125452894212716"},{"name":"Schwytane chwile","id":"476955545722197"},{"name":"Książki na czacie","id":"517964151549514"},{"name":"Small foot - Legler","id":"1071869769504821"},{"name":"Igroteco Ltd","id":"1665869563685804"},{"name":"Stowarzyszenie Rodziców Dzieci Niepełnosprawnych \"Światełko\"","id":"123799804481600"},{"name":"Happy Hooligans","id":"216302488420163"},{"name":"pus.pl - Wydawnictwo Epideixis","id":"171151762895997"},{"name":"Cała Polska czyta dzieciom","id":"636470099709266"},{"name":"Czym zająć Malucha?","id":"443914889018247"},{"name":"Hubelino","id":"140807259303984"},{"name":"Kreatywnie w domu","id":"1418189921729095"},{"name":"Kusiątka","id":"463673670401599"},{"name":"Zabawkator","id":"485590371540932"},{"name":"Totschooling","id":"461176194009376"},{"name":"Weplay","id":"174388215928887"},{"name":"Mamablizniacza blog","id":"128992780598574"},{"name":"Pirx3D","id":"476926302357733"},{"name":"Fun at Home with Kids","id":"128903633948378"},{"name":"kandipatterns.com","id":"390681538992"},{"name":"Spielwarenmesse","id":"160932500623156"},{"name":"WEDGiTS™ Building Blocks from ImagAbility, Inc.","id":"88347429659"},{"name":"Kid's Biz Fair","id":"345263512215444"},{"name":"Triqo","id":"71896418948"}],"paging":{"cursors":{"before":"MTQyNzgyMTk5NzQ1MDc2OAZDZD","after":"NzE4OTY0MTg5NDgZD"}}},"checkins":0,"cover":{"cover_id":"826588670754320","offset_x":0,"offset_y":0,"source":"https://scontent.xx.fbcdn.net/v/t1.0-9/s720x720/11209759_826588670754320_3842549365222782651_n.jpg?oh=20d26e5bbface546d157d70d820373aa&oe=582A3265","id":"826588670754320"}}]; line: 1, column: 394] (through reference chain: java.util.ArrayList[0]->org.springframework.social.facebook.api.Page["likes"])
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:857)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer._parseInteger(StdDeserializer.java:460)
at com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:309)
at com.fasterxml.jackson.databind.deser.std.NumberDeserializers$IntegerDeserializer.deserialize(NumberDeserializers.java:287)
at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:520)
at com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:101)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:258)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:125)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:217)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:25)
at com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:1511)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
8 times, 4 months ago
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
144 more bugmates

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