为了账号安全,请及时绑定邮箱和手机立即绑定

在执行tree的buid方法出现如下错误

严重: Servlet.service() for servlet [contacts] in context with path [/efo] threw exception [Handler processing failed; nested exception is java.lang.StackOverflowError] with root cause

java.lang.StackOverflowError

at java.util.AbstractList.listIterator(Unknown Source)

at java.util.AbstractSequentialList.iterator(Unknown Source)

at com.efo.common.tree.Tree.buildTree(Tree.java:38)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

http://img1.sycdn.imooc.com//58ec7acc000138ae07560199.jpg

正在回答

1 回答

StackOverflow  这个问题一般是你的程序里头可能是有死循环或递归调用所产生的;

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

在执行tree的buid方法出现如下错误

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信