File Download

There are no files associated with this item.

  • Find it @ UNIST can give you direct access to the published full text of this article. (UNISTARs only)
Related Researcher

김미정

Kim, Mijung
Read More

Views & Downloads

Detailed Information

Cited time in webofscience Cited time in scopus
Metadata Downloads

Fault localization and repair for Java runtime exceptions

Author(s)
Sinha, S.Shah, H.Görg, C.Jiang, S.Kim, MijungHarrold, M.J.
Issued Date
2009-07-19
DOI
10.1145/1572272.1572291
URI
https://scholarworks.unist.ac.kr/handle/201301/50687
Citation
ACM International Symposium on Software Testing and Analysis, pp.153 - 163
Abstract
This paper presents a new approach for locating and repairing faults that cause runtime exceptions in Java programs. The approach handles runtime exceptions that involve a flow of an incorrect value that finally leads to the exception. This important class of exceptions includes exceptions related to dereferences of null pointers, arithmetic faults (e.g., ArithmeticException), and type faults (e.g., ArrayStoreException). Given a statement at which such an exception occurred, the technique combines dynamic analysis (using stack-trace information) with static backward data-flow analysis (beginning at the point where the runtime exception occurred) to identify the source statement at which an incorrect assignment was made; this information is required to locate the fault. The approach also identifies the source statements that may cause this same exception on other executions, along with the reference statements that may raise an exception in other executions because of this incorrect assignment; this information is required to repair the fault. The paper also presents an application of our technique to null pointer exceptions. Finally, the paper describes an implementation of the null-pointer-exception analysis and a set of studies that demonstrate the advantages of our approach for locating and repairing faults in the program. Copyright 2009 ACM.
Publisher
ACM

qrcode

Items in Repository are protected by copyright, with all rights reserved, unless otherwise indicated.