[ 
https://issues.apache.org/jira/browse/WW-3486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919949#action_12919949
 ] 

David Altenhof commented on WW-3486:
------------------------------------

I'm also getting this. Partial stack trace:

 SEVERE: Exception starting filter struts2
 java.lang.NoSuchMethodError: 
com.opensymphony.xwork2.util.finder.ClassFinder.<init>(Lcom/opensymphony/xwork2/util/finder/ClassLoaderInterface;Ljava/util/Collection;ZLjava/util/Set;Lcom/opensymphony/xwork2/util/finder/Test;)V
        at 
org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:377)
        at 
org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:335)
        at 
org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)
        at 
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:204)
        at 
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
        at 
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:371)
        at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:415)

[snip]

> NullPointerException on struts initialization 
> ----------------------------------------------
>
>                 Key: WW-3486
>                 URL: https://issues.apache.org/jira/browse/WW-3486
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Convention
>    Affects Versions: 2.1.8.1, 2.2.1
>         Environment: Tomcat 5.5.26 jdk 1.6.0_01-b06 struts 2.2.1
>            Reporter: Hugo Robayo
>            Priority: Blocker
>
> When migrate from 2.1.8.1 to 2.2.1 the same project fails in initialization, 
> in the convention plugin PackageBasedconfigBuilder method buildconfiguration 
> line 592 it seems the method getPackge() return null. I solve the  problem 
> replace convention-plugin 2.2.1 for 2.1.8.1.
> I dont make extensive test but works fine replacing the library.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to