Looks like you forgot to set the UUID u field in your Bits class resulting into a nullpointer public Bits(Core p, UUID u) { this.plugin = p; this.u = u; this.MySQL = new .