NullPointerExeception without stacktrace is logged

Solution Unverified - Updated -

Issue

  • I get NullPointerException. But it's logged as only one line "NullPointerException" with no stack trace. How can I see the stack?
15:07:16,596 DEBUG [xxx.xxx.XXXX] (http-127.0.0.1:8080-4) Exception is thrown:
java.lang.NullPointerException

Environment

  • Java
    • 1.7
    • 1.8

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.