Solved "NullPointerException" Problem, can't find it.

Discussion in 'Spigot Plugin Development' started by SrLegsini, May 25, 2016.

  1. Hi! I have some problems with my plugin "simpleStaffControl".

    Error / Problem:
    [​IMG]

    GitHub Source:
    https://github.com/MrLechuga/SimpleStaffControl2

    Info: Plugin works correctly with all the rest of commands and functions (For example, /Staff Help works, and HideStaffJoin works)
     
  2. MiniDigger

    Supporter

    there is no string ""GUI.MenuName" in your config
     
    • Agree Agree x 1
  3. But, there's...
    [​IMG]
    [​IMG]
     
  4. Remove the apostrophe (') in "Server's"
    Edit: You can escape it with a backslash (\) - while you use double quotes in Java, as you can see the config generated with single quotes
     
  5. MiniDigger

    Supporter

    always check your config with a yaml validator if you run into config problems.