Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2659

ConfigurationRender.searchMethod must catch problems more broadly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: webconsole-3.1.6
    • Component/s: Web Console
    • Labels:
      None

      Description

      The ConfigurationRender.searchMethod looks up a method by reflection and catches any NoSuchMethodException thrown. There are situations, though, where a ClassDefNotFoundError may be thrown – noticed in the PermissionAdmin Configuration Printer if the ConfigurationAdmin API is not available - which must also be caught to not break the generation of the configuration status ZIP file.

      Proposed solution is to just ignore any Throwable and assume "method not found and thus ignore"

        Attachments

          Activity

            People

            • Assignee:
              cziegeler Carsten Ziegeler
              Reporter:
              fmeschbe Felix Meschberger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: