We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82ee3c0 commit 0798d4bCopy full SHA for 0798d4b
aemdesign-aem-services/src/main/java/design/aem/models/v2/lists/List.java
@@ -723,7 +723,12 @@ protected void populateChildListItems(String path, Boolean flat) {
723
724
Map<String, String> childMap = new HashMap<>();
725
Page rootPage = getPageManager().getPage(path);
726
- childMap.put("path", rootPage.getPath());
+ if (rootPage != null) {
727
+ childMap.put("path", rootPage.getPath());
728
+ } else {
729
+ LOGGER.error("populateChildListItems: could not find path {}", path);
730
+ childMap.put("path", path);
731
+ }
732
733
if (flat) {
734
childMap.put("path.flat", "true");
0 commit comments