Run Time Issue (after coding the button)

"Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
Note: You will not see another error reported for 5 seconds. after I coded something, it did this? how can I fix this?