An Automatic Localization Tool for Null Pointer Exceptions

0Citations
Citations of this article
9Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

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.

Cite

CITATION STYLE

APA

Duan, J., Jiang, S., Yu, Q., Lu, K., Zhang, X., & Yao, Y. (2019). An Automatic Localization Tool for Null Pointer Exceptions. IEEE Access, 7, 153453–153465. https://doi.org/10.1109/ACCESS.2019.2948366

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free