Example
public
static
class
ClassA {
private
ZipOutputStream z;
public
void
methodA {
try
{
//...
j.putNextEntry();
j.closeEntry();
//...
}
catch
( Exception e ) {
//...
}
}
Solution
Reconsider the use of a ZipOutputFile or write something to the file before closing it.