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

MCARegion.iterateAllChunks() loop out exception log info #587

Closed
IsNott opened this issue Aug 7, 2024 · 2 comments
Closed

MCARegion.iterateAllChunks() loop out exception log info #587

IsNott opened this issue Aug 7, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@IsNott
Copy link

IsNott commented Aug 7, 2024

What i did / Steps to reproduce

I added it a few days ago to my paper server.
Checked issues #560 and #569,change useing version to 5.2.5-paper and 5.3-paper/spigot but console still loop exception log out.

Every single plugins load and run just fine.
Agreed with ELUA.
Tested at local(win 10) and remote(linux) server.

Expected result

Nothing exception log.

Actual result

It seems that although there kept console error log, it does not affect the running of the program

Is my config or something wrong?

`[10:47:56 ERROR]: [BlueMap] RenderManager(0): WorkerThread(1): Exception while doing some work!
java.lang.IllegalArgumentException: null
        at sun.nio.ch.FileChannelImpl.position(FileChannelImpl.java:383) ~[?:?]
        at de.bluecolored.bluemap.core.world.mca.region.MCARegion.iterateAllChunks(MCARegion.java:157) ~[[卫星地图]BlueMap-5.2-5-paper.jar:?]
        at de.bluecolored.bluemap.core.world.mca.MCAWorld.preloadRegionChunks(MCAWorld.java:194) ~[[卫星地图]BlueMap-5.2-5-paper.jar:?]
        at de.bluecolored.bluemap.core.world.World.preloadRegionChunks(World.java:92) ~[[卫星地图]BlueMap-5.2-5-paper.jar:?]
        at de.bluecolored.bluemap.common.rendermanager.WorldRegionRenderTask.init(WorldRegionRenderTask.java:142) ~[[卫星地图]BlueMap-5.2-5-paper.jar:?]
        at de.bluecolored.bluemap.common.rendermanager.WorldRegionRenderTask.doWork(WorldRegionRenderTask.java:162) ~[[卫星地图]BlueMap-5.2-5-paper.jar:?]
        at de.bluecolored.bluemap.common.rendermanager.CombinedRenderTask.doWork(CombinedRenderTask.java:56) ~[[卫星地图]BlueMap-5.2-5-paper.jar:?]
        at de.bluecolored.bluemap.common.rendermanager.RenderManager.doWork(RenderManager.java:318) ~[[卫星地图]BlueMap-5.2-5-paper.jar:?]
        at de.bluecolored.bluemap.common.rendermanager.RenderManager$WorkerThread.run(RenderManager.java:343) ~[[卫星地图]BlueMap-5.2-5-paper.jar:?]
[10:47:56 ERROR]: [BlueMap] RenderManager(0): WorkerThread(0): Exception while doing some work!
java.lang.IllegalArgumentException: null
        at sun.nio.ch.FileChannelImpl.position(FileChannelImpl.java:383) ~[?:?]
        at de.bluecolored.bluemap.core.world.mca.region.MCARegion.iterateAllChunks(MCARegion.java:157) ~[[卫星地图]BlueMap-5.2-5-paper.jar:?]
        at de.bluecolored.bluemap.core.world.mca.MCAWorld.preloadRegionChunks(MCAWorld.java:194) ~[[卫星地图]BlueMap-5.2-5-paper.jar:?]
        at de.bluecolored.bluemap.core.world.World.preloadRegionChunks(World.java:92) ~[[卫星地图]BlueMap-5.2-5-paper.jar:?]
        at de.bluecolored.bluemap.common.rendermanager.WorldRegionRenderTask.init(WorldRegionRenderTask.java:142) ~[[卫星地图]BlueMap-5.2-5-paper.jar:?]
        at de.bluecolored.bluemap.common.rendermanager.WorldRegionRenderTask.doWork(WorldRegionRenderTask.java:162) ~[[卫星地图]BlueMap-5.2-5-paper.jar:?]
        at de.bluecolored.bluemap.common.rendermanager.CombinedRenderTask.doWork(CombinedRenderTask.java:56) ~[[卫星地图]BlueMap-5.2-5-paper.jar:?]
        at de.bluecolored.bluemap.common.rendermanager.RenderManager.doWork(RenderManager.java:318) ~[[卫星地图]BlueMap-5.2-5-paper.jar:?]
        at de.bluecolored.bluemap.common.rendermanager.RenderManager$WorkerThread.run(RenderManager.java:343) ~[[卫星地图]BlueMap-5.2-5-paper.jar:?]`

Context

BlueMap Version:
[any]
BlueMap-5.2-5-paper.jar
BlueMap-5.3-paper.jar
BlueMap-5.3-spigot.jar

Server-Version:
Paper 1.20.4

@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
@TBlueF
Copy link
Member

TBlueF commented Aug 7, 2024

Looks like you have a very big region-file somewhere ^^
Can you please check if this build https://github.com/BlueMap-Minecraft/BlueMap/actions/runs/10280498459 fixes your issue? :)

@IsNott
Copy link
Author

IsNott commented Aug 7, 2024

It works, thanks for your help!!! :)

@IsNott IsNott closed this as completed Aug 7, 2024
@github-project-automation github-project-automation bot moved this from Planned (unordered) to Ready for next release in TODO / Idea board Aug 7, 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