Skip to content
This repository has been archived by the owner on Feb 20, 2018. It is now read-only.

Crash on chunk GC #94

Closed
Col-E opened this issue Aug 31, 2017 · 1 comment
Closed

Crash on chunk GC #94

Col-E opened this issue Aug 31, 2017 · 1 comment

Comments

@Col-E
Copy link
Collaborator

Col-E commented Aug 31, 2017

Left game idle for about 30 seconds, crash occurs due to the save file name not being structured properly. For example it searched for the given file: C:\Users\Matt/.LastTry/worlds/test/0.0.cnk

Exit trace:

java.lang.Exception: Exit trace
	at java.lang.System.exit(System.java:971)
	at org.egordorichev.lasttry.LastTry.abort(LastTry.java:190)
	at org.egordorichev.lasttry.world.chunk.ChunkIO.save(ChunkIO.java:100)
	at org.egordorichev.lasttry.world.components.WorldChunksComponent.removeChunk(WorldChunksComponent.java:138)
	at org.egordorichev.lasttry.world.chunk.gc.ChunkGc.lambda$0(ChunkGc.java:75)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
	at org.egordorichev.lasttry.world.chunk.gc.ChunkGc.freeChunks(ChunkGc.java:74)
	at org.egordorichev.lasttry.world.chunk.gc.ChunkGc.performChunkGc(ChunkGc.java:37)
	at org.egordorichev.lasttry.world.chunk.gc.ChunkGc.beginChunkGC(ChunkGc.java:29)
	at org.egordorichev.lasttry.world.chunk.gc.ChunkGc.onWakeUp(ChunkGc.java:21)
	at org.egordorichev.lasttry.world.chunk.gc.ChunkGcManager$1.call(ChunkGcManager.java:70)
@Col-E
Copy link
Collaborator Author

Col-E commented Aug 31, 2017

Fixed in #95

@Col-E Col-E closed this as completed Aug 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant