Skip to content

Commit

Permalink
NPE fix
Browse files Browse the repository at this point in the history
  • Loading branch information
uwol committed Aug 17, 2017
1 parent 67c146f commit 0af1b73
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ public IdentificationDivision addIdentificationDivision(final IdentificationDivi
result = new IdentificationDivisionImpl(this, ctx);
identificationDivision = result;

result.addProgramIdParagraph(ctx.programIdParagraph());
if (ctx.programIdParagraph() != null) {
result.addProgramIdParagraph(ctx.programIdParagraph());
}

for (final IdentificationDivisionBodyContext identificationDivisionBodyContext : ctx
.identificationDivisionBody()) {
Expand Down

0 comments on commit 0af1b73

Please sign in to comment.