Is this also the same error as your other thread? Why throw a NullPointerException in rest api plugin?