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

ConfigurationRender.searchMethod must catch problems more broadly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • webconsole-3.1.6
    • Web Console
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: