struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Lindholm <greg.lindh...@gmail.com>
Subject S2.1.6 problem with devMode
Date Fri, 26 Jun 2009 14:28:46 GMT
When I set devMode to true I get the exception below.
Struts 2.1.6, Tomcat 5.5, starting Tomcat from within Eclipse.
If devMode is false all works fine.
Anyone have any ideas?

2009-06-26 10:21:06,250 INFO
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider:31 -
Parsing configuration file [struts-default.xml]
2009-06-26 10:21:06,442 INFO
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider:31 -
Unable to locate configuration files of the name struts-plugin.xml, skipping
2009-06-26 10:21:06,443 INFO
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider:31 -
Parsing configuration file [struts-plugin.xml]
2009-06-26 10:21:06,531 INFO
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider:31 -
Parsing configuration file [struts.xml]
2009-06-26 10:21:06,544 INFO
com.opensymphony.xwork2.config.impl.DefaultConfiguration:31 - Overriding
property struts.i18n.reload - old value: false new value: true
2009-06-26 10:21:06,544 INFO
com.opensymphony.xwork2.config.impl.DefaultConfiguration:31 - Overriding
property struts.configuration.xml.reload - old value: false new value: true
2009-06-26 10:21:06,549 INFO
org.apache.struts2.config.BeanSelectionProvider:31 - Loading global messages
from AdminResources
2009-06-26 10:21:06,918 ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/nxm]:3639 -
Exception starting filter struts2
java.lang.NullPointerException
    at
com.opensymphony.xwork2.util.FileManager$FileRevision.needsReloading(FileManager.java:209)
    at
com.opensymphony.xwork2.util.FileManager.fileNeedsReloading(FileManager.java:60)
    at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.needsReload(XmlConfigurationProvider.java:325)
    at
org.apache.struts2.config.StrutsXmlConfigurationProvider.needsReload(StrutsXmlConfigurationProvider.java:168)
    at
com.opensymphony.xwork2.config.ConfigurationManager.conditionalReload(ConfigurationManager.java:220)
    at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:61)
    at
org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:774)
    at
org.apache.struts2.dispatcher.ng.InitOperations.initStaticContentLoader(InitOperations.java:77)
    at
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:49)
    at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
    at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)
    at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78)
    at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635)
    at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4222)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
    at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Jun 26, 2009 10:21:11 AM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Jun 26, 2009 10:21:11 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/nxm] startup failed due to previous errors

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message