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

Fix potential NPE in ModuleFileFunction #22152

Closed
wants to merge 1 commit into from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Apr 26, 2024

SkyframeLookupResult#get can return null even if env.valuesMissing() is false.

`SkyframeLookupResult#get` can return `null` even if `env.valuesMissing()` is `false`.
@fmeum
Copy link
Collaborator Author

fmeum commented Apr 26, 2024

@bazel-io fork 7.2.0

@github-actions github-actions bot added team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. awaiting-review PR is awaiting review from an assigned reviewer labels Apr 26, 2024
@Wyverald Wyverald added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Apr 26, 2024
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Apr 29, 2024
`SkyframeLookupResult#get` can return `null` even if `env.valuesMissing()` is `false`.

Closes bazelbuild#22152.

PiperOrigin-RevId: 629099024
Change-Id: I54e675ce7bdf012d966308fb60d99e9b04e2d75f
github-merge-queue bot pushed a commit that referenced this pull request Apr 29, 2024
`SkyframeLookupResult#get` can return `null` even if
`env.valuesMissing()` is `false`.

Closes #22152.

PiperOrigin-RevId: 629099024
Change-Id: I54e675ce7bdf012d966308fb60d99e9b04e2d75f

Commit
dacfd9c

---------

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
Co-authored-by: iancha1992 <heec@google.com>
@sgowroji sgowroji removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Apr 30, 2024
@fmeum fmeum deleted the 20369-fix-npe branch April 30, 2024 11:18
Kila2 pushed a commit to Kila2/bazel that referenced this pull request May 13, 2024
`SkyframeLookupResult#get` can return `null` even if `env.valuesMissing()` is `false`.

Closes bazelbuild#22152.

PiperOrigin-RevId: 629099024
Change-Id: I54e675ce7bdf012d966308fb60d99e9b04e2d75f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants