arrow
Return

An Automatic Localization Tool for Null Pointer Exceptions

delete2019-01-01
delete0
delete
OA
AI
J
Jing Duan *
S
Shujuan Jiang *
Y
Yu Qiao
K
Kai Lu
X
Xu Zhang
Y
Yiwen Yao
DOI:10.1109/ACCESS.2019.2948366delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Null pointer exceptions are common software faults, but they are dangerous and can cause a program to crash if they occur. In addition, it is hard to find them by simply running test cases. When a null pointer exception occurs, the stack trace stored by the Java runtime environment can help us to locate the cause of the exception. In this paper, firstly, we propose an automatically null pointer exception localization approach guided by stack trace, from the null pointer dereference to the null value assignment point. Secondly, an empirical study is designed to evaluate the effectiveness of the tool on eight open source projects. The experimental results show that the tool is effective in locating the null pointer exception.
Keywords:
Tools
Java
Null value
Runtime environment
Software
Sparks
Null pointer exception
fault localization
stack trace

Journal

IEEE Access cover
IEEE Access
IF:
3.6
Papers:
9.8W
Citations:
29.4W

Organization

H
Hohai University
Scholars:
2.3W
Papers: 1.8W
Citations: 2.1W
J
Jiangsu Normal University
Scholars:
6.9K
Papers: 4.4K
Citations: 5.4K
Cited Papers

Cited Papers

Current treatment strategies in pediatric gastrointestinal stromal cell tumor
err2018-08-01
err0
errOAAI
errBrent A. Willobee; Hallie J. Quiroz; Matthew S. Sussman; Chad M. Thorson; Juan E. Sola; Eduardo A. Perez
errShare
errSave
Energy characteristics of excitons in structures based on InGaN alloys
err2008-06-13
err0
PREAI
errS. O. Usov; A. F. Tsatsul’nikov; V. V. Lundin; A. V. Sakharov; E. E. Zavarin; M. A. Sinitsyn; N. N. Ledentsov
errShare
errSave
A novel veno-arteriovenous extracorporeal membrane oxygenation with double pump for the treatment of Harlequin syndrome
err2020-05-13
err0
PREAI
errCarlo Contento; Andrea Battisti; Bruno Agrò; Marina De Marco; Alessandra Iaiza; Laura Pietraforte; Patrizia Pisani; Antonio Proietti; Emiliano Vitalini; Andrea Montalto; Francesco Musumeci
errShare
errSave
Hematuria One Stop Clinic: First Experience in Italy with 150 Cases
err2011-02-12
err0
PREAI
errLuca Carmignani; Giorgio Bozzini; Vincenzo Nicosia; Massimo Consentino; Stefano Picozzi; Stefano Casellato; Luca Lunelli
errShare
errSave
Reflux in Infants with Laryngomalacia: Results of 24‐Hour Double‐Probe pH Monitoring
err2016-05-17
err0
PREAI
errBrian L. Matthews; John P. Little; William F. McGuirt; James A. Koufman
errShare
errSave
researcher View more