Jackan Test #426
Test didn't pass!
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at eu.trentorise.opendata.jackan.test.ckan.CkanTestReporter.runTest(CkanTestReporter.java:188)
at eu.trentorise.opendata.jackan.test.ckan.CkanTestReporter.runTests(CkanTestReporter.java:266)
at eu.trentorise.opendata.jackan.test.ckan.CkanTestReporter.main(CkanTestReporter.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
at java.lang.Thread.run(Thread.java:745)
Caused by: eu.trentorise.opendata.jackan.exceptions.CkanException: Couldn't interpret json returned by the server! Returned text was: {"help": "http://data.ottawa.ca/api/3/action/help_show?name=package_show", "success": true, "result": {"license_title": "City of Ottawa Open Data Terms of Use", "maintainer": "Policy Development & Urban Design Branch, Planning & Growth Management Department", "relationships_as_object": [], "private": false, "maintainer_email": "", "num_tags": 0, "frequency": {"fr": "Mis \u00e0 jour tous les cinq ans apr\u00e8s le Recensement (le prochain Recensement aura lieu en 2016; l'information mise \u00e0 jour sur les quartiers sera disponible en 2018).", "en": "Updated with each five-year national census (next census is undertaken in 2016; updated ward data are expected in 2018)."}, "license_id": "ottawa", "id": "12718f08-4005-4d42-a14e-41c85c5badc9", "metadata_created": "2015-05-20T17:48:21.031614", "metadata_modified": "2015-05-24T18:41:51.812219", "author": "Ian Cross", "author_email": "Ian.Cross@ottawa.ca", "state": "active", "version": null, "creator_user_id": "6dabeabd-5375-4a5e-98b9-e71193c9289b", "type": "dataset", "resources": [{"cache_last_updated": null, "package_id": "12718f08-4005-4d42-a14e-41c85c5badc9", "webstore_last_updated": null, "owner": "admin", "datastore_active": true, "id": "5477481b-94d5-43ea-a524-717459d3d41f", "size": "352002", "cache_url_updated": "2014-10-15T10:39:31", "state": "active", "hash": "md5:6a93b1ea1192f7c003ceb369ebb661f0", "description": "", "format": "CSV", "last_modified": "2014-10-15T10:39:31", "url_type": "upload", "mimetype": "", "cache_url": null, "name": "2006_Census_Data", "created": "2014-10-15T10:39:53.252141", "url": "http://data.ottawa.ca/dataset/12718f08-4005-4d42-a14e-41c85c5badc9/resource/5477481b-94d5-43ea-a524-717459d3d41f/download/2006censusdata-.csv", "webstore_url": null, "mimetype_inner": "", "position": 0, "revision_id": "89843af8-2d6d-4f82-a527-8af3c855e199", "resource_type": "file.upload"}, {"cache_last_updated": null, "package_id": "12718f08-4005-4d42-a14e-41c85c5badc9", "webstore_last_updated": null, "owner": "admin", "datastore_active": true, "id": "d84f04b1-ca22-44dd-973c-0d6a5a3963fb", "size": "126168", "cache_url_updated": "2014-10-15T10:34:14", "state": "active", "hash": "md5:8bb40a654ff656f2c26a7e350cfbcc2e", "description": "", "format": "CSV", "last_modified": "2014-10-15T10:34:14", "url_type": "upload", "mimetype": "", "cache_url": null, "name": "2011_Census_Data", "created": "2014-10-15T10:34:56.074734", "url": "http://data.ottawa.ca/dataset/12718f08-4005-4d42-a14e-41c85c5badc9/resource/d84f04b1-ca22-44dd-973c-0d6a5a3963fb/download/2011censusdata.csv", "webstore_url": null, "mimetype_inner": "", "position": 1, "revision_id": "d4926c58-f4ba-47ce-b1c2-0c3c69bbc27d", "resource_type": "file.upload"}, {"cache_last_updated": null, "package_id": "12718f08-4005-4d42-a14e-41c85c5badc9", "webstore_last_updated": null, "owner": "admin", "datastore_active": true, "id": "bdf88935-5001-4f8a-9024-7a4f1984032f", "size": "298802", "cache_url_updated": "2014-10-15T10:34:32", "state": "active", "hash": "md5:e12adf6fbcd565bacfd94419948f4d3e", "description": "", "format": "CSV", "last_modified": "2014-10-15T10:34:32", "url_type": "upload", "mimetype": "", "cache_url": null, "name": "2011_NHS_Ward_Data", "created": "2014-10-15T10:34:56.074743", "url": "http://data.ottawa.ca/dataset/12718f08-4005-4d42-a14e-41c85c5badc9/resource/bdf88935-5001-4f8a-9024-7a4f1984032f/download/2011nhswarddata.csv", "webstore_url": null, "mimetype_inner": "", "position": 2, "revision_id": "d4926c58-f4ba-47ce-b1c2-0c3c69bbc27d", "resource_type": "file.upload"}], "accuracy": {"fr": "<p>L'Enqu\u00eate nationale aupr\u00e8s des m\u00e9nages de 2011 peut \u00eatre biais\u00e9e en raison des taux de non-r\u00e9ponse, surtout pour les donn\u00e9es recueillies dans les petites zones g\u00e9ographiques. Le taux de non-r\u00e9ponse moyen pour la Ville d'Ottawa \u00e9tait de 18,9 %. De l'information suppl\u00e9mentaire au sujet de l'Enqu\u00eate nationale aupr\u00e8s des m\u00e9nages est disponible sur le site Web de Statistique Canada.<br />\nhttp://www12.statcan.gc.ca/nhs-enm/2011/dp-pd/prof/help-aide/aboutdata-aproposdonnees.cfm?Lang=F</p>", "en": "<p>The 2011 National Household Survey (NHS) may contain bias due to non-response rates, especially for data pertaining to small geographic areas. The average non-response rate for the city of Ottawa was 18.9%. Further information on the NHS can be found on the Statistics Canada web site.<br />\nhttp://www12.statcan.gc.ca/nhs-enm/2011/dp-pd/prof/help-aide/aboutdata-aproposdonnees.cfm?Lang=E</p>"}, "num_resources": 3, "description": {"fr": "<p>Contient des donn\u00e9es du Recensement des quartiers de 2006, des donn\u00e9es du Recensement des quartiers de 2011, ainsi que des donn\u00e9es de l'Enqu\u00eate nationale aupr\u00e8s des m\u00e9nages de 2011. </p>\n<p>Sources : Statistique Canada, donn\u00e9es de profil du Recensement et de l'Enqu\u00eate nationale aupr\u00e8s des m\u00e9nages \u00e0 l'utilisation des usagers des zones de quartiers, sondage du Recensement et de l'Enqu\u00eate nationale aupr\u00e8s des m\u00e9nages de 2011, donn\u00e9es re\u00e7ues en novembre 2013. Reproduites et distribu\u00e9es telles quelles, avec la permission de Statistique Canada.</p>", "en": "<p>Contains 2006 Ward Census data, 2011 Ward Census data, and 2011 Ward National Household Survey (NHS) data. </p>\n<p>Source: Statistics Canada, Census and NHS profile data for user-specified ward areas, , 2011 Census and National Household Survey, data received November 2013. Reproduced and distributed on an as is basis with the permission of Statistics Canada.</p>"}, "tags": [], "date_published": {}, "groups": [{"display_name": "Demographics", "description": "", "image_display_url": "http://data.ottawa.ca/uploads/group/2015-05-20-183208.282456demographics.png", "title": "Demographics", "id": "45cc8eb9-5c5c-4d48-aa5c-90ecbeb1f16c", "name": "demographics"}], "attributes": {"fr": "<p>Fournit des donn\u00e9es d\u00e9mographiques vari\u00e9es, divis\u00e9es en quartiers (23 en tout) de la Ville d'Ottawa.</p>", "en": "<p>Provides various demographic data broken down by the 23 wards of the City of Ottawa.</p>"}, "relationships_as_subject": [], "organization": {"description": "", "created": "2015-05-20T17:48:16.100322", "title": "Planning & Growth Management - Urbanisme et Gestion de la croissance", "name": "planning-growth", "is_organization": true, "state": "active", "image_url": "", "revision_id": "06d88679-b489-438f-afc2-162955b45e32", "type": "organization", "id": "1689b6e7-3f7f-4dcb-872b-e566b641c116", "approval_status": "approved"}, "name": "2006-and-2011-ward-data-from-the-census-and-2011-national-household-survey-nhs", "isopen": false, "notes": null, "owner_org": "1689b6e7-3f7f-4dcb-872b-e566b641c116", "license_url": "http://ottawa.ca/en/open-data-terms-use", "title": {"fr": "Donn\u00e9es du Recensement des quartiers de 2006 et de 2011, ainsi que l'Enqu\u00eate nationale aupr\u00e8s des m\u00e9nages de 2011.", "en": "2006 and 2011 Ward data from the Census and 2011 National Household Survey (NHS)"}, "revision_id": "c551e3f7-4e7b-4f5d-91aa-f9a5eff7b15a"}} CkanClient{catalogURL=http://data.ottawa.ca, ckanToken=null}
at eu.trentorise.opendata.jackan.CkanClient.getHttp(CkanClient.java:530)
at eu.trentorise.opendata.jackan.CkanClient.getDataset(CkanClient.java:823)
at eu.trentorise.opendata.jackan.test.ckan.ReadCkanIT.testDatasetAndResource(ReadCkanIT.java:227)
... 12 more
Caused by: com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token
at [Source: {"help": "http://data.ottawa.ca/api/3/action/help_show?name=package_show", "success": true, "result": {"license_title": "City of Ottawa Open Data Terms of Use", "maintainer": "Policy Development & Urban Design Branch, Planning & Growth Management Department", "relationships_as_object": [], "private": false, "maintainer_email": "", "num_tags": 0, "frequency": {"fr": "Mis \u00e0 jour tous les cinq ans apr\u00e8s le Recensement (le prochain Recensement aura lieu en 2016; l'information mise \u00e0 jour sur les quartiers sera disponible en 2018).", "en": "Updated with each five-year national census (next census is undertaken in 2016; updated ward data are expected in 2018)."}, "license_id": "ottawa", "id": "12718f08-4005-4d42-a14e-41c85c5badc9", "metadata_created": "2015-05-20T17:48:21.031614", "metadata_modified": "2015-05-24T18:41:51.812219", "author": "Ian Cross", "author_email": "Ian.Cross@ottawa.ca", "state": "active", "version": null, "creator_user_id": "6dabeabd-5375-4a5e-98b9-e71193c9289b", "type": "dataset", "resources": [{"cache_last_updated": null, "package_id": "12718f08-4005-4d42-a14e-41c85c5badc9", "webstore_last_updated": null, "owner": "admin", "datastore_active": true, "id": "5477481b-94d5-43ea-a524-717459d3d41f", "size": "352002", "cache_url_updated": "2014-10-15T10:39:31", "state": "active", "hash": "md5:6a93b1ea1192f7c003ceb369ebb661f0", "description": "", "format": "CSV", "last_modified": "2014-10-15T10:39:31", "url_type": "upload", "mimetype": "", "cache_url": null, "name": "2006_Census_Data", "created": "2014-10-15T10:39:53.252141", "url": "http://data.ottawa.ca/dataset/12718f08-4005-4d42-a14e-41c85c5badc9/resource/5477481b-94d5-43ea-a524-717459d3d41f/download/2006censusdata-.csv", "webstore_url": null, "mimetype_inner": "", "position": 0, "revision_id": "89843af8-2d6d-4f82-a527-8af3c855e199", "resource_type": "file.upload"}, {"cache_last_updated": null, "package_id": "12718f08-4005-4d42-a14e-41c85c5badc9", "webstore_last_updated": null, "owner": "admin", "datastore_active": true, "id": "d84f04b1-ca22-44dd-973c-0d6a5a3963fb", "size": "126168", "cache_url_updated": "2014-10-15T10:34:14", "state": "active", "hash": "md5:8bb40a654ff656f2c26a7e350cfbcc2e", "description": "", "format": "CSV", "last_modified": "2014-10-15T10:34:14", "url_type": "upload", "mimetype": "", "cache_url": null, "name": "2011_Census_Data", "created": "2014-10-15T10:34:56.074734", "url": "http://data.ottawa.ca/dataset/12718f08-4005-4d42-a14e-41c85c5badc9/resource/d84f04b1-ca22-44dd-973c-0d6a5a3963fb/download/2011censusdata.csv", "webstore_url": null, "mimetype_inner": "", "position": 1, "revision_id": "d4926c58-f4ba-47ce-b1c2-0c3c69bbc27d", "resource_type": "file.upload"}, {"cache_last_updated": null, "package_id": "12718f08-4005-4d42-a14e-41c85c5badc9", "webstore_last_updated": null, "owner": "admin", "datastore_active": true, "id": "bdf88935-5001-4f8a-9024-7a4f1984032f", "size": "298802", "cache_url_updated": "2014-10-15T10:34:32", "state": "active", "hash": "md5:e12adf6fbcd565bacfd94419948f4d3e", "description": "", "format": "CSV", "last_modified": "2014-10-15T10:34:32", "url_type": "upload", "mimetype": "", "cache_url": null, "name": "2011_NHS_Ward_Data", "created": "2014-10-15T10:34:56.074743", "url": "http://data.ottawa.ca/dataset/12718f08-4005-4d42-a14e-41c85c5badc9/resource/bdf88935-5001-4f8a-9024-7a4f1984032f/download/2011nhswarddata.csv", "webstore_url": null, "mimetype_inner": "", "position": 2, "revision_id": "d4926c58-f4ba-47ce-b1c2-0c3c69bbc27d", "resource_type": "file.upload"}], "accuracy": {"fr": "<p>L'Enqu\u00eate nationale aupr\u00e8s des m\u00e9nages de 2011 peut \u00eatre biais\u00e9e en raison des taux de non-r\u00e9ponse, surtout pour les donn\u00e9es recueillies dans les petites zones g\u00e9ographiques. Le taux de non-r\u00e9ponse moyen pour la Ville d'Ottawa \u00e9tait de 18,9 %. De l'information suppl\u00e9mentaire au sujet de l'Enqu\u00eate nationale aupr\u00e8s des m\u00e9nages est disponible sur le site Web de Statistique Canada.<br />\nhttp://www12.statcan.gc.ca/nhs-enm/2011/dp-pd/prof/help-aide/aboutdata-aproposdonnees.cfm?Lang=F</p>", "en": "<p>The 2011 National Household Survey (NHS) may contain bias due to non-response rates, especially for data pertaining to small geographic areas. The average non-response rate for the city of Ottawa was 18.9%. Further information on the NHS can be found on the Statistics Canada web site.<br />\nhttp://www12.statcan.gc.ca/nhs-enm/2011/dp-pd/prof/help-aide/aboutdata-aproposdonnees.cfm?Lang=E</p>"}, "num_resources": 3, "description": {"fr": "<p>Contient des donn\u00e9es du Recensement des quartiers de 2006, des donn\u00e9es du Recensement des quartiers de 2011, ainsi que des donn\u00e9es de l'Enqu\u00eate nationale aupr\u00e8s des m\u00e9nages de 2011. </p>\n<p>Sources : Statistique Canada, donn\u00e9es de profil du Recensement et de l'Enqu\u00eate nationale aupr\u00e8s des m\u00e9nages \u00e0 l'utilisation des usagers des zones de quartiers, sondage du Recensement et de l'Enqu\u00eate nationale aupr\u00e8s des m\u00e9nages de 2011, donn\u00e9es re\u00e7ues en novembre 2013. Reproduites et distribu\u00e9es telles quelles, avec la permission de Statistique Canada.</p>", "en": "<p>Contains 2006 Ward Census data, 2011 Ward Census data, and 2011 Ward National Household Survey (NHS) data. </p>\n<p>Source: Statistics Canada, Census and NHS profile data for user-specified ward areas, , 2011 Census and National Household Survey, data received November 2013. Reproduced and distributed on an as is basis with the permission of Statistics Canada.</p>"}, "tags": [], "date_published": {}, "groups": [{"display_name": "Demographics", "description": "", "image_display_url": "http://data.ottawa.ca/uploads/group/2015-05-20-183208.282456demographics.png", "title": "Demographics", "id": "45cc8eb9-5c5c-4d48-aa5c-90ecbeb1f16c", "name": "demographics"}], "attributes": {"fr": "<p>Fournit des donn\u00e9es d\u00e9mographiques vari\u00e9es, divis\u00e9es en quartiers (23 en tout) de la Ville d'Ottawa.</p>", "en": "<p>Provides various demographic data broken down by the 23 wards of the City of Ottawa.</p>"}, "relationships_as_subject": [], "organization": {"description": "", "created": "2015-05-20T17:48:16.100322", "title": "Planning & Growth Management - Urbanisme et Gestion de la croissance", "name": "planning-growth", "is_organization": true, "state": "active", "image_url": "", "revision_id": "06d88679-b489-438f-afc2-162955b45e32", "type": "organization", "id": "1689b6e7-3f7f-4dcb-872b-e566b641c116", "approval_status": "approved"}, "name": "2006-and-2011-ward-data-from-the-census-and-2011-national-household-survey-nhs", "isopen": false, "notes": null, "owner_org": "1689b6e7-3f7f-4dcb-872b-e566b641c116", "license_url": "http://ottawa.ca/en/open-data-terms-use", "title": {"fr": "Donn\u00e9es du Recensement des quartiers de 2006 et de 2011, ainsi que l'Enqu\u00eate nationale aupr\u00e8s des m\u00e9nages de 2011.", "en": "2006 and 2011 Ward data from the Census and 2011 National Household Survey (NHS)"}, "revision_id": "c551e3f7-4e7b-4f5d-91aa-f9a5eff7b15a"}}; line: 1, column: 6821] (through reference chain: eu.trentorise.opendata.jackan.DatasetResponse["result"]->eu.trentorise.opendata.jackan.model.CkanDataset["title"])
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:854)
at com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:62)
at com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:11)
at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:520)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:95)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:256)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:125)
at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:520)
at com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:101)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:256)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:125)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3702)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2714)
at eu.trentorise.opendata.jackan.CkanClient.getHttp(CkanClient.java:528)
... 14 more