Deprecated test case
Description
CWE: 395 An object may be null when asked to perform a method; a catch block for NullPointerException is used instead of checking for null objects in the code
Sinks:
GoodSink: check for null reference before taking action
BadSink : using catch to detect null references
Flow Variant: 02 Control flow: if(true) and if(false)
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.