Yes looks like that, {"@xsi.nil":"true"} means that it is retuning a null.
On Mon, Mar 9, 2015 at 3:03 PM, Dinithi De Silva wrote:
> Hi Imesh,
>
> It didn't solve the problem. Now the exception comes is as follows.
>
> com.google.gson.JsonSyntaxException: java.lang.IllegalStateException:
> Expec
Hi Imesh,
It didn't solve the problem. Now the exception comes is as follows.
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException:
Expected a string but was BEGIN_OBJECT at line 1 column 125
The result string is as follows.
[{"category":"data","description":"tomcat1
Cartridge",
Adding a new property to the following arrayKeys definition would solve
this problem:
...
partitions
property
hostNames
memberMap
portMap
partitionGroup
partition
member
h
Hi Dinithi,
The output of the metadataKeys is a string array or an object array?
Please refer [1] and check if that is the issue
[1] -
http://stackoverflow.com/questions/21374603/com-google-gson-jsonsyntaxexception-java-lang-illegalstateexception-in-android
Thank you,
Vishanth.
On Mon, Mar 9, 2
May be "metadataKeys" property is not marked as an array in CXF
configuration in REST API web application. When there is only one element
available, CXF does not return an array unless this configuration is there.
On Mon, Mar 9, 2015 at 12:04 PM, Dinithi De Silva wrote:
> Hi all,
>
> While listi
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"