Fix NPE in layerBusiness when data is null.