[ 
https://issues.apache.org/jira/browse/FELIX-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved FELIX-5369.
-------------------------------------
    Resolution: Fixed

Thanks for the patch, [~alexparvulescu]. It's applied with rev 1763610

> 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
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: webconsole-metatype-plugin-1.0.0
>
>         Attachments: FELIX-5369.patch
>
>
> 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)

Reply via email to