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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Sonatype JIRA by Benjamin Hanzelmann, 1 year ago
error in opening zip file
via Sonatype JIRA by Sean Langford, 1 year ago
error in opening zip file
via GitHub by mhermosi
, 1 year ago
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.(ZipFile.java:127)
at java.util.zip.ZipFile.(ZipFile.java:144)
at org.apache.maven.index.util.zip.JavaZipFileHandle.(JavaZipFileHandle.java:42)
at org.apache.maven.index.util.zip.ZipFacade.getZipHandle(ZipFacade.java:61)
at org.apache.maven.index.creator.MavenArchetypeArtifactInfoIndexCreator.checkMavenArchetype(MavenArchetypeArtifactInfoIndexCreator.java:91)
at org.apache.maven.index.creator.MavenArchetypeArtifactInfoIndexCreator.populateArtifactInfo(MavenArchetypeArtifactInfoIndexCreator.java:75)
at org.apache.maven.index.ArtifactContext.createDocument(ArtifactContext.java:184)
at org.apache.maven.index.DefaultIndexerEngine.index(DefaultIndexerEngine.java:57)
at org.apache.maven.index.DefaultScannerListener.artifactDiscovered(DefaultScannerListener.java:127)
at org.apache.maven.index.DefaultScanner.processFile(DefaultScanner.java:106)
at org.apache.maven.index.DefaultScanner.scanDirectory(DefaultScanner.java:92)
at org.apache.maven.index.DefaultScanner.scanDirectory(DefaultScanner.java:84)
at org.apache.maven.index.DefaultScanner.scanDirectory(DefaultScanner.java:84)
at org.apache.maven.index.DefaultScanner.scanDirectory(DefaultScanner.java:84)
at org.apache.maven.index.DefaultScanner.scanDirectory(DefaultScanner.java:84)
at org.apache.maven.index.DefaultScanner.scanDirectory(DefaultScanner.java:84)
at org.apache.maven.index.DefaultScanner.scan(DefaultScanner.java:53)
at org.apache.maven.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:318)
at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:898)
at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:838)
at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:54)
at org.sonatype.nexus.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:69)
at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:446)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
153 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.