question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

java.util.zip.ZipException: error in opening zip file

See original GitHub issue

currently I am getting:

⋊> ./gradlew clean build                                                 16:40:12
> Task :app:unMock FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:unMock'.
> java.util.zip.ZipException: error in opening zip file

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
4 actionable tasks: 3 executed, 1 up-to-date

I think the zip file is corrupted as I aborted a previous build. I had this once before and have to find the file again now. Would be great if the plugin re-downloads on this exception - could provide a better developer experience.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bjoernQcommented, Oct 26, 2018

Good you asked … I’ll do that

1reaction
bjoernQcommented, Oct 26, 2018

Since all the ‘downloadFrom’ stuff is really bad and legacy it will be removed with 0.7.0

Gradle’s dependency management is really good and should be the way to go form 0.7.0 on.

Read more comments on GitHub >

github_iconTop Results From Across the Web

java.util.zip.ZipException: error in opening zip file
Make sure your jar file is not corrupted. If it's corrupted or not able to unzip, this error will occur.
Read more >
Exception in thread "main" java.util.zip.ZipException: error in ...
Gradle threw an error while trying to update itself. Retrying the update... Exception in thread "main" java.util.zip.ZipException: error in ...
Read more >
java.util.zip.ZipException: error in opening zip file - CodeRanch
java.util.zip.ZipException: error in opening zip file ... I have no clue how to fix this error, any help will be great! ... Your...
Read more >
Tomcat error: "java.util.zip.ZipException: error in opening zip file"
This error typically indicates corruption in the .jar file that Tomcat is trying to open. As there is no way to know exactly...
Read more >
error in opening zip file in Java Console when Downloading ...
util.zip.ZipException: error in opening zip file in Java Console when Downloading frmwebutil.jar after Applying a Patch (Doc ID 1567628.1).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found