Wilderness-Tp

Wilderness-Tp

36.7k Downloads

userandomworlds spitting error

ergothian opened this issue ยท 14 comments

commented

hello, i have this problem,when i put userandomworld to true in config,it just shows error and resets config please help me

commented

Paste said error.

commented

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]

commented

Would like server start log, not a reload. Paste config?

commented
commented

can someone help?

commented

I think the problem is because you only have one world in the randomWorlds map.

commented

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.

commented

still not working,it looks like there is no function as userandomworlds in plugin,cuz without it,plugin works.

commented

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.

commented

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?

commented

i just have pasted from your config section in plugin overview

commented

i have randomworlds
world: 100
other world: 0
everything else is config from overview

commented

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.

commented

No idea how you're getting this; I can't reproduce it. My guess is that you might've had some other rogue plugin messing around with the config files or something.