latest version gives: undefined method `repo' for nil:NilClass
See original GitHub issueour weekly automated dependabot pipelines started to give the following error this weekend. No PRs are created anymore.
/home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-nuget-0.182.0/lib/dependabot/nuget/metadata_finder.rb:64:in `block in extract_source_repo': undefined method `repo' for nil:NilClass (NoMethodError)
from /home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-nuget-0.182.0/lib/dependabot/nuget/metadata_finder.rb:59:in `each'
from /home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-nuget-0.182.0/lib/dependabot/nuget/metadata_finder.rb:59:in `extract_source_repo'
from /home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-nuget-0.182.0/lib/dependabot/nuget/metadata_finder.rb:48:in `src_repo_from_project'
from /home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-nuget-0.182.0/lib/dependabot/nuget/metadata_finder.rb:21:in `look_up_source'
from /home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-common-0.182.0/lib/dependabot/metadata_finders/base.rb:123:in `source'
from /home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-common-0.182.0/lib/dependabot/metadata_finders/base.rb:25:in `source_url'
from /home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-common-0.182.0/lib/dependabot/pull_request_creator/message_builder.rb:357:in `source_url'
from /home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-common-0.182.0/lib/dependabot/pull_request_creator/message_builder.rb:282:in `block in dependency_links'
from /home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-common-0.182.0/lib/dependabot/pull_request_creator/message_builder.rb:281:in `map'
from /home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-common-0.182.0/lib/dependabot/pull_request_creator/message_builder.rb:281:in `dependency_links'
from /home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-common-0.182.0/lib/dependabot/pull_request_creator/message_builder.rb:203:in `version_commit_message_intro'
from /home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-common-0.182.0/lib/dependabot/pull_request_creator/message_builder.rb:129:in `commit_message_intro'
from /home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-common-0.182.0/lib/dependabot/pull_request_creator/message_builder.rb:55:in `commit_message'
from /home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-common-0.182.0/lib/dependabot/pull_request_creator.rb:172:in `azure_creator'
from /home/dependabot/dependabot-script/vendor/ruby/2.7.0/gems/dependabot-common-0.182.0/lib/dependabot/pull_request_creator.rb:104:in `create'
from ./update-script.rb:427:in `block in <main>'
from ./update-script.rb:272:in `each'
from ./update-script.rb:272:in `<main>'
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Error Regarding undefined method `map' for nil:NilClass ...
I'm having an error regarding my Flutter application. When I run the "flutter run" script in terminal, I'm getting the following error from ......
Read more >undefined method `full_name' for nil:NilClass bug that ...
I'm posting into the following toggles all the details I have about this. Part of the Release.yml (Github Action).
Read more >Trying to enable a repository returns "undefined method ` ...
Trying to enable a repository returns "undefined method `substitutor' for nil:NilClass" ... No translations currently exist. Issue. When trying to ...
Read more >undefined method `name' for nil:NilClass
You have an error that name is pointing at nothing, or nil:NilClass . So there could be something wrong with the way you've...
Read more >undefined method `repository_href' for nil:NilClass" - Support
I am working on a patch I can give you to tell us what repo it is looking for. Upon talking to another...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
with 0.6.1 it works again. perfect!
looks like they reverted a PR related to nuget in the core. https://github.com/dependabot/dependabot-core/pull/5040
just verified with setting the docker image to 0.5.19. this works.