The platform will undergo maintenance on Sep 14 at about 7:45 AM EST and will be unavailable for approximately 2 hours.
Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of 2019
DOI: 10.1145/3338906.3338919
|View full text |Cite
|
Sign up to set email alerts
|

NullAway: practical type-based null safety for Java

Abstract: NullPointerExceptions (NPEs) are a key source of crashes in modern Java programs. Previous work has shown how such errors can be prevented at compile time via code annotations and pluggable type checking. However, such systems have been difficult to deploy on large-scale software projects, due to significant build-time overhead and / or a high annotation burden. This paper presents NullAway, a new type-based null safety checker for Java that overcomes these issues. NullAway has been carefully engineered for lo… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
7
0

Year Published

2019
2019
2024
2024

Publication Types

Select...
4
4
1

Relationship

1
8

Authors

Journals

citations
Cited by 23 publications
(8 citation statements)
references
References 19 publications
0
7
0
Order By: Relevance
“…PiranhaJava is used to refactor stale feature flag related code in Java applications, specifically those targeting the Android platform. It is implemented in Java on top of Errorprone [3] as an Errorprone plugin [3,9]. We handle the basic cleanup, without deep cleaning of methods and fields.…”
Section: Resultsmentioning
confidence: 99%
“…PiranhaJava is used to refactor stale feature flag related code in Java applications, specifically those targeting the Android platform. It is implemented in Java on top of Errorprone [3] as an Errorprone plugin [3,9]. We handle the basic cleanup, without deep cleaning of methods and fields.…”
Section: Resultsmentioning
confidence: 99%
“…Hubert et al [2008] present a constraint-based static analysis to infer non-null annotations. Banerjee et al [2019] presents NullAway, a tool to find NullPointerExceptions . NullAway, unlike other similar tools, does not aim for soundness, but rather for a reduction of spurious warnings reported by the tool.…”
Section: Nullable Type Systemsmentioning
confidence: 99%
“…A nullable type system prevents such crashes or undefined behavior by tracking, for every expression, whether it may evaluate to null [Banerjee et al 2019;Fähndrich and Xia 2007;Nieto et al 2020b;Summers and Müller 2011]. If an expression is nullable then the programmer must explicitly check for null before the result of the expression can be used.…”
Section: Introductionmentioning
confidence: 99%
“…NullAway (Banerjee et al, 2019) is a type-based null safety checker for Java programs. It uses annotations and pluggable type checking to check the safety of variables.…”
Section: Null Dereference Analysismentioning
confidence: 99%