NPEFix: Automatic Runtime Repair of Null Pointer Exceptions in Java - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2015

NPEFix: Automatic Runtime Repair of Null Pointer Exceptions in Java

Résumé

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.

Dates et versions

hal-01251960 , version 1 (07-01-2016)

Identifiants

Citer

Benoit Cornu, Thomas Durieux, Lionel Seinturier, Martin Monperrus. NPEFix: Automatic Runtime Repair of Null Pointer Exceptions in Java. 2015. ⟨hal-01251960⟩
146 Consultations
0 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More