Closed denebgarza closed 1 year ago
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.
...
updater | INFO <job_333270514> Starting job processing
updater | INFO <job_333270514> Starting update job for traderepublic/tr-securities-services
updater | ERROR <job_333270514> undefined method `name' for nil:NilClass
updater | ERROR <job_333270514> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-gradle-0.180.2/lib/dependabot/gradle/file_parser/property_value_finder.rb:123:in `properties'
updater | ERROR <job_333270514> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-gradle-0.180.2/lib/dependabot/gradle/file_parser/property_value_finder.rb:104:in `block in property_details'
...
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 Version.awsSdk
would be accessible in this scenario.
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 https://github.com/dependabot/dependabot-core/pull/6392, but unclear... so if it's still happening once this is deployed (sometime this week), then please comment and we can re-open.
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