Identifying Root Causes of Null Pointer Exceptions with Logical Inferences
Jindae Kim, Jaewoo Song

TL;DR
This paper introduces LogicFL, a logical fault localization method for Null Pointer Exceptions that mimics human deduction, achieving high accuracy, efficiency, and traceability without relying on unreliable large language models.
Contribution
LogicFL is a novel logical fault localization approach that improves accuracy, reduces costs, and enhances interpretability compared to existing LLM-based techniques.
Findings
Achieved 88.16% accuracy in fault localization on benchmark bugs.
Significantly more cost-efficient than LLM-based methods.
Runs efficiently on low-performance hardware within seconds.
Abstract
Recently, Large Language Model (LLM)-based Fault Localization (FL) techniques have been proposed, and showed improved performance with explanations on FL results. However, a major issue with LLM-based FL techniques is their heavy reliance on LLMs, which are often unreliable, expensive, and difficult to analyze or improve. When results are unsatisfactory, it is challenging both to determine a cause and to refine a technique for better outcomes. To address this issue, we propose LogicFL, a novel logical fault localization technique for Null Pointer Exceptions (NPEs). With logic programming, LogicFL imitates human developers' deduction process of fault localization, and identifies causes of NPEs after logical inferences on collected facts about faulty code and test execution. In an empirical evaluation of 76 NPE bugs from Apache Commons projects and the Defects4J benchmark, LogicFL…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Logic, programming, and type systems · Formal Methods in Verification
