This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I've written a stand-alone app that reads from numerous files and creates lots of objects that get populated into tables.
I run this app within Eclipse.
It all works great up until the app calls a particular method ( a DAO method to be precise), which throws an NPE immediately.
It doesn't even enter the method - I've tried replacing the method's guts with a single print statement and return null. And I've
Placing the offending call within a try/catch block and printing the stack trace isn't much help, it just shows NPE. Commenting out
the call to the offending method and the app runs to completion w/o error - but of course at the price of not loading one of my tables.
and the method itself
Any ideas? I fear the loss of the rest of my hair over this nuttiness.