SOS-1411 Fix NPE
LPS-41825 use hot deploy event to initialize