StackOverflowError is thrown from List.getTerm for large mutable lists.
Example of how to observe this bug using Prolog:
?- length(X,10000).
Resulting stacktrace:
Caught: java.lang.StackOverflowError from class: org.projog.core.term.List method: getTerm line: 104
java.lang.StackOverflowError
at org.projog.core.term.List.getTerm(List.java:104)
at org.projog.core.term.List.getTerm(List.java:1)
at org.projog.core.term.List.getTerm(List.java:105)
at org.projog.core.term.List.getTerm(List.java:1)
at org.projog.core.term.List.getTerm(List.java:105)
StackOverflowError
is thrown fromList.getTerm
for large mutable lists.Example of how to observe this bug using Prolog:
Resulting stacktrace: