userandomworlds spitting error
ergothian opened this issue ยท 14 comments
hello, i have this problem,when i put userandomworld to true in config,it just shows error and resets config please help me
this is what i get when i try reload config
[14:28:28] [Server thread/WARN]: Unexpected exception while parsing console command "wildtp reload"
org.bukkit.command.CommandException: Unhandled exception executing command 'wildtp' in plugin Wild v1.48
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(CraftServer.java:627) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:412) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:375) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-db6de12-18fbb24]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_60]
Caused by: java.lang.StackOverflowError
at java.util.HashMap.getNode(Unknown Source) ~[?:1.8.0_60]
at java.util.LinkedHashMap.get(Unknown Source) ~[?:1.8.0_60]
at org.bukkit.configuration.MemorySection.get(MemorySection.java:227) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.configuration.MemorySection.get(MemorySection.java:198) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.configuration.MemorySection.isConfigurationSection(MemorySection.java:689) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.configuration.MemorySection.getDefaultSection(MemorySection.java:154) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.configuration.MemorySection.getValues(MemorySection.java:93) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.configuration.MemorySection.getValues(MemorySection.java:96) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
server start log - http://prntscr.com/k6qyeu
config - http://prntscr.com/k6qyo3
yea but in plugin overview config section it says u can put 1 world so it teleports to that specific world,i'll try with 2 worlds and see what happens.
still not working,it looks like there is no function as userandomworlds in plugin,cuz without it,plugin works.
I have useRandomWorlds set to true for me on my server, while it is false by default. I'll double check the random world logic... might be infinitely looping somewhere in there I guess.
looks like there is no function as userandomworlds in plugin,cuz without it,plugin works.
Can you explain what you did or paste config contents?
i have randomworlds
world: 100
other world: 0
everything else is config from overview
Ok I need the entire log (and config again), because where I thought the error was originating from, turns out that can't be causing it. So unless the getKeys
call is screwed up if only one key exists, something else is going on here.