You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Drools runtime throws StackOverflowError when a self-relation scenario (bellow) happens
The self-relation friends causes a loop when the engine calls toStringfor the List class because in a situation of Friendship between A and B, A is inside of B's friends and vice-versa.
The Drools runtime throws
StackOverflowError
when a self-relation scenario (bellow) happensThe self-relation
friends
causes a loop when the engine callstoString
for theList
class because in a situation ofFriendship
betweenA
andB
,A
is inside ofB
's friends and vice-versa.The problem is
AbstractCollection
'stoString
method, a quick solution would be to offer our ownList
class reimplementingtoString
.The text was updated successfully, but these errors were encountered: