Hi,

We just were informed about bug in Apache Struts [1] but it looks like
a bug in Tomcat 8. The PackageBasedActionConfigBuilder class uses
class loader to fetch all the URLs where application's classes are
stored, but right now the resulting enumeration contains also null
element. The same code works with no problems on Tomcat 7.

If I add if(url != null) (see [2]) everything works as expected (but I
must apply this ugly fix in few other places as well).

[1] https://issues.apache.org/jira/browse/WW-4294
[2] 
https://github.com/apache/struts/blob/master/plugins/convention/src/main/java/org/apache/struts2/convention/PackageBasedActionConfigBuilder.java#L406


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to