Add example for potential null pointer access.