Magnolia 4.5 resources exception during startup on Jboss
--------------------------------------------------------
Key: MAGNOLIA-3916
URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3916
Project: Magnolia
Issue Type: Bug
Security Level: Public
Components: core
Affects Versions: 4.5
Environment: Jboss AS 5.1 / 6.1
Reporter: Eric Hechinger
Assignee: Eric Hechinger
Fix For: 4.5
During Magnolia startUp, the application is not deployed due to the following
exception:
2011-12-12 10:38:30,888 INFO [STDOUT] (main) 2011-12-12 10:38:30,887 WARN
info.magnolia.cms.util.ClasspathResourcesUtil : Looks like we're in a JBoss
5 expanded war directory, will attempt to load resources from the file system
instead; see MAGNOLIA-2577.
2011-12-12 10:38:31,149 INFO [STDOUT] (main) 2011-12-12 10:38:31,125 ERROR
info.magnolia.init.MagnoliaServletContextListener : Oops, Magnolia could not be
started
java.lang.NullPointerException
at java.io.File.<init>(File.java:222)
at info.magnolia.cms.core.Path.getAppRootDir(Path.java:125)
at info.magnolia.cms.core.Path.getAbsoluteFileSystemPath(Path.java:155)
at
info.magnolia.cms.util.ClasspathResourcesUtil.collectFromFileSystem(ClasspathResourcesUtil.java:180)
at
info.magnolia.cms.util.ClasspathResourcesUtil.findResources(ClasspathResourcesUtil.java:156)
at
info.magnolia.module.model.reader.BetwixtModuleDefinitionReader.findModuleDescriptors(BetwixtModuleDefinitionReader.java:115)
at
info.magnolia.module.model.reader.BetwixtModuleDefinitionReader.readAll(BetwixtModuleDefinitionReader.java:104)
at
info.magnolia.module.ModuleManagerImpl.loadDefinitions(ModuleManagerImpl.java:144)
at
info.magnolia.init.MagnoliaServletContextListener.contextInitialized(MagnoliaServletContextListener.java:178)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
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]>
----------------------------------------------------------------