-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
When load feed from siteRoot which isn't exist then npe is thrown.
DEBUG info.magnolia.jcr.util.SessionUtil 16.08.2013 20:28:22 -- There's no item with path: '/home/our-company/news/newsletter' in workspace: 'website' ERROR info.magnolia.module.rssaggregator.generator.AbstractSyndFeedGenerator 16.08.2013 20:28:22 -- Failed to generate Feed using generator 'info.magnolia.module.templatingkit.syndication.PageSyndicator' java.lang.NullPointerException at info.magnolia.module.templatingkit.templates.category.TemplateCategoryUtil.getContentListByTemplateNames(TemplateCategoryUtil.java:227) at info.magnolia.module.templatingkit.templates.category.TemplateCategoryUtil.getContentListByTemplateCategorySubCategory(TemplateCategoryUtil.java:196) at info.magnolia.module.templatingkit.functions.STKTemplatingFunctions.getContentListByTemplateCategorySubCategory(STKTemplatingFunctions.java:394) at info.magnolia.module.templatingkit.functions.STKTemplatingFunctions.getContentListByTemplateCategorySubCategory(STKTemplatingFunctions.java:387) at info.magnolia.module.templatingkit.syndication.PageSyndicator.loadFeedEntries(PageSyndicator.java:101)
DEBUG info.magnolia.jcr.util.SessionUtil 16.08.2013 21:29:31 -- There's no item with path: '/home/our-company/news/newsletter' in workspace: 'website' ERROR info.magnolia.module.rssaggregator.generator.AbstractSyndFeedGenerator 16.08.2013 21:29:31 -- Failed to generate Feed using generator 'info.magnolia.module.templatingkit.syndication.PageSyndicator' java.lang.NullPointerException at info.magnolia.jcr.util.PropertyUtil.getString(PropertyUtil.java:346) at info.magnolia.jcr.util.PropertyUtil.getString(PropertyUtil.java:336) at info.magnolia.module.templatingkit.syndication.PageSyndicator.setFeedInfo(PageSyndicator.java:123)
Acceptance criteria
- depends upon
-
MAGNOLIA-5246 PropertyUtil.getString should not throw NPE when node is null
- Closed
- is causing
-
MGNLSTK-1230 Channel link must be a full and valid URL
- Closed
- is related to
-
MGNLRSSAGG-76 Prevent NPEs at RSSModuleFeedGenerator and FeedChannelContentMapper
- Closed
-
MGNLCAT-89 Prevent NPEs at CategorySyndicator
- Closed