struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From struts....@spamgourmet.com
Subject Regression from WW-3810? NPE in UrlSet.includeClassesUrl(UrlSet.java:199)
Date Fri, 08 Jun 2012 20:00:01 GMT
Like I said a couple of days ago, this doesn't actually seem to hurt anything, but I thought
that Ɓukasz might want to have a look at this exception.
Has anyone else seen this with 2.3.4 or newer snapshots?

-rgm


On Jun 6, 2012, at 2:23 PM, struts.rgm@spamgourmet.com wrote:

> Running Struts 2.3.4 build #481 on JBoss 5 I'm getting the following NullPointerException
on startup.  It seems benign, and happens with devMode either true or false.
> 
> 2012-06-06 12:50:18,539 INFO  [com.opensymphony.xwork2.config.impl.DefaultConfiguration]
(HDScanner) Overriding property struts.i18n.reload - old value: false new value: true
> 2012-06-06 12:50:18,539 INFO  [com.opensymphony.xwork2.config.impl.DefaultConfiguration]
(HDScanner) Overriding property struts.configuration.xml.reload - old value: false new value:
true
> 2012-06-06 12:50:18,539 INFO  [com.opensymphony.xwork2.config.impl.DefaultConfiguration]
(HDScanner) Overriding property struts.freemarker.templatesCache.updateDelay - old value:
1800 new value: 0
> 2012-06-06 12:50:18,539 INFO  [org.apache.struts2.config.BeanSelectionProvider] (HDScanner)
Loading global messages from global
> 2012-06-06 12:50:18,637 ERROR [org.apache.struts2.convention.PackageBasedActionConfigBuilder]
(HDScanner) Unable to scan named packages
> java.lang.NullPointerException
> 	at com.opensymphony.xwork2.util.finder.UrlSet.includeClassesUrl(UrlSet.java:199)
> 	at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildUrlSet(PackageBasedActionConfigBuilder.java:428)
> 	at org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:387)
> 	at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:345)
> 	at org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)
> 	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:244)
> 	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
> 	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)
> 	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)
> 	at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
> 	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.init(StrutsPrepareFilter.java:50)
> 	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:234)
> 	at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:332)
> 	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:90)
> 	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3783)
> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4413)
> 	at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
> 	at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
> 	at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
> 	at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
> 	at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message