@cpovirk I am encountering the same issue with JDK 17 when using version v3.4.4. It appears to be related to changes in the Premain-Class definition within the MANIFEST.MF file, as the same error occurs across all versions after v3.0.1.
Below is the stack trace I am receiving:
Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.instrument.Instrumentation.retransformClasses(java.lang.Class[])" because "inst" is null
at com.google.monitoring.runtime.instrumentation.ConstructorInstrumenter.instrumentClass(ConstructorInstrumenter.java:85)
Originally posted by @dbshah12 in #58
Originally posted by @dbshah12 in #58