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

Failed to store chunk errors with CCA and Fabric API #188

Open
dicedpixels opened this issue Nov 8, 2024 · 3 comments
Open

Failed to store chunk errors with CCA and Fabric API #188

dicedpixels opened this issue Nov 8, 2024 · 3 comments

Comments

@dicedpixels
Copy link

dicedpixels commented Nov 8, 2024

Test plan:

Launch an instance:

  • fabricloader 0.16.9
  • minecraft 1.21.3
  • cardinal-components 6.2.0
  • fabric-api 0.107.0+1.21.3

Create a single-player world.

Observe the endless Failed to store chunk errors.

Log: iIMwwMC.txt - mclogs

@dicedpixels dicedpixels changed the title Failed to store chunk erros with CCA and Fabric API Failed to store chunk errors with CCA and Fabric API Nov 8, 2024
@demkom58
Copy link

I experienced same thing on Dedicated server, here is deobfuscated stacktrace:

 [IO-Worker-7/ERROR] (Minecraft) Failed to store chunk [3, -3]
 java.lang.NullPointerException: Cannot invoke "net.minecraft.nbt.Tag.getId()" because "tag" is null
	at knot/net.minecraft.nbt.CompoundTag.writeNamedTag(CompoundTag.java:496) ~[minecraft-common-7e133586f8-1.21.3-loom.mappings.1_21_3.layered+hash.2198-v2.jar:?]
	at knot/net.minecraft.nbt.CompoundTag.write(CompoundTag.java:176) ~[minecraft-common-7e133586f8-1.21.3-loom.mappings.1_21_3.layered+hash.2198-v2.jar:?]
	at knot/net.minecraft.nbt.NbtIo.writeUnnamedTag(NbtIo.java:368) ~[minecraft-common-7e133586f8-1.21.3-loom.mappings.1_21_3.layered+hash.2198-v2.jar:?]
	at knot/net.minecraft.nbt.NbtIo.writeUnnamedTagWithFallback(NbtIo.java:373) ~[minecraft-common-7e133586f8-1.21.3-loom.mappings.1_21_3.layered+hash.2198-v2.jar:?]
	at knot/net.minecraft.nbt.NbtIo.write(NbtIo.java:327) ~[minecraft-common-7e133586f8-1.21.3-loom.mappings.1_21_3.layered+hash.2198-v2.jar:?]
	at knot/net.minecraft.world.level.chunk.storage.RegionFileStorage.write(RegionFileStorage.java:122) ~[minecraft-common-7e133586f8-1.21.3-loom.mappings.1_21_3.layered+hash.2198-v2.jar:?]
	at knot/net.minecraft.world.level.chunk.storage.IOWorker.runStore(IOWorker.java:227) ~[minecraft-common-7e133586f8-1.21.3-loom.mappings.1_21_3.layered+hash.2198-v2.jar:?]
	at knot/net.minecraft.world.level.chunk.storage.IOWorker.storePendingChunk(IOWorker.java:216) ~[minecraft-common-7e133586f8-1.21.3-loom.mappings.1_21_3.layered+hash.2198-v2.jar:?]
	at knot/net.minecraft.util.thread.StrictQueue$RunnableWithPriority.run(StrictQueue.java:99) ~[minecraft-common-7e133586f8-1.21.3-loom.mappings.1_21_3.layered+hash.2198-v2.jar:?]
	at knot/net.minecraft.Util.runNamed(Util.java:287) ~[minecraft-common-7e133586f8-1.21.3-loom.mappings.1_21_3.layered+hash.2198-v2.jar:?]
	at knot/net.minecraft.util.thread.AbstractConsecutiveExecutor.pollTask(AbstractConsecutiveExecutor.java:47) ~[minecraft-common-7e133586f8-1.21.3-loom.mappings.1_21_3.layered+hash.2198-v2.jar:?]
	at knot/net.minecraft.util.thread.AbstractConsecutiveExecutor.run(AbstractConsecutiveExecutor.java:55) ~[minecraft-common-7e133586f8-1.21.3-loom.mappings.1_21_3.layered+hash.2198-v2.jar:?]
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
	at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]

@boyonk913
Copy link

To add to this: for me this only happened when CCA was on its own mod. When I included it in my own mod, the problem ceased to exist.

@demkom58
Copy link

To add to this: for me this only happened when CCA was on its own mod. When I included it in my own mod, the problem ceased to exist.

I haven't tried to use packaged jar with included dependency, but with just runServer gradle task it still happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants