diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index fccf7d9e..413af1d0 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -37,7 +37,7 @@ namespace Volian.Print.Library foreach (ItemInfo childItemInfo in itemInfoList) { // if the format has MatchUpRNOCautNote, then add a line to yoff, if not at top of rno column. - if (childItemInfo.FormatStepData.MatchUpRNO) + if (childItemInfo.FormatStepData != null && childItemInfo.FormatStepData.MatchUpRNO) { if (childItemInfo.MyParent != null && childItemInfo.MyParent.MyParent != null && !childItemInfo.MyParent.MyParent.IsHigh) yoff += vlnPrintObject.SixLinesPerInch;