I'm debugging an application on a remote server running JBoss using Eclipse. My particular problem is a NullPointerException
in a JSP. The JSP has too much Java code inside scriptlets but, unfortunately refactoring is not going to be an option. Finding the line that throws the NullPointerException
has been incredibly challenging and I'm getting stuck.
How can I debug this JSP remotely to find the line of the scriplet throwing the NullPointerException
?
I ended up finding the problem by commenting out lines of the JSP until I isolated the issue. Tedious but, it worked.