Skip to content

Commit

Permalink
Merge pull request #42074 from radcortez/main
Browse files Browse the repository at this point in the history
Fix NPE with ConfigDocItem
  • Loading branch information
gsmet committed Jul 23, 2024
2 parents e1987aa + 62aa3fb commit 0e206e0
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 0e206e0

Please sign in to comment.