Skip to content

inst is null after v3.0.1 #59

@cpovirk

Description

@cpovirk

@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions