CLI crashes just after reporting "finished"
See original GitHub issueBlueMap Version: BlueMap-1.0.0-cli.jar
I am using:
-
[12 ] mods (on the rendered world) Is this applicable for the CLI? Minecraft was not running at this point. Regardless, here is the list of mods I use: fabric-api-0.20.1+build.401-1.16.jar fabric-carpet-1.16.3-1.4.10+v200907.jar fabricmod_VoxelMap-1.10.10_for_1.16.2.jar Hwyla-Mod-Fabric-1.16.2.jar litematica-fabric-1.16.2-0.0.0-dev.20200824.031346.jar lithium-fabric-mc1.16.2-0.5.4.jar malilib-fabric-1.16.2-0.10.0-dev.21+arne.1.jar minihud-fabric-1.16.2-0.19.0-dev.20200829.031650.jar modmenu-1.14.6+build.31.jar WI-Zoom-1.2-MC1.16.2.jar worldedit-fabric-mc1.16.2-7.2.0-beta-04.jar WorldEditCUI-1.16.2+01.jar
-
[0 ] resourcepacks (in bluemaps
config/resourcepack
folder)
Description: This mod really looks promising. I tried it running a fabric server & the game on the same PC (win7x64, core i7 3GHz) and it was beautiful – but it was impractical due to how slowly the browser rendered/moved/zoomed the map.
I then tried the CLI: BlueMap-1.0.0-cli.jar
I pointed the generated render.conf file to an existing 1.16.2 world. Running the CLI with the “-r” flag gave a bunch of warnings & then crashed just after saying “Render finished!”. Note: I’m using Openjdk 14.0.2 Perhaps the “exception trying to load chunk…” is because the chunk does not exist? The world is not entirely connected.
Here’s the tail end of all the messages:
[DEBUG] Unexpected exception trying to load chunk ((286, -154)):java.io.IOException: Exception trying to load chunk ((286, -154))
[INFO] Rendering map '1_16':
[INFO] Rendered 8226 of 8245 tiles in 37 minutes 44 seconds | 3.633 tiles/s
[INFO] 99.77% | Estimated remaining time: 5 seconds
[DEBUG] Unexpected exception trying to load chunk ((286, -152)):java.io.IOException: Exception trying to load chunk ((286, -152))
[DEBUG] Unexpected exception trying to load chunk ((286, -150)):java.io.IOException: Exception trying to load chunk ((286, -150))
[DEBUG] Unexpected exception trying to load chunk ((286, -148)):java.io.IOException: Exception trying to load chunk ((286, -148))
[DEBUG] Unexpected exception trying to load chunk ((286, -146)):java.io.IOException: Exception trying to load chunk ((286, -146))
[DEBUG] Unexpected exception trying to load chunk ((286, -144)):java.io.IOException: Exception trying to load chunk ((286, -144))
[DEBUG] Unexpected exception trying to load chunk ((280, -164)):java.io.IOException: Exception trying to load chunk ((280, -164))
[DEBUG] Unexpected exception trying to load chunk ((282, -164)):java.io.IOException: Exception trying to load chunk ((282, -164))
[DEBUG] Unexpected exception trying to load chunk ((284, -164)):java.io.IOException: Exception trying to load chunk ((284, -164))
[DEBUG] Unexpected exception trying to load chunk ((286, -164)):java.io.IOException: Exception trying to load chunk ((286, -164))
[DEBUG] Unexpected exception trying to load chunk ((280, -162)):java.io.IOException: Exception trying to load chunk ((280, -162))
[DEBUG] Unexpected exception trying to load chunk ((282, -162)):java.io.IOException: Exception trying to load chunk ((282, -162))
[DEBUG] Unexpected exception trying to load chunk ((284, -162)):java.io.IOException: Exception trying to load chunk ((284, -162))
[INFO] Render finished!
[ERROR] Unexpected exception in render-thread!
java.util.concurrent.CompletionException: java.lang.InterruptedException: sleep interrupted
at de.bluecolored.shadow.benmanes.caffeine.cache.LocalLoadingCache.lambda$newMappingFunction$2(LocalLoadingCache.java:146)
at de.bluecolored.shadow.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2344)
at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916)
at de.bluecolored.shadow.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2342)
at de.bluecolored.shadow.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2325)
at de.bluecolored.shadow.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:108)
at de.bluecolored.shadow.benmanes.caffeine.cache.LocalLoadingCache.get(LocalLoadingCache.java:54)
at de.bluecolored.bluemap.core.mca.MCAWorld.getChunk(MCAWorld.java:202)
at de.bluecolored.bluemap.core.mca.MCAWorld.isChunkGenerated(MCAWorld.java:273)
at de.bluecolored.bluemap.core.world.World.isAreaGenerated(World.java:142)
at de.bluecolored.bluemap.core.world.World.isAreaGenerated(World.java:131)
at de.bluecolored.bluemap.core.world.World.isAreaGenerated(World.java:122)
at de.bluecolored.bluemap.core.render.TileRenderer.render(TileRenderer.java:47)
at de.bluecolored.bluemap.common.MapType.renderTile(MapType.java:70)
at de.bluecolored.bluemap.common.RenderTicket.render(RenderTicket.java:42)
at de.bluecolored.bluemap.common.RenderManager.renderThread(RenderManager.java:164)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.lang.InterruptedException: sleep interrupted
at java.base/java.lang.Thread.sleep(Native Method)
at de.bluecolored.bluemap.core.mca.MCAWorld.loadChunkOrEmpty(MCAWorld.java:220)
at de.bluecolored.bluemap.core.mca.MCAWorld.lambda$new$0(MCAWorld.java:149)
at de.bluecolored.shadow.benmanes.caffeine.cache.LocalLoadingCache.lambda$newMappingFunction$2(LocalLoadingCache.java:141)
... 16 more
Issue Analytics
- State:
- Created 3 years ago
- Comments:27 (11 by maintainers)
Top GitHub Comments
OK, here’s another try. BTW, I noticed that there were several MCA files in the region/ directory that had zero length. I checked another 1.16.2 world and found the same so I guess that’s normal. r.8.-6.mca.zip
Depends on the server, especially on the core-count … if you have 3 cores or more, chances are good that there is no real performance impact. BlueMap is rendering entirely off the server-thread. Minecraft is single threaded and BlueMap plugins (by default) leaves 2 cores for the server and renders on the remaining. So if you have 3 cores, BlueMap runs (slowly) on one render-thread… If you have 6 BlueMap runs on 4 threads , and so on. But if you have one or two cores, BlueMap might take away performance from your server while rendering …