Closed giulio-quaresima closed 2 years ago
org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: Infinite recursion (StackOverflowError); nested exception is com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: eu.giulioquaresima.unicam.turns.domain.entities.FirebaseToken["user"]->eu.giulioquaresima.unicam.turns.domain.entities.User["firebaseTokens"]->org.hibernate.collection.internal.PersistentSet[0]->eu.giulioquaresima.unicam.turns.domain.entities.FirebaseToken["user"]->eu.giulioquaresima.unicam.turns.domain.entities.User["firebaseTokens"]->org.hibernate.collection.internal.PersistentSet[0]->eu.giulioquaresima.unicam.turns.domain.entities.FirebaseToken["user"]->eu.giulioquaresima.unicam.turns.domain.entities.User["firebaseTokens"]->org.hibernate.collection.internal.PersistentSet[0]->eu.giulioquaresima.unicam.turns.domain.entities.FirebaseToken["user"]->eu.giulioquaresima.unicam.turns.domain.entities.User["firebaseTokens"]->org.hibernate.collection.internal.PersistentSet[0]->eu.giulioquaresima.unicam.turns.domain.entities.FirebaseToken["user"]->eu.giulioquaresima.unicam.turns.domain.entities.User["firebaseTokens"]->org.hibernate.collection.internal.PersistentSet[0]->eu.giulioquaresima.unicam.turns.domain.entities.FirebaseToken["user"]->eu.giulioquaresima.unicam.turns.domain.entities.User["firebaseTokens"]->org.hibernate.collection.internal.PersistentSet[0]->eu.giulioquaresima.unicam.turns.domain.entities.FirebaseToken["user"]->eu.giulioquaresima.unicam.turns.domain.entities.User["firebaseTokens"]->org.hibernate.collection.internal.PersistentSet[0]->eu.giulioquaresima.unicam.turns.domain.entities.FirebaseToken["user"]- ...
org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: Infinite recursion (StackOverflowError); nested exception is com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: eu.giulioquaresima.unicam.turns.domain.entities.User["tickets"]->org.hibernate.collection.internal.PersistentSet[0]->eu.giulioquaresima.unicam.turns.domain.entities.Ticket["session"]->eu.giulioquaresima.unicam.turns.domain.entities.Session["ticketDispenser"]->eu.giulioquaresima.unicam.turns.domain.entities.TicketDispenser["owner"]->eu.giulioquaresima.unicam.turns.domain.entities.Owner["ownersUsers"]->org.hibernate.collection.internal.PersistentSet[0]->eu.giulioquaresima.unicam.turns.domain.entities.User["tickets"]->org.hibernate.collection.internal.PersistentSet[0]->eu.giulioquaresima.unicam.turns.domain.entities.Ticket["session"]->eu.giulioquaresima.unicam.turns.domain.entities.Session["ticketDispenser"]->eu.giulioquaresima.unicam.turns.domain.entities.TicketDispenser["owner"]->eu.giulioquaresima.unicam.turns.domain.entities.Owner["ownersUsers"]->org.hibernate.collection.internal.PersistentSet[0]->eu.giulioquaresima.unicam.turns.domain.entities.User["tickets"]->org.hibernate.collection.internal.PersistentSet[0]->eu.giulioquaresima.unicam.turns.domain.entities.Ticket["session"]->eu.giulioquaresima.unicam.turns.domain.entities.Session["ticketDispenser"]- >eu.giulioquaresima.unicam.turns.domain.entities.TicketDispenser["owner"]->eu.giulioquaresima.unicam.turns.domain.entities.Owner["ownersUsers"]->org.hibernate.collection.internal.PersistentSet[0]->eu.giulioquaresima.unicam.turns.domain.entities.User["tickets"]->org.hibernate.collection.internal.PersistentSet[0]->eu.giulioquaresima.unicam.turns.domain.entities.Ticket["session"]->eu.giulioquaresima.unicam.turns.domain.entities.Session["ticketDispenser"]->eu.giulioquaresima.unicam.turns.domain.entities.TicketDispenser["owner"]->eu.giulioquaresima.unicam.turns.domain.entities.Owner["ownersUsers"]->org.hibernate.collection.internal.PersistentSet[0]->eu.giulioquaresima.unicam.turns.domain.entities.User["tickets"]->org.hibernate.collection.internal.PersistentSet[0]->eu.giulioquaresima.unicam.turns.domain.entities.Ticket["session"]->eu.giulioquaresima.unicam.turns.domain.entities.Session["ticketDispenser"]->eu.giulioquaresima.unicam.turns.domain.entities.TicketDispenser["owner"]->eu.giulioquaresima.unicam.turns.domain.entities.Owner["ownersUsers"]- ...
Questa
e quest'altra