You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading the agent into the target program it creates a new thread and also for some reason doesnt have access to the classes because I get this error
Exception in thread "Attach Listener" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:491)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:513)
Caused by: javassist.NotFoundException: program.Utilities
at javassist.ClassPool.get(ClassPool.java:430)
at agent.Agent.agentmain(Agent.java:46)
... 6 more
Agent failed to start!
line 46: CtClass ctClass = classPool.get("program.Utilities");
The text was updated successfully, but these errors were encountered:
When loading the agent into the target program it creates a new thread and also for some reason doesnt have access to the classes because I get this error
Exception in thread "Attach Listener" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:491)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:513)
Caused by: javassist.NotFoundException: program.Utilities
at javassist.ClassPool.get(ClassPool.java:430)
at agent.Agent.agentmain(Agent.java:46)
... 6 more
Agent failed to start!
line 46: CtClass ctClass = classPool.get("program.Utilities");
The text was updated successfully, but these errors were encountered: