Problem/Bug Towny: null Bug?!

Discussion in 'Bukkit Help' started by J_2_the_B, Oct 26, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    J_2_the_B

    Hey!

    I've just opened a Towny server with a friend. It was working alright, however today (When we installed the plugin), about 10 - 15 hours later, when I try /town when im in one, it just comes out with

    towny: null

    I've configured Towny before, but never had a run in with this issue. Please help?

    Thank you! <3
     
  2. Offline

    LlmDl

    Stop your server. Start your server, let it load completely, then stop it. A new latest.log will be created in your logs folder. Please upload it to http://pastie.org or http://pastebin.com and post the link.
     
  3. Offline

    J_2_the_B

  4. Offline

    oceantheskatr

    @J_2_the_B Also you need to update your Essentials plugins to a version that works correctly with 1.8. Here's a link to it: http://hub.spigotmc.org/jenkins/job/Spigot-Essentials/

    I will say this now so that Necrodoom doesn't need to hop in:
    This is an unofficial version that was updated by the Spigot team, which are the people that are updating the Craftbukkit server file you're currently using. The Essentials team doesn't provide support for it as they decided to migrate the official version to the Sponge platform.

    This version of Essentials is nearly the exact same, but updated to 1.8. This is the version that nearly everyone on 1.8+ uses :)
     
    J_2_the_B likes this.
  5. Offline

    J_2_the_B

    @oceantheskatr
    Just remove our current one and replace it with the Spigot one, Correct? Also could you look at the issue I first addressed? See if you can see anything wrong? :) Thank you, by the way.
     
    Last edited: Oct 26, 2015
  6. Offline

    oceantheskatr

    Yeah, make sure the server is off when you switch them!

    Well here's your Towny error:

    Code:
    [23:02:04] [Server thread/WARN]: [Towny] Task #42 for Towny v0.90.0.0 generated an exception
    java.lang.NullPointerException
            at com.palmergames.bukkit.towny.permissions.TownyPerms.getTownRanks(TownyPerms.java:354) ~[?:?]
            at com.palmergames.bukkit.towny.permissions.TownyPerms$1.run(TownyPerms.java:305) ~[?:?]
            at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:53) ~[craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
            at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:349) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
            at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:679) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
            at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:335) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
            at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:628) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:536) [craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Bukkit-880a532]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_60]
    As you can see near the top, there's a NullPointerException when trying to get town ranks. Copy your Towny folder to somewhere safe (your desktop?) and delete it from the plugins folder. Start your server and let it generate new files for Towny. Then Pastebin your latest.log again :)
     
  7. Offline

    LlmDl

    Pastebin.com your townyperms.yml file from the Towny\settings\ folder.

    Don't do this @J_2_the_B . Thanks for your help so far @oceantheskatr but this isn't really needed.
     
  8. Offline

    J_2_the_B

    Already done. He spent most of his night lastnight messaging me with the fixes for the issue
    Aswell as some other issues involving other plugins

    EDIT by Timtower: merged posts, please use the edit button instead of double posting.
     
    LlmDl likes this.
  9. Offline

    oceantheskatr

    @LlmDl I checked his townyperms file, and it was the default one.
     
Thread Status:
Not open for further replies.

Share This Page