在外文网站上看到的: 1. Calling the instance method of a null object. 2. Accessing or modifying the field of a null object. 3. Taking the length of …