You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.NullPointerException
at org.springframework.aop.aspectj.RuntimeTestWalker$InstanceOfResidueTestVisitor.instanceOfMatches(RuntimeTestWalker.java:172) [org.springframework.aop.jar:3.0.1.RELEASE]
at org.springframework.aop.aspectj.RuntimeTestWalker$ThisInstanceOfResidueTestVisitor.thisInstanceOfMatches(RuntimeTestWalker.java:221) [org.springframework.aop.jar:3.0.1.RELEASE]
at org.springframework.aop.aspectj.RuntimeTestWalker.testThisInstanceOfResidue(RuntimeTestWalker.java:90) [org.springframework.aop.jar:3.0.1.RELEASE]
at org.springframework.aop.aspectj.AspectJExpressionPointcut.matches(AspectJExpressionPointcut.java:307) [org.springframework.aop.jar:3.0.1.RELEASE]
at org.springframework.aop.support.MethodMatchers$IntersectionMethodMatcher.matches(MethodMatchers.java:236) [org.springframework.aop.jar:3.0.1.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:160) [org.springframework.aop.jar:3.0.1.RELEASE]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) [org.springframework.aop.jar:3.0.1.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [org.springframework.aop.jar:3.0.1.RELEASE]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [org.springframework.aop.jar:3.0.1.RELEASE]
at $Proxy131.createPlan(Unknown Source) [na:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_18]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_18]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_18]
at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_18]
at cc.catalysts.cp.server.impl.ApiManager.invoke(ApiManager.java:150) [cp-kernel.jar:1.3.10.03.24.17.45.10-dev]
at cc.catalysts.cp.remoting.impl.ApiAdapter.invoke(ApiAdapter.java:47) [cp-kernel.jar:1.3.10.03.24.17.45.10-dev]
at cc.catalysts.cp.remoting.red5.Red5ApiAdapter.invoke(Red5ApiAdapter.java:85) [cp-plugin-red5.jar:1.3.10.03.24.17.48.01-dev]
... 46 common frames omitted
This is reproducible, but only happens to a single bean in my context. Other beans with the same aspects applied work fine. This screenshot shows the contents of the stack right before the call that causes the exception, I hope that helps. If not, please let me know how I can assist.
I've simply added a (runtimeTest != null) guard to all those checks in RuntimeTestWalker... Not sure it'll solve the underlying problem but it at least avoids unpleasant NPEs.
Harald Radi opened SPR-7032 and commented
java.lang.NullPointerException
at org.springframework.aop.aspectj.RuntimeTestWalker$InstanceOfResidueTestVisitor.instanceOfMatches(RuntimeTestWalker.java:172) [org.springframework.aop.jar:3.0.1.RELEASE]
at org.springframework.aop.aspectj.RuntimeTestWalker$ThisInstanceOfResidueTestVisitor.thisInstanceOfMatches(RuntimeTestWalker.java:221) [org.springframework.aop.jar:3.0.1.RELEASE]
at org.springframework.aop.aspectj.RuntimeTestWalker.testThisInstanceOfResidue(RuntimeTestWalker.java:90) [org.springframework.aop.jar:3.0.1.RELEASE]
at org.springframework.aop.aspectj.AspectJExpressionPointcut.matches(AspectJExpressionPointcut.java:307) [org.springframework.aop.jar:3.0.1.RELEASE]
at org.springframework.aop.support.MethodMatchers$IntersectionMethodMatcher.matches(MethodMatchers.java:236) [org.springframework.aop.jar:3.0.1.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:160) [org.springframework.aop.jar:3.0.1.RELEASE]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) [org.springframework.aop.jar:3.0.1.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [org.springframework.aop.jar:3.0.1.RELEASE]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [org.springframework.aop.jar:3.0.1.RELEASE]
at $Proxy131.createPlan(Unknown Source) [na:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_18]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_18]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_18]
at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_18]
at cc.catalysts.cp.server.impl.ApiManager.invoke(ApiManager.java:150) [cp-kernel.jar:1.3.10.03.24.17.45.10-dev]
at cc.catalysts.cp.remoting.impl.ApiAdapter.invoke(ApiAdapter.java:47) [cp-kernel.jar:1.3.10.03.24.17.45.10-dev]
at cc.catalysts.cp.remoting.red5.Red5ApiAdapter.invoke(Red5ApiAdapter.java:85) [cp-plugin-red5.jar:1.3.10.03.24.17.48.01-dev]
... 46 common frames omitted
Affects: 3.0.1
Attachments:
Referenced from: commits 10c3587
The text was updated successfully, but these errors were encountered: