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

ChunkyMap Loading & Rendering Issue [2.5.2 & 2.6.0-pre2] #33

Open
MrKorvic opened this issue Apr 7, 2021 · 5 comments
Open

ChunkyMap Loading & Rendering Issue [2.5.2 & 2.6.0-pre2] #33

MrKorvic opened this issue Apr 7, 2021 · 5 comments
Labels

Comments

@MrKorvic
Copy link

MrKorvic commented Apr 7, 2021

Updated to ChunkyMap 2.6.0 pre2 from 2.4.2 and on-load I receive this error;

[10:01:37 WARN]: [ChunkyMap] Loaded class org.dynmap.hdmap.HDMap from dynmap v3.1-457 which is not a depend, softdepend or loadbefore of this plugin.
>.... [10:01:37 INFO]: Warning: Could not load settings from /home/container/?/.chunky/chunky.json - defaults will be used
>.... [10:01:37 INFO]: java.io.FileNotFoundException: ?/.chunky/chunky.json (No such file or directory)
>.... [10:01:37 INFO]: at java.io.FileInputStream.open0(Native Method)
>.... [10:01:37 INFO]: at java.io.FileInputStream.open(FileInputStream.java:195)
>.... [10:01:37 INFO]: at java.io.FileInputStream.<init>(FileInputStream.java:138)
>.... [10:01:37 INFO]: at se.llbit.chunky.JsonSettings.load(JsonSettings.java:54)
>.... [10:01:37 INFO]: at se.llbit.chunky.PersistentSettings.changeSettingsDirectory(PersistentSettings.java:414)
>.... [10:01:37 INFO]: at se.llbit.chunky.PersistentSettings.<clinit>(PersistentSettings.java:86)
>.... [10:01:37 INFO]: at de.lemaik.chunkymap.rendering.local.ChunkyRenderer.<init>(ChunkyRenderer.java:60)
>.... [10:01:37 INFO]: at de.lemaik.chunkymap.dynmap.ChunkyMap.<init>(ChunkyMap.java:69)
>.... [10:01:37 INFO]: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>.... [10:01:37 INFO]: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>.... [10:01:37 INFO]: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>.... [10:01:37 INFO]: at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>.... [10:01:37 INFO]: at org.dynmap.ConfigurationNode.createInstance(ConfigurationNode.java:341)
>.... [10:01:37 INFO]: at org.dynmap.ConfigurationNode.createInstances(ConfigurationNode.java:355)
>.... [10:01:37 INFO]: at org.dynmap.DynmapWorld.loadConfiguration(DynmapWorld.java:345)
>.... [10:01:37 INFO]: at org.dynmap.MapManager.activateWorld(MapManager.java:1352)
>.... [10:01:37 INFO]: at org.dynmap.DynmapCore.processWorldLoad(DynmapCore.java:2124)
>.... [10:01:37 INFO]: at org.dynmap.bukkit.DynmapPlugin.doEnable(DynmapPlugin.java:978)
>.... [10:01:37 INFO]: at org.dynmap.bukkit.DynmapPlugin.onEnable(DynmapPlugin.java:946)
>.... [10:01:37 INFO]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
>.... [10:01:37 INFO]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380)
>.... [10:01:37 INFO]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483)
>.... [10:01:37 INFO]: at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:501)
>.... [10:01:37 INFO]: at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:415)
>.... [10:01:37 INFO]: at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:580)
>.... [10:01:37 INFO]: at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:280)
>.... [10:01:37 INFO]: at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1055)
>.... [10:01:37 INFO]: at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:289)
>.... [10:01:37 INFO]: at java.lang.Thread.run(Thread.java:748)

EDIT:

I downgraded to 2.5.2 and am facing other issues unable to render;

[10:15:15] [Dynmap Render Thread/WARN]: [ChunkyMap] Rendering tile failed
java.lang.NullPointerException: null
	at se.llbit.json.JsonString.hashCode(JsonString.java:133) ~[?:?]
	at se.llbit.json.JsonMember.hashCode(JsonMember.java:71) ~[?:?]
	at se.llbit.json.JsonObject.hashCode(JsonObject.java:289) ~[?:?]
	at java.util.WeakHashMap.hash(WeakHashMap.java:298) ~[?:1.8.0_282]
	at java.util.WeakHashMap.getEntry(WeakHashMap.java:426) ~[?:1.8.0_282]
	at java.util.WeakHashMap.containsKey(WeakHashMap.java:417) ~[?:1.8.0_282]
	at java.util.Collections$SynchronizedMap.containsKey(Collections.java:2580) ~[?:1.8.0_282]
	at se.llbit.chunky.resources.TextureCache.containsKey(TextureCache.java:43) ~[?:?]
	at se.llbit.chunky.entity.PlayerEntity.getTexture(PlayerEntity.java:585) ~[?:?]
	at se.llbit.chunky.entity.PlayerEntity.getHelmModel(PlayerEntity.java:547) ~[?:?]
	at se.llbit.chunky.entity.PlayerEntity.addArmor(PlayerEntity.java:333) ~[?:?]
	at se.llbit.chunky.entity.ArmorStand.primitives(ArmorStand.java:475) ~[?:?]
	at se.llbit.chunky.renderer.scene.Scene.buildActorBvh(Scene.java:1201) ~[?:?]
	at se.llbit.chunky.renderer.scene.Scene.loadChunks(Scene.java:1183) ~[?:?]
	at de.lemaik.chunkymap.dynmap.ChunkyMapTile.lambda$render$2(ChunkyMapTile.java:83) ~[?:?]
	at de.lemaik.chunkymap.rendering.local.ChunkyRenderer.render(ChunkyRenderer.java:98) ~[?:?]
	at de.lemaik.chunkymap.dynmap.ChunkyMapTile.render(ChunkyMapTile.java:67) ~[?:?]
	at org.dynmap.MapManager$FullWorldRenderState.processTile(MapManager.java:804) ~[?:?]
	at org.dynmap.MapManager$FullWorldRenderState.run(MapManager.java:720) ~[?:?]
	at org.dynmap.MapManager$DynmapScheduledThreadPoolExecutor$1.run(MapManager.java:229) ~[?:?]
	at org.dynmap.MapManager$DynmapScheduledThreadPoolExecutor$2.run(MapManager.java:245) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_282]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_282]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_282]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:1.8.0_282]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_282]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_282]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]

[10:15:16] [Dynmap Render Thread/INFO]: Could not get skull texture
[10:15:16] [Dynmap Render Thread/INFO]: java.lang.IllegalArgumentException: Illegal base64 character 20
[10:15:16] [Dynmap Render Thread/INFO]: 	at java.util.Base64$Decoder.decode0(Base64.java:714)
[10:15:16] [Dynmap Render Thread/INFO]: 	at java.util.Base64$Decoder.decode(Base64.java:526)
[10:15:16] [Dynmap Render Thread/INFO]: 	at java.util.Base64$Decoder.decode(Base64.java:549)
[10:15:16] [Dynmap Render Thread/INFO]: 	at se.llbit.chunky.block.Head.getTextureUrl(Head.java:76)
[10:15:16] [Dynmap Render Thread/INFO]: 	at se.llbit.chunky.entity.PlayerEntity.parseItem(PlayerEntity.java:125)
[10:15:16] [Dynmap Render Thread/INFO]: 	at se.llbit.chunky.entity.ArmorStand.<init>(ArmorStand.java:409)
[10:15:16] [Dynmap Render Thread/INFO]: 	at se.llbit.chunky.renderer.scene.Scene.loadChunks(Scene.java:866)
[10:15:16] [Dynmap Render Thread/INFO]: 	at de.lemaik.chunkymap.dynmap.ChunkyMapTile.lambda$render$2(ChunkyMapTile.java:83)
[10:15:16] [Dynmap Render Thread/INFO]: 	at de.lemaik.chunkymap.rendering.local.ChunkyRenderer.render(ChunkyRenderer.java:98)
[10:15:16] [Dynmap Render Thread/INFO]: 	at de.lemaik.chunkymap.dynmap.ChunkyMapTile.render(ChunkyMapTile.java:67)
[10:15:16] [Dynmap Render Thread/INFO]: 	at org.dynmap.MapManager$FullWorldRenderState.processTile(MapManager.java:804)
[10:15:16] [Dynmap Render Thread/INFO]: 	at org.dynmap.MapManager$FullWorldRenderState.run(MapManager.java:720)
[10:15:16] [Dynmap Render Thread/INFO]: 	at org.dynmap.MapManager$DynmapScheduledThreadPoolExecutor$1.run(MapManager.java:229)
[10:15:16] [Dynmap Render Thread/INFO]: 	at org.dynmap.MapManager$DynmapScheduledThreadPoolExecutor$2.run(MapManager.java:245)
[10:15:16] [Dynmap Render Thread/INFO]: 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[10:15:16] [Dynmap Render Thread/INFO]: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[10:15:16] [Dynmap Render Thread/INFO]: 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
[10:15:16] [Dynmap Render Thread/INFO]: 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
[10:15:16] [Dynmap Render Thread/INFO]: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[10:15:16] [Dynmap Render Thread/INFO]: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[10:15:16] [Dynmap Render Thread/INFO]: 	at java.lang.Thread.run(Thread.java:748)

EDIT 2:

Downgraded back to 2.4.2 and am not facing any loading/render issues now.

@MrKorvic MrKorvic changed the title ChunkyMap Loading & Rendering Issue ChunkyMap Loading & Rendering Issue [2.5.2 & 2.6.0-pre2] Apr 7, 2021
@leMaik
Copy link
Owner

leMaik commented Apr 7, 2021

The warnings in 2.6.0-pre2 are just warnings, you can ignore them (will be gone in 2.6.0-pre3).

The error in 2.5.2 is a chunky bug I'll have to look into. The chunky version used by 2.4.2 doesn't fetch skull textures so that's why it works I guess.

@leMaik leMaik added the bug label Apr 7, 2021
@leMaik
Copy link
Owner

leMaik commented Apr 16, 2021

@MrKorvic I can't reproduce this issue and I don't understand how this could happen from the stack trace. If this still happens… can you send me your world (maybe if you can narrow down the area where this happens)? I'd really like to fix this bug.

@MrKorvic
Copy link
Author

@MrKorvic I can't reproduce this issue and I don't understand how this could happen from the stack trace. If this still happens… can you send me your world (maybe if you can narrow down the area where this happens)? I'd really like to fix this bug.

For the time being, we're sticking to the lower version so that our dynmap will function. If you'd like a copy of any data feel free to contact me on Discord Korvic#9999 and I'll do what I can to help out.

@leMaik
Copy link
Owner

leMaik commented Apr 17, 2021

Sent you a friend request. 👍 Great that you found a workaround but I'd still like to fix it. ;-)

@leMaik
Copy link
Owner

leMaik commented Jul 18, 2021

This issue is fixed in Chunky 2.4.0 and will be fixed here in the next release.

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

No branches or pull requests

2 participants