net.vidageek.mirror.exception.ReflectionProviderException

Could not invoke method adiciona

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Henrique Canto,
  • via Unknown by Miguel Orbegozo,
  • Stack trace

    • net.vidageek.mirror.exception.ReflectionProviderException: Could not invoke method adiciona at br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:120)[vraptor-4.0.0.Final.jar:] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:56)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:177)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:727)[undertow-core-1.0.15.Final.jar:1.0.15.Final] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.0_67] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.0_67] at java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.0_67] Caused by: net.vidageek.mirror.exception.ReflectionProviderException: Could not invoke method adiciona at net.vidageek.mirror.provider.java.PureJavaMethodReflectionProvider.invoke(PureJavaMethodReflectionProvider.java:45)[mirror-1.6.1.jar:] at net.vidageek.mirror.invoke.MethodHandlerByMethod.withArgs(MethodHandlerByMethod.java:54)[mirror-1.6.1.jar:] at br.com.caelum.vraptor.observer.ExecuteMethod.execute(ExecuteMethod.java:87)[vraptor-4.0.0.Final.jar:] at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)[:1.7.0_67] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.7.0_67] at java.lang.reflect.Method.invoke(Method.java:606)[rt.jar:1.7.0_67] at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:93)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:266)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:253)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:232)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:169)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:165)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.TransactionalObserverNotifier.notifyObserver(TransactionalObserverNotifier.java:46)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:119)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:112)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.EventImpl.fire(EventImpl.java:83)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:78)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.core.DefaultInterceptorStack$Proxy$_$$_WeldClientProxy.next(Unknown Source)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.interceptor.DefaultSimpleInterceptorStack.next(DefaultSimpleInterceptorStack.java:49)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.interceptor.DefaultSimpleInterceptorStack$Proxy$_$$_WeldClientProxy.next(Unknown Source)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.jpa.JPATransactionInterceptor.intercept(JPATransactionInterceptor.java:67)[vraptor-jpa-4.0.0.Final.jar:] at br.com.caelum.vraptor.jpa.JPATransactionInterceptor$Proxy$_$$_WeldClientProxy.intercept(Unknown Source)[vraptor-jpa-4.0.0.Final.jar:] at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)[:1.7.0_67] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.7.0_67] at java.lang.reflect.Method.invoke(Method.java:606)[rt.jar:1.7.0_67] at net.vidageek.mirror.provider.java.PureJavaMethodReflectionProvider.invoke(PureJavaMethodReflectionProvider.java:38)[mirror-1.6.1.jar:] at net.vidageek.mirror.invoke.MethodHandlerByMethod.withArgs(MethodHandlerByMethod.java:54)[mirror-1.6.1.jar:] at br.com.caelum.vraptor.interceptor.StepInvoker.invokeMethod(StepInvoker.java:63)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.interceptor.StepInvoker.tryToInvoke(StepInvoker.java:54)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.interceptor.StepInvoker$Proxy$_$$_WeldClientProxy.tryToInvoke(Unknown Source)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.interceptor.InterceptorExecutor.executeAround(InterceptorExecutor.java:75)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.interceptor.InterceptorExecutor$Proxy$_$$_WeldClientProxy.executeAround(Unknown Source)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.interceptor.AspectStyleInterceptorHandler.execute(AspectStyleInterceptorHandler.java:87)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.interceptor.ExceptionHandlerInterceptor.intercept(ExceptionHandlerInterceptor.java:75)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.interceptor.ExceptionHandlerInterceptor$Proxy$_$$_WeldClientProxy.intercept(Unknown Source)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:58)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)[vraptor-4.0.0.Final.jar:] at br.com.caelum.brutauth.interceptors.SimpleBrutauthRuleInterceptor.intercept(SimpleBrutauthRuleInterceptor.java:39)[vraptor-brutauth-4.0.0.Final.jar:] at br.com.caelum.brutauth.interceptors.SimpleBrutauthRuleInterceptor$Proxy$_$$_WeldClientProxy.intercept(Unknown Source)[vraptor-brutauth-4.0.0.Final.jar:] at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:58)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.interceptor.FlashInterceptor.intercept(FlashInterceptor.java:98)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.interceptor.FlashInterceptor$Proxy$_$$_WeldClientProxy.intercept(Unknown Source)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:58)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:60)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.interceptor.AspectStyleInterceptorHandler.execute(AspectStyleInterceptorHandler.java:90)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:83)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.core.DefaultInterceptorStack.start(DefaultInterceptorStack.java:93)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.core.DefaultInterceptorStack$Proxy$_$$_WeldClientProxy.start(Unknown Source)[vraptor-4.0.0.Final.jar:] at br.com.caelum.vraptor.observer.RequestHandlerObserver.handle(RequestHandlerObserver.java:86)[vraptor-4.0.0.Final.jar:] at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)[:1.7.0_67] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.7.0_67] at java.lang.reflect.Method.invoke(Method.java:606)[rt.jar:1.7.0_67] at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:93)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:266)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:253)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:232)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:169)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:165)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.TransactionalObserverNotifier.notifyObserver(TransactionalObserverNotifier.java:46)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:119)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:112)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.event.EventImpl.fire(EventImpl.java:83)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:116)[vraptor-4.0.0.Final.jar:] ... 28 more Caused by: javax.validation.ConstraintViolationException: 5 constraint violation(s) occurred during method validation. Constructor or Method: public void br.com.quality.cmartins.web.controller. UsuarioController.adiciona(br.com.quality.cmartins.model.Usuario,br.com. quality.cmartins.model.Perfil,java.lang.String) Argument values: [br.com.quality.cmartins.model.Usuario@4efc38b2, br.com. quality.cmartins.model.Perfil@5773d2d7, null] Constraint violations: (1) Kind: PROPERTY message: Nome não pode ser nulo. root bean: br.com.quality.cmartins.web.controller. UsuarioController$Proxy$_$$_WeldSubclass@5acb464a property path: adiciona.arg0.nome constraint: @javax.validation.constraints.NotNull(message=Nome não pode ser nulo., payload=[], groups=[]) (2) Kind: PROPERTY message: Genero não pode ser nulo. root bean: br.com.quality.cmartins.web.controller. UsuarioController$Proxy$_$$_WeldSubclass@5acb464a property path: adiciona.arg0.genero constraint: @javax.validation.constraints.NotNull(message=Genero não pode ser nulo., payload=[], groups=[]) (3) Kind: PROPERTY message: Login não pode ser nulo. root bean: br.com.quality.cmartins.web.controller. UsuarioController$Proxy$_$$_WeldSubclass@5acb464a property path: adiciona.arg0.login constraint: @javax.validation.constraints.NotNull(message=Login não pode ser nulo., payload=[], groups=[]) (4) Kind: PROPERTY message: Senha não pode ser nula. root bean: br.com.quality.cmartins.web.controller. UsuarioController$Proxy$_$$_WeldSubclass@5acb464a property path: adiciona.arg0.senha constraint: @javax.validation.constraints.NotNull(message=Senha não pode ser nula., payload=[], groups=[]) (5) Kind: PROPERTY message: Email não pode ser nulo. root bean: br.com.quality.cmartins.web.controller. UsuarioController$Proxy$_$$_WeldSubclass@5acb464a property path: adiciona.arg0.email constraint: @javax.validation.constraints.NotNull(message=Email não pode ser nulo., payload=[], groups=[]) at org.hibernate.validator.internal.cdi.interceptor.ValidationInterceptor.validateMethodInvocation(ValidationInterceptor.java:81)[hibernate-validator-cdi-5.1.0.Final.jar:5.1.0.Final] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.7.0_67] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[rt.jar:1.7.0_67] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.7.0_67] at java.lang.reflect.Method.invoke(Method.java:606)[rt.jar:1.7.0_67] at org.jboss.weld.interceptor.proxy.SimpleMethodInvocation.invoke(SimpleMethodInvocation.java:30)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.interceptor.chain.AbstractInterceptionChain.invokeNext(AbstractInterceptionChain.java:103)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.interceptor.chain.AbstractInterceptionChain.invokeNextInterceptor(AbstractInterceptionChain.java:81)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:48)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:41)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:53)[weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23] at br.com.quality.cmartins.web.controller.UsuarioController$Proxy$_$$_WeldSubclass.adiciona(Unknown Source)[classes:] at br.com.quality.cmartins.web.controller.UsuarioController$Proxy$_$$_WeldClientProxy.adiciona(Unknown Source)[classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.7.0_67] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[rt.jar:1.7.0_67] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[rt.jar:1.7.0_67] at java.lang.reflect.Method.invoke(Method.java:606)[rt.jar:1.7.0_67] at net.vidageek.mirror.provider.java.PureJavaMethodReflectionProvider.invoke(PureJavaMethodReflectionProvider.java:38)[mirror-1.6.1.jar:] ... 94 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.