

The Exception in the thread "main" Java. Lang. NullPointerException
The at code_10_21. CheckFiles. Check (test_10. Java: 22)
The at code_10_21. CheckFiles. Check (test_10. Java: 25)
The at code_10_21. CheckFiles. Check (test_10. Java: 25)
The at code_10_21. CheckFiles. Set (test_10. Java: 17)
The at code_10_21. Test_10. Main (test_10. Java: 47)
CodePudding user response:
If judgment for the if (ff. IsDirectory () & amp; & Ff. ListFiles ()!=null) {CodePudding user response:
Found the reason, as if the JVM authority is not enough, although some files array has been shown, but in fact take less than value of traversalCodePudding user response:
The JVM permissions is what meaning, universal