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

GameDataManager#loadGame:62 - java.io.EOFException #12851

Open
tripleabuilderbot opened this issue Aug 22, 2024 · 1 comment
Open

GameDataManager#loadGame:62 - java.io.EOFException #12851

tripleabuilderbot opened this issue Aug 22, 2024 · 1 comment
Labels
2.7 AuthorNeeded Error Report Issue reported via the in-game error reporter

Comments

@tripleabuilderbot
Copy link
Contributor

User Description

I was trying to open an autosave file for a Europe 1940 game I was playing against myself (local game). It has always worked in the pass. However, now I get an "EOF Exception". I am unable to play the file. This is not an issue with other autosave files.

Log Message

Error loading game data

TripleA Version

2.7.14859

Java Version

11.0.19

Operating System

Mac OS X

Heap Size

2048M

Stack Trace

Exception: java.io.EOFException 
java.lang.Exception
	at java.base/java.util.zip.GZIPInputStream.readUByte(GZIPInputStream.java:269)
	at java.base/java.util.zip.GZIPInputStream.readUShort(GZIPInputStream.java:259)
	at java.base/java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:165)
	at java.base/java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:80)
	at java.base/java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:92)
	at games.strategy.engine.framework.GameDataManager.loadGame(GameDataManager.java:62)
	at games.strategy.engine.framework.GameDataManager.loadGame(GameDataManager.java:47)
	at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorModel.loadSave(GameSelectorModel.java:77)
	at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorPanel.lambda$loadSaveFile$6(GameSelectorPanel.java:340)
	at games.strategy.engine.framework.ui.background.TaskRunner$1.doInBackground(TaskRunner.java:80)
	at games.strategy.engine.framework.ui.background.TaskRunner$1.doInBackground(TaskRunner.java:76)
	at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)


@tripleabuilderbot tripleabuilderbot added 2.7 Error Report Issue reported via the in-game error reporter labels Aug 22, 2024
@frigoref
Copy link
Member

Autosave file need.

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

No branches or pull requests

2 participants