Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InstrumentationException in EmptySemiTrucksDetectionController #49

Open
MarcelTUC opened this issue Oct 26, 2015 · 0 comments
Open

InstrumentationException in EmptySemiTrucksDetectionController #49

MarcelTUC opened this issue Oct 26, 2015 · 0 comments

Comments

@MarcelTUC
Copy link

How to reproduce

  • Eclipse with DynamicSpotter-Plugin
  • create a new project, set up the DynamicSpotter configuration: "workload.experiment.duration: 60", "workload.maxusers: 100".
  • As Instrumentation Satellite Adapter use the "DynamicInstrumentationClient"
  • As Measurement Satellite Adapter use the "MeasurementClient"
  • As workload I am using JMeter.

Start Dynamic Spotter and the exception occurs nearly the end of the test.

Exception

org.aim.aiminterface.exceptions.InstrumentationException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: Failed to create instance of extension artifact from extension org.aim.artifacts.scopes.EntryPointScope org.aim.aiminterface.exceptions.InstrumentationException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: Failed to create instance of extension artifact from extension org.aim.artifacts.scopes.EntryPointScope at org.spotter.core.instrumentation.InstrumentationBroker.instrument(InstrumentationBroker.java:113) at org.spotter.core.detection.AbstractDetectionController.instrumentApplication(AbstractDetectionController.java:249) at org.spotter.ext.detection.est.EmptySemiTrucksDetectionController.executeExperiments(EmptySemiTrucksDetectionController.java:83) at org.spotter.core.detection.AbstractDetectionController.analyzeProblem(AbstractDetectionController.java:129) at org.spotter.core.Spotter.startDiagnosis(Spotter.java:143) at org.spotter.service.SpotterServiceWrapper$1.run(SpotterServiceWrapper.java:126) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: Failed to create instance of extension artifact from extension org.aim.artifacts.scopes.EntryPointScope at java.util.concurrent.FutureTask.report(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at org.spotter.core.instrumentation.InstrumentationBroker.instrument(InstrumentationBroker.java:110) ... 10 more Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Failed to create instance of extension artifact from extension org.aim.artifacts.scopes.EntryPointScope at org.spotter.core.instrumentation.InstrumentationBroker$Task.run(InstrumentationBroker.java:159) ... 5 more Caused by: java.lang.RuntimeException: Failed to create instance of extension artifact from extension org.aim.artifacts.scopes.EntryPointScope at org.lpe.common.extension.ReflectiveAbstractExtension.createExtensionArtifact(ReflectiveAbstractExtension.java:44) at org.aim.mainagent.instrumentor.TraceInstrumentor.instrument(TraceInstrumentor.java:132) at org.aim.mainagent.AdaptiveInstrumentationFacade.instrument(AdaptiveInstrumentationFacade.java:106) 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:606) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75) at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279) at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:193) at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:175) at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:117) at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:54) at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237) at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138) at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487) at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848) at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322) at sun.rmi.transport.Transport$2.run(Transport.java:202) at sun.rmi.transport.Transport$2.run(Transport.java:199) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:198) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException: wrong number of arguments at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.lpe.common.extension.ReflectiveAbstractExtension.createExtensionArtifact(ReflectiveAbstractExtension.java:41) ... 43 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant