ConfigurationRender.searchMethod must catch problems more broadly
-----------------------------------------------------------------
Key: FELIX-2659
URL: https://issues.apache.org/jira/browse/FELIX-2659
Project: Felix
Issue Type: Bug
Components: Web Console
Reporter: Felix Meschberger
Fix For: webconsole-3.1.4
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"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.