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.