Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
14.6.0
-
None
-
0.5
-
Flagged
-
Quasar
-
Puma Sprint 266, Puma Sprint 274, Puma sprint 275
Description
In a fresh archetype-based project, after having configured xpages, the rendering of an xpage (both in Exp. Mgr. as in live site) produces this in the logs:
WARN http-nio-8080-exec-6 [org.hippoecm.hst.util.ParametersInfoAnnotationUtils.getParametersInfoAnnotation:145] Component class not loadable: org.onehippo.cms7.essentials.components.EssentialsContentComponent
Reproduction
- Make a clean project
- Add simple content to project.
- Create an experience page for simple content.
Expected
No WARNs when visiting the xpage
Analysis
Call stack:
getParametersInfoAnnotation:145, ParametersInfoAnnotationUtils (org.hippoecm.hst.util)
populateLegacyComponentParameters:1101, HstComponentConfigurationService (org.hippoecm.hst.platform.configuration.components)
populateComponentReferences:190, HstComponentsConfigurationService (org.hippoecm.hst.platform.configuration.components)
loadExperiencePage:209, ExperiencePageServiceImpl (org.hippoecm.hst.platform.services.experiencepage)
invoke:-1, GeneratedMethodAccessor280 (sun.reflect)
invoke:43, DelegatingMethodAccessorImpl (sun.reflect)
invoke:498, Method (java.lang.reflect)
lambda$new$0:68, ProxiedServiceHolder (org.onehippo.cms7.services)
invoke:-1, 1862287377 (org.onehippo.cms7.services.ProxiedServiceHolder$$Lambda$542)
loadExperiencePage:-1, $Proxy149 (com.sun.proxy)
resolveComponentConfiguration:208, ResolvedSiteMapItemImpl (org.hippoecm.hst.site.request)
getHstComponentConfiguration:125, ResolvedSiteMapItemImpl (org.hippoecm.hst.site.request)
invoke:43, ContextResolvingValve (org.hippoecm.hst.core.container)
...
Method
ParametersInfoAnnotationUtils#getParametersInfoAnnotation(o.h.h.c.c.HstComponentConfiguration, j.l.ClassLoader)
has a classloader argument, gotten from
HstComponentConfigurationService#populateLegacyComponentParameters
and although it is called websiteClassLoader it is the CMS' classloader, because ResolvedSiteMapItemImpl comes from hst-core.jar which lives in the CMS.