`ZincRepoIndex indexFromJSON = mGson.fromJson(new FileReader(mIndexFile), ZincRepoIndex.class);`

This returns null when the file exists, but is not valid JSON (IE it's empty).