java.lang.NullPointerException

Stack Overflow | rockstar_77 | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.nag.library.database.BooksDAO.getAllBooks()
  2. com.nag.library
    BookResource.getBooks
    1. com.nag.library.database.BooksDAO.getAllBooks(BooksDAO.java:24)
    2. com.nag.library.service.BookService.getAllBooks(BookService.java:24)
    3. com.nag.library.resource.BookResource.getBooks(BookResource.java:35)
    3 frames
  3. Java RT
    Thread.run
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    5. java.lang.Thread.run(Unknown Source)
    5 frames