NPE when handling corrupt jar files

Why are we doing this?