fix for NPE when style is null; no style defaults to CdfStyles.DEFAULTSTYLE