CWE-395

Overview
  • CWE ID
  • 395
  • CWE Name
  • Use of NullPointerException Catch to Detect NULL Pointer Dereference
  • CWE Abstraction
  • Base
  • CWE structure
  • Simple
  • CWE Status
  • Draft
Description
Catching NullPointerException should not be used as an alternative to programmatic checks to prevent dereferencing a null pointer.
Extended Description
Related CWEs
CWE ID View ID Nature Ordinal
705 1000 ChildOf Primary
755 1000 ChildOf