dromara / forest

A high-level and lightweight declarative HTTP client framework for Java. it makes sending HTTP requests in Java easier.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug:在项目运行一段时间后会报StackOverflowError

wangmeng3486 opened this issue · comments

在项目运行一段时间后会报StackOverflowError ,部分报错如下:
2024-01-04T13:46:46.690+08:00 ERROR 30 --- [io-8088-exec-11] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/portal/api] threw exception [Filter execution threw an exception] with root cause

java.lang.StackOverflowError: null
at com.dtflys.forest.mapping.SubVariableScope.getConfiguration(SubVariableScope.java:59) ~[forest-core-1.5.33.jar!/:1.5.33]
at com.dtflys.forest.mapping.SubVariableScope.getConfiguration(SubVariableScope.java:59) ~[forest-core-1.5.33.jar!/:1.5.33]
at com.dtflys.forest.mapping.SubVariableScope.getConfiguration(SubVariableScope.java:59) ~[forest-core-1.5.33.jar!/:1.5.33]
at com.dtflys.forest.mapping.SubVariableScope.getConfiguration(SubVariableScope.java:59) ~[forest-core-1.5.33.jar!/:1.5.33]
at com.dtflys.forest.mapping.SubVariableScope.getConfiguration(SubVariableScope.java:59) ~[forest-core-1.5.33.jar!/:1.5.33]
at com.dtflys.forest.mapping.SubVariableScope.getConfiguration(SubVariableScope.java:59) ~[forest-core-1.5.33.jar!/:1.5.33]
at com.dtflys.forest.mapping.SubVariableScope.getConfiguration(SubVariableScope.java:59) ~[forest-core-1.5.33.jar!/:1.5.33]
at com.dtflys.forest.mapping.SubVariableScope.getConfiguration(SubVariableScope.java:59) ~[forest-core-1.5.33.jar!/:1.5.33]
at com.dtflys.forest.mapping.SubVariableScope.getConfiguration(SubVariableScope.java:59) ~[forest-core-1.5.33.jar!/:1.5.33]
at com.dtflys.forest.mapping.SubVariableScope.getConfiguration(SubVariableScope.java:59) ~[forest-core-1.5.33.jar!/:1.5.33]
at com.dtflys.forest.mapping.SubVariableScope.getConfiguration(SubVariableScope.java:59) ~[forest-core-1.5.33.jar!/:1.5.33]
at com.dtflys.forest.mapping.SubVariableScope.getConfiguration(SubVariableScope.java:59) ~[forest-core-1.5.33.jar!/:1.5.33]
at com.dtflys.forest.mapping.SubVariableScope.getConfiguration(SubVariableScope.java:59) ~[forest-core-1.5.33.jar!/:1.5.33]
at com.dtflys.forest.mapping.SubVariableScope.getConfiguration(SubVariableScope.java:59) ~[forest-core-1.5.33.jar!/:1.5.33]

遇到了同样的错误