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

2.5.22294: MapZipReaderUtil#findGameXmlFilesInZip:29 - java.util.zip.ZipException #12877

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

Comments

@tripleabuilderbot
Copy link
Contributor

Log Message

Error reading zip file in: C:\Users\Owner\triplea\downloadedMaps\hearts_of_iron_2-europe.zip

TripleA Version

2.5.22294

Java Version

11.0.6

Operating System

Windows 10

Memory

Heap utilization statistics [MB]
Used Memory: 41
Free memory: 1938
Total memory: 1979
Max memory: 1979

Stack Trace

Exception: java.util.zip.ZipExceptionzip END header not found
java.lang.Exception
	at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1535)
	at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1436)
	at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1443)
	at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1274)
	at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1237)
	at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:727)
	at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:844)
	at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:247)
	at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:177)
	at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:191)
	at games.strategy.engine.framework.map.file.system.loader.MapZipReaderUtil.findGameXmlFilesInZip(MapZipReaderUtil.java:29)
	at games.strategy.engine.framework.map.file.system.loader.AvailableGamesFileSystemReader.addNewMapToCache(AvailableGamesFileSystemReader.java:103)
	at games.strategy.engine.framework.map.download.MapDownloadProgressPanel.downloadComplete(MapDownloadProgressPanel.java:114)
	at games.strategy.engine.framework.map.download.DownloadCoordinator$Listener.lambda$downloadComplete$2(DownloadCoordinator.java:120)
	at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:804)
	at games.strategy.engine.framework.map.download.DownloadCoordinator$Listener.downloadComplete(DownloadCoordinator.java:120)
	at games.strategy.engine.framework.map.download.DownloadFile.lambda$newDownloadThread$2(DownloadFile.java:95)
	at java.base/java.lang.Thread.run(Thread.java:834)


@tripleabuilderbot tripleabuilderbot added the Error Report Issue reported via the in-game error reporter label Sep 1, 2024
@beelee1
Copy link
Contributor

beelee1 commented Sep 1, 2024

Pretty sure the prerelease fixes this.

hmmm maybe not #12878

or something changed in latest pre

@TheDog-GH
Copy link
Contributor

2.5 is not supported, upgrade to 2.7

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

No branches or pull requests

3 participants