Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Tip 1: Reading Crash Errors

Gremious edited this page May 14, 2019 · 1 revision

Reading Stack Traces

I got a crash and it looks somethig like this

Exception in thread "main" java.lang.NullPointerException
        at com.example.myproject.Book.getTitle(Book.java:16)
        at com.example.myproject.Author.getBookTitles(Author.java:25)
        at com.example.myproject.Bootstrap.main(Bootstrap.java:14)

What does it mean, how do I read it?

Follow this link: https://stackoverflow.com/questions/3988788/what-is-a-stack-trace-and-how-can-i-use-it-to-debug-my-application-errors