Why Do I See "Unknown Source" in the Java Stack Trace

Solution Verified - Updated -

Issue

  • Why do I see "Unknown Source" in the Java stack trace ?
ERROR [StandardHostValve.invoke] (ajp-/0.0.0.0:9009-25) JBWEB000233: Exception sending request initialized lifecycle event to listener instance of class common.listener.RequestContextListener: java.lang.NullPointerException
        at common.listener.RequestContextListener.requestInitialized(Unknown Source) [classes:]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [jbossweb-7.5.19.Final-redhat-1.jar:7.5.19.Final-redhat-1]
...

Environment

  • Any standalone Java application
    • Oracle JDK 8.x, 7.x, 6.x, 5.x
    • OpenJDK 8.x, 7.x, 6.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.