We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【异常】Method threw 'java.lang.reflect.UndeclaredThrowableException' exception. Cannot evaluate com.sun.proxy.$Proxy66.toString()
【求问】这种情况要如何解决啊。
The text was updated successfully, but these errors were encountered:
能提供上下文吗..比如项目中用到RouteRequestImpl.getCIMServer()的代码。
Sorry, something went wrong.
因为ProxyManager中使用JDK动态代理,其invoke方法中是通过反射方法对Model进行的取值处理,故调用的接口方法入参可以改成model就不会出现这种错误了。。。
RouteRequestImpl.getCIMServer() RouteApi routeApi = new ProxyManager<>(RouteApi.class, routeUrl, okHttpClient).getInstance(); 动态代理调用接口时抛出一下异常 【异常】Method threw 'java.lang.reflect.UndeclaredThrowableException' exception. Cannot evaluate com.sun.proxy.$Proxy66.toString() 【求问】这种情况要如何解决啊。
同上面的回答,可以尝试一下
No branches or pull requests
【异常】Method threw 'java.lang.reflect.UndeclaredThrowableException' exception. Cannot evaluate com.sun.proxy.$Proxy66.toString()
【求问】这种情况要如何解决啊。
The text was updated successfully, but these errors were encountered: