Description
We can get infinite loop in org.apache.ignite.internal.util.typedef.X#hasCause and X#cause in case if exception is suppressed with itself.
Example:
Exception e = new Exception("foo"); Exception e2 = new Exception(e); e.addSuppressed(e2)
Stack:
java.lang.StackOverflowError: null
at org.apache.ignite.internal.util.typedef.X.hasCause(X.java:476)
at org.apache.ignite.internal.util.typedef.X.hasCause(X.java:489)
at org.apache.ignite.internal.util.typedef.X.hasCause(X.java:489)
at org.apache.ignite.internal.util.typedef.X.hasCause(X.java:489)
Attachments
Issue Links
- links to