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

Error: RenderManager(0): WorkerThread(0): Exception while doing some work! java.util.NoSuchElementException: There is no TagType for id: 102 #588

Closed
chtko opened this issue Aug 7, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@chtko
Copy link

chtko commented Aug 7, 2024

What i did / Steps to reproduce

Nothing, the error came from nowhere.

Expected result

The whole console is full of errors.

Actual result

The card itself works stably, but it is not pleasant to look at the console, which is all red. The error appears almost every ~10 seconds, which is why the entire console is in this error.

Error:

java.util.NoSuchElementException: There is no TagType for id: 102
        at BlueMap-5.3-spigot.jar/de.bluecolored.shadow.bluenbt.TagType.forId(TagType.java:62) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.shadow.bluenbt.NBTReader.readTag(NBTReader.java:464) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.shadow.bluenbt.NBTReader.peek(NBTReader.java:57) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.shadow.bluenbt.adapter.DefaultDeserializerFactory$DefaultAdapter.read(DefaultDeserializerFactory.java:151) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.shadow.bluenbt.BlueNBT.read(BlueNBT.java:200) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.shadow.bluenbt.BlueNBT.read(BlueNBT.java:196) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.shadow.bluenbt.BlueNBT.read(BlueNBT.java:204) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.core.map.renderstate.CellStorage.loadCell(CellStorage.java:92) ~[BlueMap-5.3-spigot.jar:?]
        at java.base/java.util.HashMap.computeIfAbsent(Unknown Source) ~[?:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.core.map.renderstate.CellStorage.cell(CellStorage.java:86) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.core.map.renderstate.CellStorage.cell(CellStorage.java:82) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.core.map.renderstate.MapChunkState.get(MapChunkState.java:38) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.common.rendermanager.WorldRegionRenderTask.checkChunksHaveChanges(WorldRegionRenderTask.java:311) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.common.rendermanager.WorldRegionRenderTask.init(WorldRegionRenderTask.java:130) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.common.rendermanager.WorldRegionRenderTask.doWork(WorldRegionRenderTask.java:162) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.common.rendermanager.CombinedRenderTask.doWork(CombinedRenderTask.java:56) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.common.rendermanager.RenderManager.doWork(RenderManager.java:318) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.common.rendermanager.RenderManager$WorkerThread.run(RenderManager.java:343) ~[BlueMap-5.3-spigot.jar:?]
[18:38:36 ERROR]: [BlueMap] RenderManager(0): WorkerThread(1): Exception while doing some work!
java.util.NoSuchElementException: There is no TagType for id: 102
        at BlueMap-5.3-spigot.jar/de.bluecolored.shadow.bluenbt.TagType.forId(TagType.java:62) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.shadow.bluenbt.NBTReader.readTag(NBTReader.java:464) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.shadow.bluenbt.NBTReader.peek(NBTReader.java:57) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.shadow.bluenbt.adapter.DefaultDeserializerFactory$DefaultAdapter.read(DefaultDeserializerFactory.java:151) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.shadow.bluenbt.BlueNBT.read(BlueNBT.java:200) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.shadow.bluenbt.BlueNBT.read(BlueNBT.java:196) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.shadow.bluenbt.BlueNBT.read(BlueNBT.java:204) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.core.map.renderstate.CellStorage.loadCell(CellStorage.java:92) ~[BlueMap-5.3-spigot.jar:?]
        at java.base/java.util.HashMap.computeIfAbsent(Unknown Source) ~[?:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.core.map.renderstate.CellStorage.cell(CellStorage.java:86) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.core.map.renderstate.CellStorage.cell(CellStorage.java:82) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.core.map.renderstate.MapChunkState.get(MapChunkState.java:38) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.common.rendermanager.WorldRegionRenderTask.checkChunksHaveChanges(WorldRegionRenderTask.java:311) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.common.rendermanager.WorldRegionRenderTask.init(WorldRegionRenderTask.java:130) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.common.rendermanager.WorldRegionRenderTask.doWork(WorldRegionRenderTask.java:162) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.common.rendermanager.CombinedRenderTask.doWork(CombinedRenderTask.java:56) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.common.rendermanager.RenderManager.doWork(RenderManager.java:318) ~[BlueMap-5.3-spigot.jar:?]
        at BlueMap-5.3-spigot.jar/de.bluecolored.bluemap.common.rendermanager.RenderManager$WorkerThread.run(RenderManager.java:343) ~[BlueMap-5.3-spigot.jar:?]

Context

I searched for an error on GitHub, found a similar error #234, did as it was written there, deleting minecraft-client-1.20.6.jar,
it didn't help.
In folder: ./config, there is no folder: ./bluemap.
BlueMap Version: 5.3 Spigot.
Minecraft: 1.20.6
Server Core: Paper
OS: Windows 10

P.S. I used a translator, so the text may be strange in some places
@TBlueF TBlueF added the bug Something isn't working label Aug 7, 2024
@github-project-automation github-project-automation bot moved this to Planned (unordered) in TODO / Idea board Aug 7, 2024
@chtko
Copy link
Author

chtko commented Aug 8, 2024

Here are the plugins that are on the server, maybe they are a problem:
image

@TBlueF
Copy link
Member

TBlueF commented Aug 8, 2024

The problem is that you probably have some corrupted map-state files, probably caused by a crash or error while bluemap was writing them. The bug is that bluemap should be able to recover from this and fix the file, instead of erroring over and over again :)

(Purging the entire map should fix the erroring on your end as well.)

@chtko
Copy link
Author

chtko commented Aug 8, 2024

The problem is that you probably have some corrupted map-state files, probably caused by a crash or error while bluemap was writing them. The bug is that bluemap should be able to recover from this and fix the file, instead of erroring over and over again :)

(Purging the entire map should fix the erroring on your end as well.)

If I understood everything correctly, then I have to delete the data that is responsible for chunks on the map. Is everything right?

@TBlueF
Copy link
Member

TBlueF commented Aug 8, 2024

If I understood everything correctly, then I have to delete the data that is responsible for chunks on the map. Is everything right?

/bluemap purge <map> ^^

@chtko
Copy link
Author

chtko commented Aug 9, 2024

If I understood everything correctly, then I have to delete the data that is responsible for chunks on the map. Is everything right?

/bluemap purge <map> ^^

Thanks a lot, I'll try to use the command now. I'll see if the error has been corrected or not

@chtko
Copy link
Author

chtko commented Aug 9, 2024

If I understood everything correctly, then I have to delete the data that is responsible for chunks on the map. Is everything right?

/bluemap purge <map> ^^

The team helped solve the problem. Thank you very much!

@TBlueF TBlueF closed this as completed in 48fa5b6 Sep 15, 2024
@github-project-automation github-project-automation bot moved this from In progress to Ready for next release in TODO / Idea board Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants