Hi all,

While listing the available cartridges using CLI command "list-cartridges"
I got the following exception.

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException:
Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 112

The response string was as follows.

[{"category":"data","description":"php
Cartridge","displayName":"php","host":"php.stratos.org
","metadataKeys":{"@xsi.nil":"true"},"multiTenant":false,"provider":"apache","public":false,"type":"php","version":7}]

The expected output for metadataKeys is an array.

What could be the reason for this?


-- 
*Dinithi De Silva*
Associate Software Engineer, WSO2 Inc.
m:+94716667655 | e:dinit...@wso2.com | w: www.wso2.com
| a: #20, Palm Grove, Colombo 03

Reply via email to