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 got a "simple" JUnittest for a Bean that can't be debugged. When I run it, it blows up with a trapped exception. So in the rest of the code I write, the normal thing is to fire up the debugger, step into the code and see what I'm doing wrong. With this one class, when I try to "debug" it using Netbeans 6.7, it blows up before I can get to the first line of the JUnit test.
The stackdump looks like:
I have no idea how to proceed.
I called it "simple" in quotes because since its a Bean that expects to be in a Container, it needs Mock implementations of the ServletRequest, CommandContext, HttpServletRequest, HttpServletResponse, etc.