Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4048

WW-3994 breaks instantiation of CompositeActionMapper

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.14
    • 2.3.15
    • None
    • None

    Description

      The fix for WW-3994 breaks the instantiation of the CompositeActionMapper in
      com.opensymphony.xwork2.inject.ContainerImpl.ConstructorInjector.findConstructorIn(Class<T> implementation)

      The exception (which seems to be swallowed somewhere along the request processing) is the following:

      Caused by: java.lang.RuntimeException: com.opensymphony.xwork2.inject.DependencyException: Could not find a suitable constructor in org.apache.struts2.dispatcher.mapper.CompositeActionMapper.
      	at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:502)
      	at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:539)
      	at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:593)
      	at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:537)
      	at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
      	at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:130)
      	... 32 more
      

      Thank you for having a look at this.

      Attachments

        Activity

          People

            lukaszlenart Lukasz Lenart
            clenggenhager Christoph Lenggenhager
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: