![]() |
|
|
|
|
Change By:
|
Grégory Joseph
(14/Feb/13 8:39 PM)
|
|
Description:
|
When configuring Jackrabbit, users sometimes make the mistake of not configuring the {{schemaObjectPrefix}} properly for the {{Versioning}} PM. They might for example copy paste a snippet for the regular PM which includes {{<param name="schemaObjectPrefix" value="$
\
{wsp.name}_"/>}}.
When this happens, startup fails miserably - it should still fail, but a more specific and explicit message would help ! {noformat} com.google.inject.CreationException: Guice creation errors: 1) Error injecting constructor, java.lang.NullPointerException at info.magnolia.cms.core.version.VersionManager.<init>(VersionManager.java:65) at info.magnolia.objectfactory.guice.GuiceComponentConfigurationModule.bindImplementation(GuiceComponentConfigurationModule.java:155) while locating info.magnolia.cms.core.version.VersionManager Caused by: java.lang.NullPointerException at info.magnolia.cms.core.version.BaseVersionManager$1.exec(BaseVersionManager.java:126) at info.magnolia.cms.core.version.BaseVersionManager$1.exec(BaseVersionManager.java:121) at info.magnolia.cms.security.JCRSessionOp.exec(JCRSessionOp.java:69) at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:403){noformat} (see complete stacktrace in attachement)
(!) When resolving, please investigate and report any finding regarding the second startup failure in the attached log - is it related in any way ?
{noformat} 2) Error injecting constructor, java.lang.NullPointerException at info.magnolia.freemarker.FreemarkerHelper.<init>(FreemarkerHelper.java:91) at info.magnolia.objectfactory.guice.GuiceComponentConfigurationModule.bindImplementation(GuiceComponentConfigurationModule.java:155) while locating info.magnolia.freemarker.FreemarkerHelper Caused by: java.lang.NullPointerException at info.magnolia.freemarker.FreemarkerHelper.<init>(FreemarkerHelper.java:113) {noformat}
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------