---
title: "error in opening zip file"
url: "https://openforis.support/questions/1718/error-in-opening-zip-file"
tags: ["collect"]
status: "answered"
score: 0
answer_count: 3
asked: "2018-03-27T16:46:41"
last_activity: "2018-04-03T20:22:52"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# error in opening zip file

Asked by Fehrmann on 2018-03-27

Hi all,
I have a problem with importing a .collect-data file exported from Collect mobile. It worked for different tablets, but the recent export from one tablet gives me an error "error in opening zip file" (the last export two days ago from the same tablet worked fine). The exports are quite big (>700MB). I can open the archive with 7 zip without problems, but Collect has a problem. Is it simply too big (but I imported bigger ones already)?

The log says:
2018-03-27 16:33:22 ERROR org.openforis.collect.io.data.DataRestoreSummaryJob - Error running worker (status: PENDING): error in opening zip file
java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(Unknown Source)
	at java.util.zip.ZipFile.<init>(Unknown Source)
	at java.util.zip.ZipFile.<init>(Unknown Source)
	at org.openforis.collect.io.ZipFileExtractor.<init>(ZipFileExtractor.java:23)
	at org.openforis.collect.io.BackupFileExtractor.<init>(BackupFileExtractor.java:23)
	at org.openforis.collect.io.data.DataRestoreBaseJob.validateInput(DataRestoreBaseJob.java:94)
	at org.openforis.concurrency.Worker.initialize(Worker.java:37)
	at org.openforis.concurrency.SimpleJobManager.start(SimpleJobManager.java:105)
	at org.openforis.concurrency.SimpleJobManager.start(SimpleJobManager.java:95)
	at org.openforis.concurrency.SimpleJobManager.start(SimpleJobManager.java:90)
	...

Thank you,
Lutz


## Answer (score 0, by Stefano (OF) on 2018-03-27)

Link: https://openforis.support/questions/1718/error-in-opening-zip-file/1719

Dear Lutz,  
Can it be a problem of low free sbace in your hard drive?  
We will contact you to your private email address so (maybe) you can share with us this data file.  
Many thanks,  
Open Foris Team


## Answer (score 0, by Fehrmann on 2018-04-02)

Link: https://openforis.support/questions/1718/error-in-opening-zip-file/1727

Here my own answer to the problem, thanks to support:

The download directory on the tablet was full! Collect Mobile showed no error message during export, but we realized that the collect-data file became smaller for recent exports. The reason is that additional .xml files are written (for new plot data), but image file (we take two photos per plot) not. Then the number of Photos is not matching the number of plots and Collect gives an error.
Problem solved!


## Answer (score 0, by Stefano (OF) on 2018-04-03)

Link: https://openforis.support/questions/1718/error-in-opening-zip-file/1730

Dear Lutz,  
In the latest version of Collect Mobile you will see an error message in a proper alert dialog with some additional details.  
The previous version was showing an error but in a "toast" in the bottom of the screen for only a bunch of seconds...! So it was quite difficult to get it...  
Let us know if you have any other issues, thanks.  
Open Foris Team
