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
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

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.8K
Papers: 4.4K
Citations: 5.4K