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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content