Fixed NullPointerException on replaying snapshot events; Fixed NoClassDefFound exception