final JSAttributeNameValuePair bgColorAttr = swfMetadata == null ? null : swfMetadata.getValueByName("backgroundColor");
<BUG>final String bgColor = bgColorAttr != null ? bgColorAttr.getSimpleValue() : "#ffffff";
</BUG>
final JSAttributeNameValuePair widthAttr = swfMetadata == null ? null : swfMetadata.getValueByName("width");
<BUG>final String width = widthAttr != null ? widthAttr.getSimpleValue() : "100%";
</BUG>
final JSAttributeNameValuePair heightAttr = swfMetadata == null ? null : swfMetadata.getValueByName("height");
<BUG>final String height = heightAttr != null ? heightAttr.getSimpleValue() : "100%";
</BUG>
final String[] replacement = {outputFileName, title, outputFileName, bgColor, width, height, major, minor, revision};

final JSAttributeNameValuePair bgColorAttr = swfMetadata == null ? null : swfMetadata.getValueByName("backgroundColor");
final String bgColor = bgColorAttr != null ? StringUtil.notNullize(bgColorAttr.getSimpleValue(), "#ffffff") : "#ffffff";
final JSAttributeNameValuePair widthAttr = swfMetadata == null ? null : swfMetadata.getValueByName("width");
final String width = widthAttr != null ? StringUtil.notNullize(widthAttr.getSimpleValue(), "100%") : "100%";
final JSAttributeNameValuePair heightAttr = swfMetadata == null ? null : swfMetadata.getValueByName("height");
final String height = heightAttr != null ? StringUtil.notNullize(heightAttr.getSimpleValue(), "100%") : "100%";
final String[] replacement = {outputFileName, title, outputFileName, bgColor, width, height, major, minor, revision};
