org.springframework.remoting.RemoteInvocationFailureException: Invocation of method [public abstract java.lang.Long pageview.contract.CategoryDomainService.getPageViewByDomainCategory(com.vcc.pageview.request.DomainCategoryRequest)] failed in JMS invoker remote service at queue [queue://categoryDomainQueue]; nested exception is java.lang.NoSuchMethodException: $Proxy8.getPageViewByDomainCategory(com.vcc.pageview.request.DomainCategoryRequest)

Spring JIRA | tu nguyen khac | 4 years ago
  1. 0

    when i run REST (Spring web app) and try make a remoting over JMS i get exception : ( if i run in java base application every thing okie, with same config ) org.springframework.remoting.RemoteInvocationFailureException: Invocation of method [public abstract java.lang.Long pageview.contract.CategoryDomainService.getPageViewByDomainCategory(com.vcc.pageview.request.DomainCategoryRequest)] failed in JMS invoker remote service at queue [queue://categoryDomainQueue]; nested exception is java.lang.NoSuchMethodException: $Proxy8.getPageViewByDomainCategory(com.vcc.pageview.request.DomainCategoryRequest) at org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke(JmsInvokerClientInterceptor.java:214) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy8.getPageViewByDomainCategory(Unknown Source) at pageview.domain.category.CategoryDomainDataService.getPageViewByDomainPageId(CategoryDomainDataService.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)

    Spring JIRA | 4 years ago | tu nguyen khac
    org.springframework.remoting.RemoteInvocationFailureException: Invocation of method [public abstract java.lang.Long pageview.contract.CategoryDomainService.getPageViewByDomainCategory(com.vcc.pageview.request.DomainCategoryRequest)] failed in JMS invoker remote service at queue [queue://categoryDomainQueue]; nested exception is java.lang.NoSuchMethodException: $Proxy8.getPageViewByDomainCategory(com.vcc.pageview.request.DomainCategoryRequest)
  2. 0

    when i run REST (Spring web app) and try make a remoting over JMS i get exception : ( if i run in java base application every thing okie, with same config ) org.springframework.remoting.RemoteInvocationFailureException: Invocation of method [public abstract java.lang.Long pageview.contract.CategoryDomainService.getPageViewByDomainCategory(com.vcc.pageview.request.DomainCategoryRequest)] failed in JMS invoker remote service at queue [queue://categoryDomainQueue]; nested exception is java.lang.NoSuchMethodException: $Proxy8.getPageViewByDomainCategory(com.vcc.pageview.request.DomainCategoryRequest) at org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke(JmsInvokerClientInterceptor.java:214) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy8.getPageViewByDomainCategory(Unknown Source) at pageview.domain.category.CategoryDomainDataService.getPageViewByDomainPageId(CategoryDomainDataService.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)

    Spring JIRA | 4 years ago | tu nguyen khac
    org.springframework.remoting.RemoteInvocationFailureException: Invocation of method [public abstract java.lang.Long pageview.contract.CategoryDomainService.getPageViewByDomainCategory(com.vcc.pageview.request.DomainCategoryRequest)] failed in JMS invoker remote service at queue [queue://categoryDomainQueue]; nested exception is java.lang.NoSuchMethodException: $Proxy8.getPageViewByDomainCategory(com.vcc.pageview.request.DomainCategoryRequest)
  3. 0

    Flex Blazeds Java NoSuchMethodException

    Stack Overflow | 6 years ago | Harish
    org.springframework.remoting.RemoteInvocationFailureException: Invocation of method [public abstract gov.hhs.cms.ehrds.datacollection.model.PatientDataMeasurementCollectionList gov.hhs.cms.ebs.ehrds.datacollection.service.PatientDataMeasurementService.getPatientDataMeasurements(gov.hhs.cms.ehrds.datacollection.model.PatientDataRequest)] failed in JMS invoker remote service at queue [queue://DS1CN3009/EHR.DATACOLLECTION.PATIENT.REQUEST.1]; nested exception is gov.hhs.cms.common.exception.CodedException: $Proxy17.getPatientDataMeasurements(gov.hhs.cms.ehrds.datacollection.model.PatientDataRequest)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.springframework.remoting.RemoteInvocationFailureException

      Invocation of method [public abstract java.lang.Long pageview.contract.CategoryDomainService.getPageViewByDomainCategory(com.vcc.pageview.request.DomainCategoryRequest)] failed in JMS invoker remote service at queue [queue://categoryDomainQueue]; nested exception is java.lang.NoSuchMethodException: $Proxy8.getPageViewByDomainCategory(com.vcc.pageview.request.DomainCategoryRequest)

      at org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke()
    2. Spring Framework
      JmsInvokerClientInterceptor.invoke
      1. org.springframework.jms.remoting.JmsInvokerClientInterceptor.invoke(JmsInvokerClientInterceptor.java:214)
      1 frame
    3. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    4. Unknown
      $Proxy8.getPageViewByDomainCategory
      1. $Proxy8.getPageViewByDomainCategory(Unknown Source)
      1 frame
    5. pageview.domain.category
      CategoryDomainDataService.getPageViewByDomainPageId
      1. pageview.domain.category.CategoryDomainDataService.getPageViewByDomainPageId(CategoryDomainDataService.java:39)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:601)
      4 frames
    7. Spring
      InvocableHandlerMethod.invokeForRequest
      1. org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)
      2. org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
      2 frames
    8. Spring MVC
      DispatcherServlet.doDispatch
      1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
      2. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)
      3. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)
      4. org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
      5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
      5 frames