1 ,错误原因,循环冗余检查

     result.setNearUsers(userList);
           Page page = new Page();
           page.setTotal(searchNearUser.getTotal());
           page.setSize(userList.size());
           page.setPage(discoverGetForm.getPaging());
           result.setPaging(page);
//         result.setData(result); 造成循环冗余检查的原因 setData 最好不要引用自己
           result.setSuccess( true);
           result.setMessage( "");
 
详细异常数据
  

<html><head><title>Apache Tomcat/7.0.57 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - Handler processing failed; nested exception is java.lang.StackOverflowError</h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u>Handler processing failed; nested exception is java.lang.StackOverflowError</u></p><p><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>org.springframework.web.util.NestedServletException : Handler processing failed; nested exception is java.lang.StackOverflowError
org.springframework.web.servlet.DispatcherServlet.triggerAfterCompletionWithError( DispatcherServlet.java:1259)
org.springframework.web.servlet.DispatcherServlet.doDispatch( DispatcherServlet.java:945)
org.springframework.web.servlet.DispatcherServlet.doService( DispatcherServlet.java:856)
org.springframework.web.servlet.FrameworkServlet.processRequest( FrameworkServlet.java:915)
org.springframework.web.servlet.FrameworkServlet.doGet( FrameworkServlet.java:811)
javax.servlet.http.HttpServlet.service( HttpServlet.java:620)
org.springframework.web.servlet.FrameworkServlet.service( FrameworkServlet.java:796)
javax.servlet.http.HttpServlet.service( HttpServlet.java:727)
org.apache.tomcat.websocket.server.WsFilter.doFilter( WsFilter.java:52)
</pre></p><p><b>root cause</b> <pre>java.lang.StackOverflowError
com.alibaba.fastjson.serializer.JSONSerializer.isEnabled( JSONSerializer.java:328)
com.alibaba.fastjson.serializer.JSONSerializer.containsReference( JSONSerializer.java:192)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)
com.alibaba.fastjson.serializer.JSONSerializer.writeWithFieldName( JSONSerializer.java:388)
Serializer_4.write1(Unknown Source)
Serializer_4.write(Unknown Source)

org.springframework.web.util.NestedServletException : Handler processing failed; nested exception is java.lang.StackOverflowError的更多相关文章

  1. Tomcat服务org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.OutOfMemoryError: Java heap space

    一个运行了很久的项目,最近忽然报错:OOM( java.lang.OutOfMemoryError: Java heap space),异常如下 org.springframework.web.uti ...

  2. error:org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException

    问题:调用的方法在一个接口类中,但我并没有注入那个被调用的类 解决:在UserEntity前加上@Autowired @Controller public class MainController { ...

  3. org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: Unknown column 'viewpoint' in 'field list'

    问题描述:当我在model中添加了一下代码以后数据库报错: 添加的代码为: private Viewpoint viewpoint; public Viewpoint getViewpoint() { ...

  4. org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.jboss.resteasy.plug

    之前做的项目是resteasy的上传,代码没有问题,断点都不进来呢. 我以为可以直接移植到SpringMVC,但是SpringMVC不支持MultipartFormDataInput , 用Multi ...

  5. Handler processing failed; nested exception is java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config解决

    出现这个问题往往伴随  HTTP-500错误 报错信息: HTTP Status - Handler processing failed; nested exception is java.lang. ...

  6. Handler processing failed; nested exception is java.lang.NoSuchMethodError: org.apache.commons.codec.digest.DigestUtils.sha1Hex(Ljava/lang/String;)Ljava/lang/String;

    异常:Handler processing failed; nested exception is java.lang.NoSuchMethodError: org.apache.commons.co ...

  7. threw exception [Handler processing failed; nested exception is java.lang.NoClassDefFoundError: com/dyuproject/protostuff/MapSchema$MessageFactory] with root cause

    错误记录 前几天朋友问我一个错误,顺便记录一下,关于redis 工具类,protostuff序列化报错. threw exception [Handler processing failed; nes ...

  8. 【java异常】org.springframework.web.util.NestedServletException: Handler processing failed;Can't connect to X11 window server using 'localhost:10.0' as the value of th

    tomcat工程中创建二维码失败.抛出异常Can't connect to X11 window server using 'localhost:10.0' as the value of th 因为 ...

  9. org.springframework.web.util.NestedServletException Handler processing failed; n

    因为谷歌的lists不支持或使用, 所有要改成java的list工具 谷歌list使用: import com.google.common.collect.Lists; .... Lists.newA ...

随机推荐

  1. [luogu3834][可持久化线段树 1(主席树)]

    题目链接 思路 裸的主席树.查询的时候,通过相减求出区间内左子树中数的个数a.然后判断要查找的k是否比这个z要大.如果比这个值大,那么就去右子树中查找第k - z大,否则去左子树中查找第k大. 代码 ...

  2. Django(十三)ajax 与 Bootstrap,font-awesome

    prop,attr,val font-awesome:字体,图标库 对话框添加,删除,修改: 添加: Ajax偷偷向后台发请求: 1. 下载引入jQuery 2. $.ajax({ url: '/ad ...

  3. vue在body上面绑定enter事件

    mounted () { this.bodyListener = (e) => { if (e.keyCode === 13 && e.target === document.b ...

  4. Sublime text 3支持utf-8

    首先安装插件ConvertToUTF8和Codecs33 Sublime Text 3中文乱码问题解决(最新) 然后配置一些有用的用户设置 2. 使文档保存时自动存为 UTF-8 编码格式 默认情况下 ...

  5. 免费馅饼 HDU - 1176 (动态规划)

    都说天上不会掉馅饼,但有一天gameboy正走在回家的小径上,忽然天上掉下大把大把的馅饼.说来gameboy的人品实在是太好了,这馅饼别处都不掉,就掉落在他身旁的10米范围内.馅饼如果掉在了地上当然就 ...

  6. 【BZOJ3894】【Luogu3358】文理分科 - 最小割多选一模型

    链接Click Here 这个题就是个板子的最小割多选一模型啦\(QwQ\),这里介绍一种通用的解法. 抛开组合收益不谈,这个题就是一个简单的最小割模型.我们只需要建出来这样一张图,在上面跑最小割,割 ...

  7. MegaCli命令使用详解

    一.MegaCli命令介绍 MegaCli是一款管理维护硬件RAID软件,可以用来查看raid信息等MegaCli 的Media Error Count: 0 Other Error Count: 0 ...

  8. day-04(jquery)

    回顾: js: 组成部分: ECMAScript BOM DOM 变量声明 var 变量名=初始化值; 数据类型: 原始类型 Undefined Null String Number Boolean: ...

  9. nGrinder TestRunnerBarrier.groovy / jihedian

    s import net.grinder.script.Barrier import net.grinder.script.GTest import net.grinder.scriptengine. ...

  10. Hadoop记录-Linux Service

    [Unit] Description=Datanode After=syslog.target network.target auditd.service sshd.service datanode_ ...