Skip to content

NullPointerException in DefaultJmsProcessObservationConvention #4966

Closed

Description

@shakuzen
          The same problem occurs in io.micrometer.jakarta9.instrument.jms.DefaultJmsProcessObservationConvention line 113 (version 1.12.4). Shall I create a new issue or should this one be reopened?

Originally posted by @toellrich in #4505 (comment)

Activity

  1. added this to the 1.12.x milestone on Apr 16, 2024
  2. added
    bugA general bug
    instrumentationAn issue that is related to instrumenting a component
    on Apr 16, 2024
  3. modified the milestones: 1.12.x, 1.12.6 on Apr 16, 2024
  4. self-assigned this
    on Apr 16, 2024
  5. added a commit that references this issue on Apr 16, 2024
    9d9f8b0
  6. shakuzen commented on Apr 16, 2024

    @shakuzen
    MemberAuthor

    The fix will be available in snapshots in about 5 minutes. Would you be able to test them out and let us know if we've missed anything else, @toellrich?

  7. toellrich commented on Apr 16, 2024

    @toellrich

    Sure, where can I get those snapshots, @shakuzen?

  8. jonatan-ivanov commented on Apr 16, 2024

    @jonatan-ivanov
    Member

    @toellrich You can find the snapshot repo url in the readme.

  9. toellrich commented on Apr 17, 2024

    @toellrich

    Hmm, don't know what's going on here. I added the following to my Maven POM:

      <repositories>
        <repository>
          <id>repo.spring.io</id>
          <url>https://repo.spring.io/snapshot</url>
        </repository>	  
      </repositories>

    But I'm getting the following error:

    [INFO] Scanning for projects...
    [INFO] Downloading from repo.spring.io: https://repo.spring.io/snapshot/io/micrometer/micrometer-bom/latest.integration/micrometer-bom-latest.integration.pom
    [INFO] Downloading from central: https://repo.maven.apache.org/maven2/io/micrometer/micrometer-bom/latest.integration/micrometer-bom-latest.integration.pom
    [ERROR] [ERROR] Some problems were encountered while processing the POMs:
    [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: io.micrometer:micrometer-bom:pom:latest.integration (absent): Could not find artifact io.micrometer:micrometer-bom:pom:latest.integration in repo.spring.io (https://repo.spring.io/snapshot)
    ...
    
  10. shakuzen commented on Apr 17, 2024

    @shakuzen
    MemberAuthor

    Sorry, the README instructions were not clear. I don't think latest.integration will work with Maven for a version. I could have been more clear. The fix is in version 1.12.6-SNAPSHOT from the snapshot repo.

  11. toellrich commented on Apr 17, 2024

    @toellrich

    The error seems to be fixed. I didn't notice any other issues. Thanks!

  12. shakuzen commented on Apr 17, 2024

    @shakuzen
    MemberAuthor

    Thanks for confirming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugA general buginstrumentationAn issue that is related to instrumenting a component

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions