447a3f2d83
Motivation: java.io.File.listFiles() may return null and cause a unexpected NPE. Modification: Add a null check for variable files. And if variable files is null, the compressHeapDumps method will just return after logging a error message. Result: Fix the potential NPE.