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

NPE in Web Console configuration plugin when metatype service is missing

    XMLWordPrintableJSON

    Details

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

      Description

      The following exception occurs when metatype service is missing:

      java.lang.NullPointerException
              at org.apache.felix.webconsole.internal.configuration.ConfigAdminSupport.getConfigurationPropertyValueOrDefault(ConfigAdminSupport.java:703)
              at org.apache.felix.webconsole.internal.configuration.ConfigAdminSupport.getConfigurationFactoryNameHint(ConfigAdminSupport.java:641)
              at org.apache.felix.webconsole.internal.configuration.ConfigAdminSupport.listConfigurations(ConfigAdminSupport.java:608)
              at org.apache.felix.webconsole.internal.configuration.ConfigManager.renderContent(ConfigManager.java:395)
              at org.apache.felix.webconsole.AbstractWebConsolePlugin.doGet(AbstractWebConsolePlugin.java:194)
              at org.apache.felix.webconsole.internal.configuration.ConfigManager.doGet(ConfigManager.java:330)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
              at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:567)
              at org.apache.felix.webconsole.internal.servlet.OsgiManager$3.run(OsgiManager.java:465)
              at java.security.AccessController.doPrivileged(Native Method)
              at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:461)
      
      

      This is probably related to FELIX-4710

      As result all configurations are missing and the plugin becomes completely unusable.

        Attachments

          Activity

            People

            • Assignee:
              v_valchev Valentin Valchev
              Reporter:
              v_valchev Valentin Valchev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: