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

Autoware fails on proxied objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.1.6
    • None
    • Plugin - Spring
    • None
    • Important

    Description

      com.opensymphony.xwork2.spring.SpringObjectFactory#buildBean method calls autoWiringFactory.applyBeanPostProcessorsAfterInitialization() method.
      In some cases this method can return a JDK Proxy instead of action. Following call to autoWireBean method attempts to autowire proxy itself instead of the action.
      As a result the action remains "not-wired".
      May be autowiring should happen before applying post processors "AfterInitialization".

      Attachments

        Activity

          People

            Unassigned Unassigned
            vasiliy Vasiliy Gagin
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: