com.fasterxml.jackson.databind.JsonMappingException: Invalid definition for property "" (of type Lcom/atribe/reproducingbug/ChildObject;): No non-constructor mutator available at [Source: { "companyName": "My Famke Company", "companyLogoImageId": "29a8045e-3d10-4121-9f27-429aa74d00ad", "productId": "ABC-0003", "productName": "Engineering Test", "recordNumber": "01", "revisionNumber": "1.0", "procedureId": "6e6f607e-fb3f-4750-8a0a-2b38220e3328", "childSet": [ { "title": "Child 1", "componentId": "3f7debe1-cddc-4b66-b7a7-49249e0c9d3e", "orderLabel": "1", "orderNumber": 1 } ] }; line: 1, column: 1]

GitHub | shongywong | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Problem with multi-argument Creator with `@JsonBackReference` property

    GitHub | 3 months ago | shongywong
    com.fasterxml.jackson.databind.JsonMappingException: Invalid definition for property "" (of type Lcom/atribe/reproducingbug/ChildObject;): No non-constructor mutator available at [Source: { "companyName": "My Famke Company", "companyLogoImageId": "29a8045e-3d10-4121-9f27-429aa74d00ad", "productId": "ABC-0003", "productName": "Engineering Test", "recordNumber": "01", "revisionNumber": "1.0", "procedureId": "6e6f607e-fb3f-4750-8a0a-2b38220e3328", "childSet": [ { "title": "Child 1", "componentId": "3f7debe1-cddc-4b66-b7a7-49249e0c9d3e", "orderLabel": "1", "orderNumber": 1 } ] }; line: 1, column: 1]
  2. 0

    How to handle HATEOAS REST requests from Eureka Feign?

    Stack Overflow | 1 year ago | Victor
    com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.util.ArrayList out of START_OBJECT token at [Source: java.io.PushbackInputStream@19b6e710; line: 1, column: 1]
  3. 0

    Problem with type information

    GitHub | 3 years ago | WaDelma
    com.fasterxml.jackson.databind.JsonMappingException: Unexpected token (START_OBJECT), expected START_ARRAY: need JSON Array to contain As.WRAPPER_ARRAY type information for class Test$Entity at [Source: {"entity":["Test$EntityImpl",{"id":"7063a77b-6bc7-4325-b22b-1a19a511f604","controller":["Test$ControllerImpl",{"id":"9dc32aaa-c58d-4d43-9574-22e131cc491f","controlled":"7063a77b-6bc7-4325-b22b-1a19a511f604","controller":"impl"}],"entity":"impl"}]}; line: 1, column: 1]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Heterogeneous JSON array not parsing with jackson

    Stack Overflow | 2 years ago | rcd
    com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of com.myapp.domain.ActivityUpload out of START_ARRAY token at [Source: [ { "machineuuid": "e74f75b9-d819-4377-b5cd-8bc0bd02dee2", "version": 5, "flags": 10 }, [ { "ma": [ { "arr": [ 3, 7, 0 ], "ts": "2014-12-02T18:56:50.514Z", "u": "74e4d525-ae1a-5406-8b4b-0166d03bf2a4" .... lines omitted ]; line: 1, column: 1]
  6. 0

    Deserialize a custom Map with Jackson

    Stack Overflow | 6 months ago | Chris Bouchard
    com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token at [Source: {"fooMap":{"a":"b","c":"d"},"barMap":{"e":"f","g":"h"}}; line: 1, column: 11] (through reference chain: test.TestMapSerialize$TestMap["fooMap"])
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.fasterxml.jackson.databind.JsonMappingException

    Invalid definition for property "" (of type Lcom/atribe/reproducingbug/ChildObject;): No non-constructor mutator available at [Source: { "companyName": "My Famke Company", "companyLogoImageId": "29a8045e-3d10-4121-9f27-429aa74d00ad", "productId": "ABC-0003", "productName": "Engineering Test", "recordNumber": "01", "revisionNumber": "1.0", "procedureId": "6e6f607e-fb3f-4750-8a0a-2b38220e3328", "childSet": [ { "title": "Child 1", "componentId": "3f7debe1-cddc-4b66-b7a7-49249e0c9d3e", "orderLabel": "1", "orderNumber": 1 } ] }; line: 1, column: 1]

    at com.fasterxml.jackson.databind.JsonMappingException.from()
  2. Jackson
    ObjectReader.readValue
    1. com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:270)
    2. com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:1329)
    3. com.fasterxml.jackson.databind.DeserializationContext.reportBadPropertyDefinition(DeserializationContext.java:1293)
    4. com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.constructSettableProperty(BeanDeserializerFactory.java:726)
    5. com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.addReferenceProperties(BeanDeserializerFactory.java:642)
    6. com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.buildBeanDeserializer(BeanDeserializerFactory.java:230)
    7. com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.createBeanDeserializer(BeanDeserializerFactory.java:141)
    8. com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer2(DeserializerCache.java:403)
    9. com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:349)
    10. com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:264)
    11. com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:244)
    12. com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:142)
    13. com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:443)
    14. com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:206)
    15. com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.createContextual(CollectionDeserializer.java:26)
    16. com.fasterxml.jackson.databind.DeserializationContext.handleSecondaryContextualization(DeserializationContext.java:681)
    17. com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:445)
    18. com.fasterxml.jackson.databind.deser.std.StdDeserializer.findDeserializer(StdDeserializer.java:964)
    19. com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:501)
    20. com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:293)
    21. com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:244)
    22. com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:142)
    23. com.fasterxml.jackson.databind.DeserializationContext.findRootValueDeserializer(DeserializationContext.java:476)
    24. com.fasterxml.jackson.databind.ObjectReader._findRootDeserializer(ObjectReader.java:1859)
    25. com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:1621)
    26. com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1220)
    26 frames
  3. com.atribe.reproducingbug
    ParentObjectTest.deserializeTest
    1. com.atribe.reproducingbug.ParentObject.deserialize(ParentObject.java:61)
    2. com.atribe.reproducingbug.ParentObjectTest.deserializeTest(ParentObjectTest.java:19)
    2 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  5. JUnit
    JUnitCore.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    13. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    14. org.junit.runner.JUnitCore.run(JUnitCore.java:160)
    14 frames
  6. IntelliJ junit4 module
    JUnit4IdeaTestRunner.startRunnerWithArgs
    1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
    1 frame
  7. IDEA
    JUnitStarter.main
    1. com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:51)
    2. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:237)
    3. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
    3 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  9. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
    1 frame