Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/release-notes/12246-guard-npe-bag-generator.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed a problem in the BagPack generator, which caused the export to fail for datasets with multiple Contact Points, of which some had no name while others did.
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ private String generateInfoFile() {
info.append(CRLF);

} else {
if (contactNameTerm != null) {
if (contactNameTerm != null && ((JsonObject) person).has(contactNameTerm.getLabel())) {
info.append(multilineWrap(CONTACT_NAME + ((JsonObject) person).get(contactNameTerm.getLabel()).getAsString()));
info.append(CRLF);
}
Expand Down
Loading