java.lang.NullPointerException: null at com.millet.framework.aspectj.DataScopeAspect.clearDataScope(DataScopeAspect.java:140) at com.millet.framework.aspectj.DataScopeAspect.doBefore(DataScopeAspect.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:634) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:617) at org.springframework.aop.aspectj.AspectJMethodBeforeAdvice.before(AspectJMethodBeforeAdvice.java:44) at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215) at com.sun.proxy.$Proxy138.selectInvoiceListByinvoice(Unknown Source)
时间: 2023-10-03 10:04:06 浏览: 165
这段错误日志看起来是在调用 `com.millet.framework.aspectj.DataScopeAspect` 类中的方法时出现了空指针异常。具体来说,可能是在 `clearDataScope` 方法的第 140 行出现了空指针异常。建议检查该方法中使用的对象是否已经被正确初始化,或者是是否存在空值的情况。
阅读全文