Skip to content

Bomr may cause dependency resolution to fail with "Username must not be null!" #45950

Closed
@wilkinsona

Description

@wilkinsona

It calls getCredentials() which has an unwanted side-effect:

If no credentials have been assigned to this repository, an empty set of username and password credentials is assigned to this repository and returned.

The empty credentials may then cause failures when trying to resolve dependencies from a repository that does not require credentials. The failure occurs because "Username must not be null!".

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions