Common Weakness Enumeration
CWE Definition / CWE-395
CWE-395: Use of NullPointerException Catch to Detect NULL Pointer Dereference
Catching NullPointerException should not be used as an alternative to programmatic checks to prevent dereferencing a null pointer.
Published:19 Jul 2006
Organization:MITRE
Modified:11 Dec 2025
