Null Point Error in MasterMain.java