[ECODP-dev] CKANClient-J Library and TestCases

Darwin Peltan darwin.peltan at okfn.org
Wed Aug 7 13:12:40 UTC 2013


Hi Dimtrios,

I don't believe those messages are related to any CKAN components so I
can't advise.

Best,

Darwin

*Darwin Peltan*

*Project Manager  |  skype: darwinp  |  twitter:
@darwin<http://twitter.com/darwin>
*

*The Open Knowledge Foundation <http://okfn.org/>*

*Empowering through Open Knowledge*

*http://okfn.org/  |  @okfn <http://twitter.com/OKFN>  |  OKF on
Facebook<https://www.facebook.com/OKFNetwork> |
Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/about/newsletter>
*
*
CKAN | http://ckan.org | @ckanproject <http://twitter.com/ckanproject>
|open source data management platform
*


On 6 August 2013 09:38, Dimitrios Mexis <dimitrios.mexis at tenforce.com>wrote:

>  Hello,
>
> Is these tests and the relevant library updated for recent CKAN version
> as installed for EU ODP ?
>
> I get for example failures like this:
>
>  <testcase classname="org.ckan.tests.CreateTestCases"
> name="test_CreateDatasetWithPlusInName" time="0.499">
>     <error message="java.lang.IllegalStateException: Expected
>     but was STRING at line 1 column 10"
> type="com.google.gson.JsonSyntaxException">com.google.gson.JsonSyntaxException:
> java.lang.IllegalStateException:
>     Expected BEGIN_OBJECT but was STRING at line 1 column 10
>     at
> com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176)
>     at com.google.gson.Gson.fromJson(Gson.java:791)
>     at com.google.gson.Gson.fromJson(Gson.java:757)
>     at com.google.gson.Gson.fromJson(Gson.java:706)
>     at com.google.gson.Gson.fromJson(Gson.java:678)
>     at org.ckan.Client.LoadClass(Unknown Source)
>     at org.ckan.Client.createDataset(Unknown Source)
>     at
> org.ckan.tests.CreateTestCases.test_CreateDatasetWithPlusInName(Unknown
> Source)
> Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was
> STRING at line 1 column 10
>     at com.google.gson.stream.JsonReader.expect(JsonReader.java:339)
>     at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:322)
>     at
> com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:165)
> </error>
>   </testcase>
>
>   <system-err><![CDATA[]]></system-err>
>
>
> Regards
> Dimitrios
>
> _______________________________________________
> Ecodp-dev mailing list
> Ecodp-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130807/c698f8ab/attachment.html>


More information about the ecodp-dev mailing list