-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradle updates fail with "undefined method `name' for nil:NilClass'" #4793
Comments
We are experiencing the same issue (with npm) |
@Akuka maybe this issue then? |
There's also this one for pip that was resolved a few months ago. Not sure if they all have a similar root cause, but the error messages do look suspiciously similar 😄 |
Hi @denebgarza, I'm not super familiar with these Dependabot ecosystems, but it looks like Dependabot is failing to parse the name of the dependency from your Gradle buildfile. Could you share the relevant parts of the manifest file(s) you're using? |
Nothing noteworthy about the manifest. It's all pretty basic. Issue seems to have fixed itself without any changes. Closing the issue. Thanks! |
Hey we currently experiencing the same issue with grade project.
|
Found a culprit that was causing the issues: ...
object Version {
const val awsSdk = "0.14.0-beta"
}
dependencies {
implementation("aws.sdk.kotlin:s3:${Version.awsSdk}")
implementation("aws.sdk.kotlin:sqs:${Version.awsSdk}")
}
... |
@savdeev Can you provide more detail into how this was causing the issue? It seems like |
gentle nudge @savdeev |
Hey, after we removed version variables Object and specified version string explicitly in the dependency declarstuon problem have disappeared. I am still not sure what was the root cause. NOw having versions as a top level variable and dependabot works as expected. |
Probably fixed by #6392, but unclear... so if it's still happening once this is deployed (sometime this week), then please comment and we can re-open. |
Related to #7864 |
Package ecosystem
gradle
dependabot.yml content
Updated dependency
The portion of the logs I posted below are for
org.slf4j:slf4j-api
but the same error happens with all dependencies for which a newer version is found.What you expected to see, versus what you actually saw
Expected: PRs opened for dependencies that need updating.
Actual: ERRORs in the logs for each dependency that needs updating. No PRs opened.
Images of the diff or a link to the PR, issue or logs
The text was updated successfully, but these errors were encountered: