google / google/allocation-instrumenter
inst is null after v3.0.1
- Dominant language
- Java
- Stars
- 492
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
> @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](https://github.com/google/allocation-instrumenter/issues/58#issuecomment-3306611112)_
Contributor guide
Assessment
This issue has not been assessed yet.