Method threw ‘java.lang.NullPointerException‘ exception. Cannot evaluate com.sun.proxy.xxx

When I debug, I find that method thread 'Java. Lang. NullPointerException' exception. Cannot evaluate com. Sun. Proxy. $proxy0. Tostring() will appear, but it does not affect the normal operation of the program. It should be because the object generated during dynamic proxy may not have tostring() method, and the information is printed through toString in debug mode. So it also explains why the real proxy object can be returned in the invoke method

Read More: