Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZipExtractor#unzipFile:94 - java.util.zip.ZipException #12878

Open
tripleabuilderbot opened this issue Sep 1, 2024 · 0 comments
Open

ZipExtractor#unzipFile:94 - java.util.zip.ZipException #12878

tripleabuilderbot opened this issue Sep 1, 2024 · 0 comments
Labels
2.7 Error Report Issue reported via the in-game error reporter

Comments

@tripleabuilderbot
Copy link
Contributor

User Description

Error in downloading Hearts of Iron 2-Europe

Log Message

Error reading zip file: C:\Users\owner\AppData\Local\Temp\triplea6015888689304972699\Hearts_of_Iron_2-Europe.zip, zip END header not found

TripleA Version

2.7.14862

Java Version

11.0.19

Operating System

Windows 11

Heap Size

4040M

Stack Trace

Exception: org.triplea.io.ZipExtractor$ZipReadException Error reading zip file: C:\Users\owner\AppData\Local\Temp\triplea6015888689304972699\Hearts_of_Iron_2-Europe.zip, zip END header not found
java.lang.Exception
	at org.triplea.io.ZipExtractor.unzipFile(ZipExtractor.java:94)
	at games.strategy.engine.framework.map.file.system.loader.ZippedMapsExtractor.unzipMap(ZippedMapsExtractor.java:140)
	at games.strategy.engine.framework.map.download.DownloadFile.lambda$startAsyncDownload$2(DownloadFile.java:81)
	at java.base/java.lang.Thread.run(Thread.java:829)


Exception: java.util.zip.ZipException zip END header not found
java.lang.Exception
	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.zerror(ZipFileSystem.java:1908)
	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.findEND(ZipFileSystem.java:1052)
	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.initCEN(ZipFileSystem.java:1061)
	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.<init>(ZipFileSystem.java:135)
	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:136)
	at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:406)
	at org.triplea.io.ZipExtractor.unzipFile(ZipExtractor.java:84)
	at games.strategy.engine.framework.map.file.system.loader.ZippedMapsExtractor.unzipMap(ZippedMapsExtractor.java:140)
	at games.strategy.engine.framework.map.download.DownloadFile.lambda$startAsyncDownload$2(DownloadFile.java:81)
	at java.base/java.lang.Thread.run(Thread.java:829)


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.7 Error Report Issue reported via the in-game error reporter
Projects
None yet
Development

No branches or pull requests

1 participant