NPEFix: Automatic Runtime Repair of Null Pointer Exceptions in Java

by Benoit Cornu, Thomas Durieux, Lionel Seinturier and Martin Monperrus
Abstract: Null pointer exceptions, also known as null dereferences are the number one exceptions in the field. In this paper, we propose 9 alternative execution semantics when a null pointer exception is about to happen. We implement those alternative execution strategies using code transformation in a tool called NPEfix. We evaluate our prototype implementation on 11 field null dereference bugs and 519 seeded failures and show that NPEfix is able to repair at runtime 10/11 and 318/519 failures.
 View PDF
Open-access (on archives-ouvertes.fr)
Citations: [citations]
Other publications of Martin Monperrus

Cite it:

NPEFix: Automatic Runtime Repair of Null Pointer Exceptions in Java (, , and ), Technical report, , .
Benoit Cornu, Thomas Durieux, Lionel Seinturier and Martin Monperrus, "NPEFix: Automatic Runtime Repair of Null Pointer Exceptions in Java", Technical report, , 2015.

Bibtex Entry:

@techreport{cornu:hal-01251960,
 title = {{NPEFix: Automatic Runtime Repair of Null Pointer Exceptions in Java}},
 author = {Cornu, Benoit and Durieux, Thomas and Seinturier, Lionel and Monperrus, Martin},
 url = {https://arxiv.org/pdf/1512.07423.pdf},
 year = {2015},
}
Powered by bibtexbrowser
Tagged as: