Skip to content

Commit

Permalink
Fix NPE with ConfigDocItem
Browse files Browse the repository at this point in the history
(cherry picked from commit 62aa3fb)
  • Loading branch information
radcortez authored and gsmet committed Jul 23, 2024
1 parent 7545c50 commit 9bd96c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ private List<ConfigDocItem> recursivelyFindConfigItems(Element element, String r
// If there is already a config item with the same key it comes from a super type, and we need to override it
ConfigDocItem parent = null;
for (ConfigDocItem docItem : configDocItems) {
if (docItem.getConfigDocKey().getKey().equals(configDocKey.getKey())) {
if (docItem.getConfigDocKey() != null && docItem.getConfigDocKey().getKey().equals(configDocKey.getKey())) {
parent = docItem;
break;
}
Expand Down

0 comments on commit 9bd96c5

Please sign in to comment.