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

DefaultActionInvocation.invokeAction(Object,ActionConfig) catch too many exceptions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.3.20
    • Fix Version/s: 2.3.24
    • Component/s: Core Actions
    • Labels:
      None

      Description

      Previous version (2.3.16) caught only NoSuchMethodException, but now any exception is wrapped in OgnlException and handled directly.
      In our case unknownHandlerManager contains only ConventionUnknownHandler so unknownHandlerManager.handleUnknownMethod(action, methodName) always return null. As a result ExceptionMappingInterceptor is not working.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lukaszlenart Lukasz Lenart
                Reporter:
                soldierkam Marcin Kamionowski
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: