[ https://issues.apache.org/jira/browse/GEODE-8574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17208382#comment-17208382 ]
ASF GitHub Bot commented on GEODE-8574: --------------------------------------- jinmeiliao opened a new pull request #5596: URL: https://github.com/apache/geode/pull/5596 …ion when function execution throws an Exception. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > ClassCastException when hitting members REST endpoint > ----------------------------------------------------- > > Key: GEODE-8574 > URL: https://issues.apache.org/jira/browse/GEODE-8574 > Project: Geode > Issue Type: Improvement > Components: rest (admin) > Affects Versions: 1.13.0 > Reporter: Jason Huynh > Assignee: Jinmei Liao > Priority: Major > Labels: GeodeOperationAPI > > This might be similar to https://issues.apache.org/jira/browse/GEODE-8078 > We see a FunctionInvocationTargetException when trying to use the rest > endpoint while servers are restarting/recovering > [error 2020/10/01 21:49:57.381 GMT <qtp507363919-70> tid=0x46] class > org.apache.geode.cache.execute.FunctionInvocationTargetException cannot be > cast to class org.apache.geode.management.runtime.RuntimeInfo > (org.apache.geode.cache.execute.FunctionInvocationTargetException and > org.apache.geode.management.runtime.RuntimeInfo are in unnamed module of > loader 'app') > java.lang.ClassCastException: class > org.apache.geode.cache.execute.FunctionInvocationTargetException cannot be > cast to class org.apache.geode.management.runtime.RuntimeInfo > (org.apache.geode.cache.execute.FunctionInvocationTargetException and > org.apache.geode.management.runtime.RuntimeInfo are in unnamed module of > loader 'app') > at > org.apache.geode.management.internal.api.LocatorClusterManagementService.list(LocatorClusterManagementService.java:459) > at > org.apache.geode.management.internal.api.LocatorClusterManagementService.get(LocatorClusterManagementService.java:476) > at > org.apache.geode.management.internal.rest.controllers.MemberManagementController.getMember(MemberManagementController.java:50) > at > org.apache.geode.management.internal.rest.controllers.MemberManagementController$$FastClassBySpringCGLIB$$3634e452.invoke(<generated>) > at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749) > at > org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:61) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749) > at > org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691) > at > org.apache.geode.management.internal.rest.controllers.MemberManagementController$$EnhancerBySpringCGLIB$$ef2756b6.getMember(<generated>) > at jdk.internal.reflect.GeneratedMethodAccessor237.invoke(Unknown Source) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) -- This message was sent by Atlassian Jira (v8.3.4#803005)