NPE Command Error

Discussion in 'Spigot Plugin Development' started by DotRar, Jun 6, 2016.

  1. NPE w/ command error, not sure how to solve it.

    EDIT: DIDN'T REGISTER IN PLUGIN.YML OOPS!
     
  2. Did you register the command in plugin.yml?
     
  3. DB.INSTANCE; is probably always null, you might have forgotten to instantiate it. Can you point us where is line 23 in Core.java?
     
  4. Code (Text):
    at com.perkelle.dev.booster.Core.onEnable(Core.java:23) ~[?:?]
    Which line is 23?