org.springframework.web.util.NestedServletException : Handler processing failed; nested exception is java.lang.*Error

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.*Error</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.*Error</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.*Error
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.*Error
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)
上一篇:异常Exception in thread "AWT-EventQueue-XX" java.lang.*Error


下一篇:错误笔记:Caused by: java.lang.*Error