java.lang.NoSuchMethodError: cz/valvera/zk/zktest1/BeansViewModel.clicked()V

ZK-Tracker | id9848949 | 5 years ago
  1. 0

    JRebel (http://zeroturnaround.com/jrebel/) is a tool that adds support for hot class reloading to JVM. It can give quite a boost to productivy, as it can eliminite most reasons for redeploying. I tried it with ZK6 and simple MVVM project and it worked to some extent, but e.g. command method signature change failed: III 30, 2012 1:33:43 ODP. org.zkoss.zk.ui.impl.UiEngineImpl handleError:1348 SEVERE: >>java.lang.NoSuchMethodError: cz/valvera/zk/zktest1/BeansViewModel.clicked()V >> at cz.valvera.zk.zktest1.BeansViewModel.clicked(BeansViewModel.java) >> 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.zkoss.bind.impl.ParamCall.call(ParamCall.java:108) >> at org.zkoss.bind.impl.BinderImpl.doExecute(BinderImpl.java:1476) >> at org.zkoss.bind.impl.BinderImpl.doCommand(BinderImpl.java:1249) >> at org.zkoss.bind.impl.BinderImpl.access$1300(BinderImpl.java:92) >> at org.zkoss.bind.impl.BinderImpl$CommandEventListener.onEvent(BinderImpl.java:1141) (I attached simple project that demonstrates it.) I discussed it with JRebel team member on JRebel's support forum and he suggested that ZK6 can be holding some class metadata cache and is trying to invoke method with old cached signature, is this true?

    ZK-Tracker | 5 years ago | id9848949
    java.lang.NoSuchMethodError: cz/valvera/zk/zktest1/BeansViewModel.clicked()V
  2. 0

    JRebel (http://zeroturnaround.com/jrebel/) is a tool that adds support for hot class reloading to JVM. It can give quite a boost to productivy, as it can eliminite most reasons for redeploying. I tried it with ZK6 and simple MVVM project and it worked to some extent, but e.g. command method signature change failed: III 30, 2012 1:33:43 ODP. org.zkoss.zk.ui.impl.UiEngineImpl handleError:1348 SEVERE: >>java.lang.NoSuchMethodError: cz/valvera/zk/zktest1/BeansViewModel.clicked()V >> at cz.valvera.zk.zktest1.BeansViewModel.clicked(BeansViewModel.java) >> 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.zkoss.bind.impl.ParamCall.call(ParamCall.java:108) >> at org.zkoss.bind.impl.BinderImpl.doExecute(BinderImpl.java:1476) >> at org.zkoss.bind.impl.BinderImpl.doCommand(BinderImpl.java:1249) >> at org.zkoss.bind.impl.BinderImpl.access$1300(BinderImpl.java:92) >> at org.zkoss.bind.impl.BinderImpl$CommandEventListener.onEvent(BinderImpl.java:1141) (I attached simple project that demonstrates it.) I discussed it with JRebel team member on JRebel's support forum and he suggested that ZK6 can be holding some class metadata cache and is trying to invoke method with old cached signature, is this true?

    ZK-Tracker | 5 years ago | id9848949
    java.lang.NoSuchMethodError: cz/valvera/zk/zktest1/BeansViewModel.clicked()V
  3. 0

    adding methods to existing java class and recompile with my project

    Stack Overflow | 4 years ago | Gal Mazor
    java.lang.NoSuchMethodError: java.lang.String.<init>([CZ)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    By changing the CKEditor editor content(located inside a modal window), generates an exception when you close the window. exception has been thrown: 17-dic-2011 22.44.39 org.zkoss.zk.ui.impl.UiEngineImpl handleError:1353 GRAVE: >>java.lang.NoSuchMethodError: org.zkoss.zk.ui.event.InputEvent.getInputEvent(Lorg/zkoss/zk/au/AuRequest;)Lorg/zkoss/zk/ui/event/InputEvent; >> at org.zkforge.ckez.CKeditor.service(CKeditor.java:346) >> at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:693) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1195) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:562) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:460) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:468) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343) >> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) >> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:96) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:109) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149) >> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) >> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) >> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:203) >> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) >> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108) >> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:558) >> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) >> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:379) >> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:242) >> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:259) >> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:237) >> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:281) >> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) >> at java.lang.Thread.run(Thread.java:662)

    ZK-Tracker | 5 years ago | gfontana
    java.lang.NoSuchMethodError: org.zkoss.zk.ui.event.InputEvent.getInputEvent(Lorg/zkoss/zk/au/AuRequest;)Lorg/zkoss/zk/ui/event/InputEvent;
  6. 0

    By changing the CKEditor editor content(located inside a modal window), generates an exception when you close the window. exception has been thrown: 17-dic-2011 22.44.39 org.zkoss.zk.ui.impl.UiEngineImpl handleError:1353 GRAVE: >>java.lang.NoSuchMethodError: org.zkoss.zk.ui.event.InputEvent.getInputEvent(Lorg/zkoss/zk/au/AuRequest;)Lorg/zkoss/zk/ui/event/InputEvent; >> at org.zkforge.ckez.CKeditor.service(CKeditor.java:346) >> at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:693) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1195) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:562) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:460) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:468) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343) >> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) >> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:96) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:109) >> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) >> at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149) >> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) >> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:242) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) >> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) >> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:203) >> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) >> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108) >> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:558) >> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) >> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:379) >> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:242) >> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:259) >> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:237) >> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:281) >> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) >> at java.lang.Thread.run(Thread.java:662)

    ZK-Tracker | 5 years ago | gfontana
    java.lang.NoSuchMethodError: org.zkoss.zk.ui.event.InputEvent.getInputEvent(Lorg/zkoss/zk/au/AuRequest;)Lorg/zkoss/zk/ui/event/InputEvent;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      cz/valvera/zk/zktest1/BeansViewModel.clicked()V

      at cz.valvera.zk.zktest1.BeansViewModel.clicked()
    2. cz.valvera.zk
      BeansViewModel.clicked
      1. cz.valvera.zk.zktest1.BeansViewModel.clicked(BeansViewModel.java)
      1 frame
    3. 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
    4. ZK Bind
      BinderImpl$CommandEventListener.onEvent
      1. org.zkoss.bind.impl.ParamCall.call(ParamCall.java:108)
      2. org.zkoss.bind.impl.BinderImpl.doExecute(BinderImpl.java:1476)
      3. org.zkoss.bind.impl.BinderImpl.doCommand(BinderImpl.java:1249)
      4. org.zkoss.bind.impl.BinderImpl.access$1300(BinderImpl.java:92)
      5. org.zkoss.bind.impl.BinderImpl$CommandEventListener.onEvent(BinderImpl.java:1141)
      5 frames