Skip to content

104 provide a better error on provider lookup failure#105

Merged
rads merged 2 commits intobabashka:mainfrom
fpischedda:#104
Mar 21, 2026
Merged

104 provide a better error on provider lookup failure#105
rads merged 2 commits intobabashka:mainfrom
fpischedda:#104

Conversation

@fpischedda
Copy link
Copy Markdown
Contributor

@fpischedda fpischedda commented Mar 4, 2026

If the lib name does not match any of the expected providers, for example github or bitbucket, then the lookup will return nil and the subsequent call to clean-lib-str will throw a NullPointerException.

fix #104
bbin install fails with NullPointerException if the lib name fails the provider lookup

fpischedda and others added 2 commits March 4, 2026 16:54
If the lib name does not start with one of the expected providers, for
example github or bitbucket, then the lookup will return nil and the
subsequent call to `clean-lib-str` will throw a NullPointerException.
@rads rads merged commit 59e49fb into babashka:main Mar 21, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bbin install fails with NullPointerException if the lib name fails the provider lookup

2 participants