美文网首页
FastClassBySpringCGLIB$$97d9c46f

FastClassBySpringCGLIB$$97d9c46f

作者: kingTao_ | 来源:发表于2021-03-29 15:50 被阅读0次

空指针特殊异常-拆装箱异常

java.lang.NullPointerException: cannot unbox null value

异常信息不会打印 cannot unbox null value

spring bean动态代理特殊异常

显示空指针,很容易误以为是bean注入失败;实际是拆装箱空指针异常导致
FastClassBySpringCGLIB$$97d9c46f.invoke(<generated>)

java.lang.NullPointerException:  null  at  

cn.bevol.internal.service.BackArticleService.kolcreateArticle(BackArticleService.java:1242) at  

cn.bevol.internal.service.BackArticleService$$FastClassBySpringCGLIB$$97d9c46f.invoke(<generated>) at  

org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at  

org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738) at  

org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at  

org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at  

org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at  

org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673) at  

cn.bevol.internal.service.BackArticleService$$EnhancerBySpringCGLIB$$d444beb5.kolcreateArticle(<generated>)

相关文章

网友评论

      本文标题:FastClassBySpringCGLIB$$97d9c46f

      本文链接:https://www.haomeiwen.com/subject/xmubhltx.html