Code:
leftEncoder.setDistancePerPulse(0.000623);
rightEncoder.setDistancePerPulse(0.000623);
You are calling these methods before creating the leftEncoder and rightEncoder objects, which is causing the code to crash. If you scroll up in the output window, you will see a stack trace which would point to those lines.