question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`versionCatalogUpdate` task failing on `Collection contains no element matching the predicate`

See original GitHub issue

It’s unclear what collection is even being referenced… also, the update to libs.versions.toml happens nevertheless!

> Task :versionCatalogUpdate FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':versionCatalogUpdate'.
> Collection contains no element matching the predicate.

Not much can be inferred from --info logs either.

Full repro: the current state of https://github.com/VirtusLab/git-machete-intellij-plugin/pull/1009, i.e. https://github.com/VirtusLab/git-machete-intellij-plugin/tree/bffe9f95ef0b32e674c209ea58b07e0243ebdc80

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
hvissercommented, Jul 29, 2022

No particular reason other than I had publishing setup for Maven Central already. Could consider to publish to the Gradle plugin portal before I call it 1.0.0 maybe.

1reaction
hvissercommented, Jul 29, 2022

Should be on Maven Central shortly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - Collection contains no element matching the predicate
NoSuchElementException: Collection contains no element matching the predicate. Here is a more detailed error message: FAILURE: Build failed with ...
Read more >
java.util.NoSuchElementException: Sequence contains no ...
Hello, I've updated Ktlint to 10.2.0 and the plugin to 0.43.0-SNAPSHOT but I am getting below error when I run ./gradlew ktlintCheck >...
Read more >
Collection contains no element matching the predicate" for ...
psi2ir: "NoSuchElementException: Collection contains no element matching the predicate" for data class with property of type nullable Nothing.
Read more >
Sample app doesn't build [132402803] - Issue Tracker - Google
Task :ui-animation:compileDebugKotlin FAILED e: java.util.NoSuchElementException: Collection contains no element matching the predicate.
Read more >
userguide.pdf - Gradle User Manual
A build is an execution of a collection of tasks in a Gradle project. ... If gradle --version works, but all of your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found