How to debug a jsp in JBoss EAP 6

Solution Verified - Updated -

Issue

  • We are getting a NullPointerException from a jsp in our web application, how can we locate the line in the jsp that is causing the Exception?
java.lang.NullPointerException
   at org.apache.jsp.valid_jsp._jspService(valid_jsp.java:235)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   ...

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.1.0
    • 6.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.