Skip to content

Spotbugs issues when using Powertools #298

Closed
@humanzz

Description

@humanzz

My team has a Gradle setup in our Lambda. We have Spotbugs enabled and failing our builds on finding issues. Once we added the Powertools dependencies Spotbugs picked up a few code issues in Powertools which I'm reporting below.

What were you trying to accomplish?
Use Powertools Logging, Metrics and Tracing.

Expected Behavior

Build to succeed without issues once dependencies were included

Current Behavior

Spotbugs picks up issues in Powertools code

Screenshot 2021-02-25 at 10 19 17

Environment

  • Powertools version used: 1.2.0
  • Packaging format (Layers, Maven/Gradle): Gradle, Spotbugs
  • AWS Lambda function runtime: Java 11

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions