Skip to content
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

NuGet. Passed nil into T.must (TypeError) #9555

Closed
1 task done
evgenyvalavin opened this issue Apr 22, 2024 · 3 comments · Fixed by #9622
Closed
1 task done

NuGet. Passed nil into T.must (TypeError) #9555

evgenyvalavin opened this issue Apr 22, 2024 · 3 comments · Fixed by #9622
Assignees
Labels
good first issue L: dotnet:nuget NuGet packages via nuget or dotnet sorbet 🍦 Relates to Sorbet types T: bug 🐞 Something isn't working

Comments

@evgenyvalavin
Copy link

evgenyvalavin commented Apr 22, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

NuGet

The stack trace of the issue

Requirements to unlock all
Requirements update strategy 
Finding updated dependencies for Xamarin.Firebase.Messaging.

[... Multiple GET requests ...]

/home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11346/lib/types/_types.rb:222:in `must': Passed `nil` into T.must (TypeError)
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-nuget-0.252.0/lib/dependabot/nuget/file_parser.rb:26:in `parse'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11346/lib/types/private/methods/call_validation_2_7.rb:919:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11346/lib/types/private/methods/call_validation_2_7.rb:919:in `block in create_validator_method_medium0'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-nuget-0.252.0/lib/dependabot/nuget/update_checker/dependency_finder.rb:161:in `top_level_dependencies'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11346/lib/types/private/methods/call_validation.rb:270:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11346/lib/types/private/methods/call_validation.rb:270:in `validate_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11346/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-nuget-0.252.0/lib/dependabot/nuget/update_checker/dependency_finder.rb:98:in `block in updated_peer_dependencies'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-nuget-0.252.0/lib/dependabot/nuget/update_checker/dependency_finder.rb:92:in `each'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-nuget-0.252.0/lib/dependabot/nuget/update_checker/dependency_finder.rb:92:in `filter_map'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-nuget-0.252.0/lib/dependabot/nuget/update_checker/dependency_finder.rb:92:in `updated_peer_dependencies'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11346/lib/types/private/methods/call_validation.rb:270:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11346/lib/types/private/methods/call_validation.rb:270:in `validate_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11346/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-nuget-0.252.0/lib/dependabot/nuget/update_checker.rb:130:in `updated_dependencies_after_full_unlock'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11346/lib/types/private/methods/call_validation.rb:270:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11346/lib/types/private/methods/call_validation.rb:270:in `validate_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11346/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/dependabot-common-0.252.0/lib/dependabot/update_checkers/base.rb:110:in `updated_dependencies'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11346/lib/types/private/methods/call_validation.rb:270:in `bind_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11346/lib/types/private/methods/call_validation.rb:270:in `validate_call'
	from /home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11346/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
	from bin/update_script.rb:622:in `block in <main>'
	from bin/update_script.rb:545:in `each'
	from bin/update_script.rb:545:in `<main>'
@evgenyvalavin evgenyvalavin added the T: bug 🐞 Something isn't working label Apr 22, 2024
@github-actions github-actions bot added L: dotnet:nuget NuGet packages via nuget or dotnet L: ruby:bundler RubyGems via bundler labels Apr 22, 2024
@evgenyvalavin evgenyvalavin changed the title Passed nil into T.must (TypeError) NuGet. Passed nil into T.must (TypeError) Apr 22, 2024
@abdulapopoola abdulapopoola added good first issue and removed L: ruby:bundler RubyGems via bundler labels Apr 22, 2024
@JamieMagee JamieMagee added the sorbet 🍦 Relates to Sorbet types label Apr 25, 2024
@JamieMagee
Copy link
Contributor

Since #9566 a couple of days ago, it looks like this has moved a little

NativeHelpers.run_nuget_discover_tool(repo_root: T.must(repo_contents_path),

@kyletindle
Copy link

I'm seeing this too:

/home/dependabot/dependabot-updater/vendor/ruby/3.1.0/gems/sorbet-runtime-0.5.11352/lib/types/_types.rb:222:in must': Passed nil` into T.must (TypeError)

raj-meka added a commit that referenced this issue Apr 26, 2024
raj-meka added a commit that referenced this issue Apr 26, 2024
raj-meka added a commit that referenced this issue Apr 26, 2024
raj-meka added a commit that referenced this issue Apr 26, 2024
raj-meka added a commit that referenced this issue Apr 26, 2024
raj-meka added a commit that referenced this issue Apr 27, 2024
@abdulapopoola abdulapopoola linked a pull request Apr 27, 2024 that will close this issue
@abdulapopoola
Copy link
Member

Fixes this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue L: dotnet:nuget NuGet packages via nuget or dotnet sorbet 🍦 Relates to Sorbet types T: bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants