0 Replies Latest reply on Jun 16, 2009 8:25 AM by ips

    IllegalAccessException when calling getValue on 'invocationS

    ips

      I'm getting the following exception when I try to call getValue() on the 'invocationStats' ManagedProperty. I'm using the latest EAP branch with jboss-ejb3-metrics-deployer 1.0.0-alpha-8.

      08:18:32,291 INFO [CMD] [] psget EJB3:SLSB CalculatorBean '*'
      08:19:17,103 ERROR [STDERR] java.lang.reflect.UndeclaredThrowableException: Failed to get property 'invocationStats' on
      component 'CalculatorBean'.
      08:19:17,103 ERROR [STDERR] at org.jboss.profileservice.management.KernelBusRuntimeComponentDispatcher.get(KernelBus
      RuntimeComponentDispatcher.java:119)
      08:19:17,103 ERROR [STDERR] at org.jboss.profileservice.management.DelegatingComponentDispatcherImpl.get(DelegatingC
      omponentDispatcherImpl.java:81)
      08:19:17,103 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor413.invoke(Unknown Source)
      08:19:17,103 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      
      08:19:17,103 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      08:19:17,103 ERROR [STDERR] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
      08:19:17,103 ERROR [STDERR] at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationH
      andler.java:82)
      08:19:17,103 ERROR [STDERR] at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServi
      ceInvocationHandler.java:97)
      08:19:17,103 ERROR [STDERR] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
      08:19:17,103 ERROR [STDERR] at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:
      106)
      08:19:17,103 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:1724)
      08:19:17,103 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:629)
      08:19:17,103 ERROR [STDERR] at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.jav
      a:60)
      08:19:17,119 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      08:19:17,119 ERROR [STDERR] at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.j
      ava:74)
      08:19:17,119 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      08:19:17,119 ERROR [STDERR] at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor
      .java:65)
      08:19:17,119 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      08:19:17,119 ERROR [STDERR] at org.jboss.aop.generatedproxies.AOPProxy$1.get(AOPProxy$1.java)
      08:19:17,119 ERROR [STDERR] at org.jboss.profileservice.management.ManagedPropertyDelegate.getValue(ManagedPropertyD
      elegate.java:151)
      08:19:17,119 ERROR [STDERR] at org.jboss.fresh.shell.commands.profileservice.PsGetExe.toString(PsGetExe.java:159)
      08:19:17,119 ERROR [STDERR] at org.jboss.fresh.shell.commands.profileservice.PsGetExe.process(PsGetExe.java:145)
      08:19:17,119 ERROR [STDERR] at org.jboss.fresh.shell.AbstractExecutable.execute(AbstractExecutable.java:704)
      08:19:17,119 ERROR [STDERR] at org.jboss.fresh.shell.impl.Process.run(Process.java:350)
      08:19:17,119 ERROR [STDERR] at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:147)
      08:19:17,135 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      08:19:17,135 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      08:19:17,150 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
      08:19:17,150 ERROR [STDERR] Caused by: java.lang.IllegalAccessException: Class org.jboss.reflect.plugins.introspection.R
      eflectionUtils can not access a member of class org.jboss.ejb3.metrics.deployer.ManagedSessionMetricsWrapperBase with mo
      difiers "public"
      08:19:17,150 ERROR [STDERR] at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
      08:19:17,150 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:588)
      08:19:17,150 ERROR [STDERR] at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:5
      9)
      08:19:17,150 ERROR [STDERR] at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInf
      oImpl.java:150)
      08:19:17,150 ERROR [STDERR] at org.jboss.beans.info.plugins.DefaultPropertyInfo.get(DefaultPropertyInfo.java:133)
      08:19:17,150 ERROR [STDERR] at org.jboss.beans.info.plugins.BeanInfoUtil.getNestedTarget(BeanInfoUtil.java:78)
      08:19:17,150 ERROR [STDERR] at org.jboss.beans.info.plugins.BeanInfoUtil.get(BeanInfoUtil.java:142)
      08:19:17,150 ERROR [STDERR] at org.jboss.beans.info.plugins.AbstractBeanInfo.getProperty(AbstractBeanInfo.java:284)
      08:19:17,150 ERROR [STDERR] at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.get(AbstractKerne
      lControllerContext.java:275)
      08:19:17,150 ERROR [STDERR] at org.jboss.kernel.plugins.registry.basic.BasicKernelBus$1.dispatch(BasicKernelBus.java
      :63)
      08:19:17,150 ERROR [STDERR] at org.jboss.kernel.plugins.registry.basic.BasicKernelBus$1.dispatch(BasicKernelBus.java
      :66)
      08:19:17,150 ERROR [STDERR] at org.jboss.kernel.plugins.registry.basic.BasicKernelBus.execute(BasicKernelBus.java:54
      )
      08:19:17,150 ERROR [STDERR] at org.jboss.kernel.plugins.registry.basic.BasicKernelBus.get(BasicKernelBus.java:59)
      08:19:17,150 ERROR [STDERR] at org.jboss.profileservice.management.KernelBusRuntimeComponentDispatcher.get(KernelBus
      RuntimeComponentDispatcher.java:90)
      08:19:17,150 ERROR [STDERR] at org.jboss.profileservice.management.DelegatingComponentDispatcherImpl.get(DelegatingC
      omponentDispatcherImpl.java:81)
      08:19:17,150 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor413.invoke(Unknown Source)
      08:19:17,150 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      
      08:19:17,150 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      08:19:17,150 ERROR [STDERR] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
      08:19:17,150 ERROR [STDERR] at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationH
      andler.java:82)
      08:19:17,150 ERROR [STDERR] at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServi
      ceInvocationHandler.java:97)
      08:19:17,150 ERROR [STDERR] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
      08:19:17,150 ERROR [STDERR] at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:
      106)
      08:19:17,150 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:1724)
      08:19:17,150 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:629)
      08:19:17,150 ERROR [STDERR] at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.jav
      a:60)
      08:19:17,150 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      08:19:17,150 ERROR [STDERR] at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.j
      ava:74)
      08:19:17,166 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      08:19:17,181 ERROR [STDERR] at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor
      .java:65)
      08:19:17,181 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      08:19:17,181 ERROR [STDERR] at org.jboss.aop.generatedproxies.AOPProxy$1.get(AOPProxy$1.java)
      08:19:17,181 ERROR [STDERR] at org.jboss.profileservice.management.ManagedPropertyDelegate.getValue(ManagedPropertyD
      elegate.java:151)
      08:19:17,181 ERROR [STDERR] at org.jboss.fresh.shell.commands.profileservice.PsGetExe.toString(PsGetExe.java:159)
      08:19:17,181 ERROR [STDERR] at org.jboss.fresh.shell.commands.profileservice.PsGetExe.process(PsGetExe.java:145)
      08:19:17,181 ERROR [STDERR] at org.jboss.fresh.shell.AbstractExecutable.execute(AbstractExecutable.java:704)
      08:19:17,181 ERROR [STDERR] at org.jboss.fresh.shell.impl.Process.run(Process.java:350)
      08:19:17,181 ERROR [STDERR] at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:147)
      08:19:17,181 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      08:19:17,181 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      08:19:17,181 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
      08:19:17,181 ERROR [STDERR] at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.jav
      a:72)
      08:19:17,181 ERROR [STDERR] ... 15 more