You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2016/10/06 15:22:20 UTC

[jira] [Created] (FELIX-5369) Metatype Service Inventory Printer json export fails on duplicate keys

Alex Parvulescu created FELIX-5369:
--------------------------------------

             Summary: Metatype Service Inventory Printer json export fails on duplicate keys
                 Key: FELIX-5369
                 URL: https://issues.apache.org/jira/browse/FELIX-5369
             Project: Felix
          Issue Type: Bug
          Components: Web Console
            Reporter: Alex Parvulescu
            Priority: Minor


The JSON export can fail if there are 2 factories available for a specific bundle.
{noformat}
Caused by: org.json.JSONException: Duplicate key "org.apache.sling.featureflags.impl.ConfiguredFeature$Config"
	at org.json.JSONObject.putOnce(JSONObject.java:1121)
	at org.json.JSONWriter.key(JSONWriter.java:207)
	at org.apache.felix.webconsole.plugins.metatype.internal.MetatypeInventoryPrinter$JsonPrinter.group(MetatypeInventoryPrinter.java:377)
	... 52 common frames omitted
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)