PipelineOptions getters can produce null even if not annotated Nullable when no Default is specified
Open
bug
core
good first issue
java
P2
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
Context: BEAM-13537, https://github.com/apache/beam/pull/16625#discussion_r793021931
PipelineOptions getters without Default specified can produce null, but because it happens in generated code, the null checker will not complain about it. Is there some way we can make sure getters without a Default are always Nullable?
Imported from Jira [BEAM-13758](https://issues.apache.org/jira/browse/BEAM-13758). Original Jira may contain additional context.
Reported by: bhulette.
Contributor guide
Assessment
This issue has not been assessed yet.