2016
DOI: 10.1007/s10664-016-9443-7
|View full text |Cite
|
Sign up to set email alerts
|

Exception handling bug hazards in Android

Abstract: Adequate handling of exceptions has proven difficult for many software engineers. Mobile app developers in particular, have to cope with compatibility, middleware, memory constraints, and battery restrictions. The goal of this paper is to obtain a thorough understanding of common exception handling bug hazards that app developers face. To that end, we first provide a detailed empirical study of over 6,000 Java exception stack traces we extracted from over 600 open source Android projects. Key insights from thi… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

2
12
0

Year Published

2017
2017
2024
2024

Publication Types

Select...
6
1
1

Relationship

0
8

Authors

Journals

citations
Cited by 38 publications
(14 citation statements)
references
References 47 publications
2
12
0
Order By: Relevance
“…The characteristics of the selected bugs, including type of exception and priority, are summarized in Table 2. These bugs cover crashes that involve the most common Java Exceptions [24], such as NullPointerException (74%), ArrayIndex-OutOfBoundsException (9%), IllegalStateException and IllegalArgumentException (3%). Furthermore, the severity of these real-world bugs varies between medium (46%), major (37%) and critical (5%) as judged by the original developers.…”
Section: Definition and Contextmentioning
confidence: 99%
“…The characteristics of the selected bugs, including type of exception and priority, are summarized in Table 2. These bugs cover crashes that involve the most common Java Exceptions [24], such as NullPointerException (74%), ArrayIndex-OutOfBoundsException (9%), IllegalStateException and IllegalArgumentException (3%). Furthermore, the severity of these real-world bugs varies between medium (46%), major (37%) and critical (5%) as judged by the original developers.…”
Section: Definition and Contextmentioning
confidence: 99%
“…The developers' perception was assessed through online questionnaires [34,[36][37][38] and semi-structured interviews [5,40]. In general, the researches aimed at understanding how developers use the exception handling, what approaches are used, the differences between novices and experienced developers, what they understand about exception handling bugs and how they use exception handling in Android and Swift applications.…”
Section: Discussionmentioning
confidence: 99%
“…Finally, the authors in [37] investigated when reported stack traces may express circumstances in which there are a greater likelihood of bugs in exception handling in Android applications. Among the findings, they highlight that the majority cause of the stack trace problems were related to programming bugs (e.g., NullPointerException, IllegalArgumentException, RuntimeException), 65% of application failures were related to runtime exceptions, and only one was documented with the tag @throws.…”
Section: Hybrid Studiesmentioning
confidence: 99%
“…Those stack traces are commonly reported by users to issue tracking systems but cannot (for now) be completely reproduced by EvoCrash. Further investigation on current error handling practices in Java code (Cabral and Marques 2007;Coelho et al 2017) and how they are reported by users (Maiga et al 2015) will help us to devise efficient approaches to replicate such stack traces.…”
Section: Stack Trace Preprocessing and Target Frame Selectionmentioning
confidence: 99%