Null pointer error in thread

Implement a method named post() draw() inside your class A, and then registerMethod() it: :space_invader: