com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->[…])

Stack Overflow | PLahm21 | 2 months ago
  1. 0

    XWiki: StackOverflowError while importing XAR

    Stack Overflow | 2 months ago | PLahm21
    com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->[…])
  2. 0

    GitHub comment 69#113192175

    GitHub | 1 year ago | reda-alaoui
    com.fasterxml.jackson.databind.JsonMappingException: could not initialize proxy - no Session (through reference chain: com.foo.app.grid.GridConfiguration["user"]->com.foo.app.user.factory.User["siteClearances"]->org.hibernate.collection.internal.PersistentSet[0]->com.foo.app.site.SiteClearance["site"]->com.foo.app.site.Site["company"]->com.foo.app.company.Company_$$_jvstebb_7["name"])
  3. 0

    endless loop in production - database access

    GitHub | 2 years ago | Gateway85
    org.glassfish.jersey.server.internal.process.MappableException: com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: com._37coins.persistence.dao.OauthAccess["owner"]->com._37coins.persistence.dao.Account["oauthAccessTokens"]->org.datanucleus.store.types.wrappers.backed.Collection[0]->com._37coins.persistence.dao.OauthAccess["owner"]->com._37coins.persistence.dao.Account["oauthAccessTokens"]->org.datanucleus.store.types.wrappers.backed.Collection[0]->com._37coins.persistence.dao.OauthAccess["owner"]->com._37coins.persistence.dao.Account["oauthAccessTokens"]->org.datanucleus.store.types.wrappers.backed.Collection[0]->com._37coins.persistence.dao.OauthAccess["owner"]->com._37coins.persistence.dao.Account["oauthAccessTokens"]->org.datanucleus.store.types.wrappers.backed.Collection[0]->com._37coins.persistence.dao.OauthAccess["owner"]->com._37coins.persistence.dao.Account["oauthAccessTokens"]->org.datanucleus.store.types.wrappers.backed.Collection[0]->com._37coins.persistence.dao.OauthAccess["owner"]->com._37coins.persistence.dao.Account["oauthAccessTokens"]->org.datanucleus.store.types.wrappers.backed.Collection[0]->com._37coins.persistence.dao.OauthAccess["owner"]->com._37coins.persistence.dao.Account["oauthAccessTokens"]->org.datanucleus.store.types.wrappers.backed.Collection[0]->com._37coins.persistence.dao.OauthAccess["owner"]->com._37coins.persistence.dao.Account["oauthAccessTokens"]->org.datanucleus.store.types.wrappers.backed.Collection[0]->com._37coins.persistence.dao.OauthAccess["owner"]->com._37coins.persistence.dao.Account["oauthAccessTokens"]->org.datanucleus.store.types.wrappers.backed.Collection[0]->com._37coins.persistence.dao.OauthAccess["owner"]->com._37coins.persistence.dao.Account["oauthAccessTokens"]->org.datanucleus.store.types.wrappers. .... "oauthAccessTokens"]->org.datanucleus.store.types.wrappers.backed.Collection[0]->com._37coins.persistence.dao.OauthAccess["owner"]->com._37coins.persistence.dao.Account["oauthAccessTokens"]->org.datanucleus.store.types.wrappers.backed.Collection[0]->com._37coins.persistence.dao.OauthAccess["owner"]->com._37coins.persistence.dao.Account["oauthAccessTokens"]->org.datanucleus.store.types.wrappers.backed.Collection[0]->com._37coins.persistence.dao.OauthAccess["owner"])
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    InfiniteRecursion Jackson with Hibernate5Module

    Stack Overflow | 1 year ago | AndreyS
    com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: ....
  6. 0

    Custom Jackson serializing entities with one to many relationship

    Stack Overflow | 2 years ago
    com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: java.util.ArrayList[0])

    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

      Infinite recursion (StackOverflowError) (through reference chain: java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->java.util.UnmodifiableList[0]->org.xwiki.model.reference.EntityReference["reversedReferenceChain"]->[…])

      at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields()
    2. Jackson
      CollectionSerializer.serialize
      1. com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:677)[jackson-databind-2.5.0.jar:2.5.0]
      2. com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:156)[jackson-databind-2.5.0.jar:2.5.0]
      3. com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serializeContents(CollectionSerializer.java:132)[jackson-databind-2.5.0.jar:2.5.0]
      4. com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serialize(CollectionSerializer.java:94)[jackson-databind-2.5.0.jar:2.5.0]
      5. com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serialize(CollectionSerializer.java:24)[jackson-databind-2.5.0.jar:2.5.0]
      6. com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:575)[jackson-databind-2.5.0.jar:2.5.0]
      7. com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:663)[jackson-databind-2.5.0.jar:2.5.0]
      8. com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:156)[jackson-databind-2.5.0.jar:2.5.0]
      9. com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serializeContents(CollectionSerializer.java:132)[jackson-databind-2.5.0.jar:2.5.0]
      10. com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serialize(CollectionSerializer.java:94)[jackson-databind-2.5.0.jar:2.5.0]
      11. com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serialize(CollectionSerializer.java:24)[jackson-databind-2.5.0.jar:2.5.0]
      12. com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:575)[jackson-databind-2.5.0.jar:2.5.0]
      13. com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:663)[jackson-databind-2.5.0.jar:2.5.0]
      14. com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:156)[jackson-databind-2.5.0.jar:2.5.0]
      15. com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serializeContents(CollectionSerializer.java:132)[jackson-databind-2.5.0.jar:2.5.0]
      16. com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serialize(CollectionSerializer.java:94)[jackson-databind-2.5.0.jar:2.5.0]
      17. com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serialize(CollectionSerializer.java:24)[jackson-databind-2.5.0.jar:2.5.0]
      18. com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:575)[jackson-databind-2.5.0.jar:2.5.0]
      19. com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:663)[jackson-databind-2.5.0.jar:2.5.0]
      20. com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:156)[jackson-databind-2.5.0.jar:2.5.0]
      21. com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serializeContents(CollectionSerializer.java:132)[jackson-databind-2.5.0.jar:2.5.0]
      22. com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serialize(CollectionSerializer.java:94)[jackson-databind-2.5.0.jar:2.5.0]
      23. com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serialize(CollectionSerializer.java:24)[jackson-databind-2.5.0.jar:2.5.0]
      23 frames