From 49ecc8992651a36d03defcfe12443750459797ba Mon Sep 17 00:00:00 2001 From: Rajiv Date: Mon, 8 Jun 2020 13:33:01 +0530 Subject: [PATCH] Downgrade Byteman to 4.0.6 since upgrade is causing NPE FATAL ERROR in native method: processing of -javaagent failed Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386) at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401) Caused by: ai.apptuit.metrics.jinsight.Agent$AgentInitializationException: java.lang.reflect.InvocationTargetException at ai.apptuit.metrics.jinsight.Agent.lambda$premain$0(Agent.java:53) at ai.apptuit.metrics.jinsight.Agent.main0(Agent.java:98) at ai.apptuit.metrics.jinsight.Agent.premain(Agent.java:49) ... 6 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.jboss.byteman.agent.Main.premain(Main.java:276) at ai.apptuit.metrics.jinsight.Agent.lambda$premain$0(Agent.java:51) ... 8 more Caused by: java.lang.NullPointerException at org.jboss.byteman.agent.Transformer.setAgentVersion(Transformer.java:1461) at org.jboss.byteman.agent.Transformer.(Transformer.java:105) ... 14 more --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8231551..e7cdedd 100644 --- a/pom.xml +++ b/pom.xml @@ -105,7 +105,7 @@ limitations under the License. 3.0.0-M3 4.13 0.8.5 - 4.0.11 + 4.0.6 4.1.9 0.9.0 0.9.2