Jackan Test #1517
Test didn't pass!
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor167.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": "Return the details of a organization.\n\n :param id: the id or name of the organization\n :type id: string\n :param include_datasets: include a list of the organization's datasets\n (optional, default: ``True``)\n :type id: boolean\n\n :rtype: dictionary\n\n .. note:: Only its first 1000 datasets are returned\n ", "success": true, "result": {"users": [{"openid": null, "about": null, "capacity": "admin", "name": "apollo", "created": "2012-11-30T06:37:19.317761", "email_hash": "d41d8cd98f00b204e9800998ecf8427e", "sysadmin": true, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 83405, "number_administered_packages": 84, "display_name": "apollo", "fullname": null, "id": "8a7d9fbf-6340-4142-808a-69a744d81daa"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-001", "created": "2013-11-15T02:48:15.449180", "email_hash": "ee48f24bbc794a95c345d8f411dae276", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 8, "number_administered_packages": 0, "display_name": "dete-001", "fullname": "", "id": "a8bf8f46-b0b4-46bb-b8fd-5f55c2ee8bcb"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-002", "created": "2015-04-14T07:08:42.279046", "email_hash": "3060878692678f4c1a1129dff3e27625", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 82, "number_administered_packages": 1, "display_name": "dete-002", "fullname": null, "id": "b73ec780-4d65-4468-b165-ed592ecdd55a"}, {"openid": null, "about": "", "capacity": "admin", "name": "dete-003", "created": "2013-08-21T03:34:33.085412", "email_hash": "e9f9fe87ef506565c62243662546706a", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 39, "number_administered_packages": 1, "display_name": "dete-003", "fullname": "", "id": "585b7d4c-00f1-4de2-b7ef-59f262f1b22e"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-004", "created": "2013-09-15T23:18:45.019271", "email_hash": "32c57f0de4552f323fcfead6a72eb779", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 73, "number_administered_packages": 11, "display_name": "dete-004", "fullname": "", "id": "c6f66134-5ce3-4e1a-99e9-327feb48fa21"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-005", "created": "2013-11-15T02:45:03.594918", "email_hash": "38c1d055d81661c05833f2de21cb837e", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 727, "number_administered_packages": 77, "display_name": "dete-005", "fullname": "", "id": "127b82a5-2c4e-410a-85cc-b85f55dfc0cb"}, {"openid": null, "about": "", "capacity": "admin", "name": "dete-006", "created": "2014-01-13T00:55:24.041808", "email_hash": "d60dc18254291e9eca8c31ff2bd5e8ab", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 3, "number_administered_packages": 1, "display_name": "dete-006", "fullname": "", "id": "f1a948fe-44b2-4848-b423-bb9b6dfb8359"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-007", "created": "2014-01-13T00:55:57.776075", "email_hash": "7117510d1df70965ba16cbf0b48b630c", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 0, "number_administered_packages": 0, "display_name": "dete-007", "fullname": "", "id": "be98d6bb-0b35-4331-8bdb-03ea5d4b24b8"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-008", "created": "2015-04-30T05:53:55.034723", "email_hash": "efa80a8edac662f8a06db3391da00eb2", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 0, "number_administered_packages": 0, "display_name": "dete-008", "fullname": null, "id": "9b9fd4a0-3e4b-4090-ab7d-c9cb08492bc4"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-009", "created": "2015-05-28T02:23:15.769027", "email_hash": "1107de5e6de699fe319ba946c7de9436", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 8, "number_administered_packages": 0, "display_name": "dete-009", "fullname": null, "id": "7c81dae7-f0c3-451c-8ab7-9bdd362386cc"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-010", "created": "2015-08-18T07:13:12.537252", "email_hash": "0786038238e7e8a813b23fb597d927ba", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 3, "number_administered_packages": 0, "display_name": "dete-010", "fullname": null, "id": "61053c21-4e5f-48f8-b085-aefae47b05f1"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-011", "created": "2015-09-01T04:53:22.221680", "email_hash": "2db71ab452138102911e23599c8b19a6", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 0, "number_administered_packages": 0, "display_name": "dete-011", "fullname": null, "id": "2571ea25-9f05-4e6f-822a-f6d7cf9245d8"}, {"openid": null, "about": null, "capacity": "admin", "name": "dsitia-004", "created": "2012-12-03T16:25:54.635950", "email_hash": "977620de5d163d567971e75abb3a53ee", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 155, "number_administered_packages": 52, "display_name": "dsitia-004", "fullname": "", "id": "f0751447-9380-4b98-b629-b47a353dd08e"}, {"openid": null, "about": null, "capacity": "admin", "name": "dsitia-013", "created": "2014-06-25T05:23:47.026041", "email_hash": "5c4108b53a94f937ba04cbdb95a80fa1", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 148, "number_administered_packages": 1, "display_name": "dsitia-013", "fullname": null, "id": "faf78e70-cb44-47a8-821f-4561ac6947a9"}, {"openid": null, "about": null, "capacity": "admin", "name": "qgip-publisher", "created": "2015-03-04T23:23:02.160023", "email_hash": "574e1763214abe87df117959a614af78", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 28, "number_administered_packages": 0, "display_name": "qgip-publisher", "fullname": null, "id": "acce804c-8d7a-4039-b6bc-bc724ddbf11d"}, {"openid": null, "about": "", "capacity": "admin", "name": "spatialcatalogueupload", "created": "2013-03-25T00:38:39.038118", "email_hash": "f2d4c38f6de7b07c2d25f7bd8a718613", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 5516, "number_administered_packages": 299, "display_name": "spatialcatalogueupload", "fullname": "", "id": "8985f78f-8765-4c1e-a91f-76869ac0e25f"}, {"openid": null, "about": null, "capacity": "admin", "name": "victoria-mcdonald-5161", "created": "2015-09-01T05:13:25.284514", "email_hash": "4d1b86baa76827aaafa594d3c3e0592b", "sysadmin": false, "activity_streams_email_notifications": false, "state": "pending", "number_of_edits": 0, "number_administered_packages": 0, "display_name": "victoria-mcdonald-5161", "fullname": null, "id": "05a87da2-be73-4fc1-9340-2e8e9850c0e0"}, {"openid": null, "about": "", "capacity": "admin", "name": "zz_removed-020", "created": "2013-05-27T23:37:58.045611", "email_hash": "574e1763214abe87df117959a614af78", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 0, "number_administered_packages": 19, "display_name": "zz_removed-020", "fullname": "", "id": "089dc895-deb9-45cf-8717-8bce834a8f58"}], "display_name": "Education and Training", "description": "", "image_display_url": "", "title": "Education and Training", "package_count": 121, "created": "2013-08-14T23:20:02.093780", "approval_status": "approved", "is_organization": true, "state": "active", "extras": [], "image_url": "", "groups": [], "revision_id": "fdc94d44-184e-4454-9166-213f16a768da", "num_followers": 0, "type": "organization", "id": "6203164d-caca-4ee8-a248-77e1a2809302", "tags": [], "name": "education-and-training"}} CkanClient{catalogURL=http://data.qld.gov.au, ckanToken=null}
at eu.trentorise.opendata.jackan.CkanClient.getHttp(CkanClient.java:530)
at eu.trentorise.opendata.jackan.CkanClient.getOrganization(CkanClient.java:1111)
at eu.trentorise.opendata.jackan.test.ckan.ReadCkanIT.testOrganization(ReadCkanIT.java:350)
... 12 more
Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of eu.trentorise.opendata.jackan.model.CkanState from String value 'pending': value not one of declared Enum instance names: [deleted, active]
at [Source: {"help": "Return the details of a organization.\n\n :param id: the id or name of the organization\n :type id: string\n :param include_datasets: include a list of the organization's datasets\n (optional, default: ``True``)\n :type id: boolean\n\n :rtype: dictionary\n\n .. note:: Only its first 1000 datasets are returned\n ", "success": true, "result": {"users": [{"openid": null, "about": null, "capacity": "admin", "name": "apollo", "created": "2012-11-30T06:37:19.317761", "email_hash": "d41d8cd98f00b204e9800998ecf8427e", "sysadmin": true, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 83405, "number_administered_packages": 84, "display_name": "apollo", "fullname": null, "id": "8a7d9fbf-6340-4142-808a-69a744d81daa"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-001", "created": "2013-11-15T02:48:15.449180", "email_hash": "ee48f24bbc794a95c345d8f411dae276", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 8, "number_administered_packages": 0, "display_name": "dete-001", "fullname": "", "id": "a8bf8f46-b0b4-46bb-b8fd-5f55c2ee8bcb"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-002", "created": "2015-04-14T07:08:42.279046", "email_hash": "3060878692678f4c1a1129dff3e27625", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 82, "number_administered_packages": 1, "display_name": "dete-002", "fullname": null, "id": "b73ec780-4d65-4468-b165-ed592ecdd55a"}, {"openid": null, "about": "", "capacity": "admin", "name": "dete-003", "created": "2013-08-21T03:34:33.085412", "email_hash": "e9f9fe87ef506565c62243662546706a", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 39, "number_administered_packages": 1, "display_name": "dete-003", "fullname": "", "id": "585b7d4c-00f1-4de2-b7ef-59f262f1b22e"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-004", "created": "2013-09-15T23:18:45.019271", "email_hash": "32c57f0de4552f323fcfead6a72eb779", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 73, "number_administered_packages": 11, "display_name": "dete-004", "fullname": "", "id": "c6f66134-5ce3-4e1a-99e9-327feb48fa21"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-005", "created": "2013-11-15T02:45:03.594918", "email_hash": "38c1d055d81661c05833f2de21cb837e", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 727, "number_administered_packages": 77, "display_name": "dete-005", "fullname": "", "id": "127b82a5-2c4e-410a-85cc-b85f55dfc0cb"}, {"openid": null, "about": "", "capacity": "admin", "name": "dete-006", "created": "2014-01-13T00:55:24.041808", "email_hash": "d60dc18254291e9eca8c31ff2bd5e8ab", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 3, "number_administered_packages": 1, "display_name": "dete-006", "fullname": "", "id": "f1a948fe-44b2-4848-b423-bb9b6dfb8359"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-007", "created": "2014-01-13T00:55:57.776075", "email_hash": "7117510d1df70965ba16cbf0b48b630c", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 0, "number_administered_packages": 0, "display_name": "dete-007", "fullname": "", "id": "be98d6bb-0b35-4331-8bdb-03ea5d4b24b8"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-008", "created": "2015-04-30T05:53:55.034723", "email_hash": "efa80a8edac662f8a06db3391da00eb2", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 0, "number_administered_packages": 0, "display_name": "dete-008", "fullname": null, "id": "9b9fd4a0-3e4b-4090-ab7d-c9cb08492bc4"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-009", "created": "2015-05-28T02:23:15.769027", "email_hash": "1107de5e6de699fe319ba946c7de9436", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 8, "number_administered_packages": 0, "display_name": "dete-009", "fullname": null, "id": "7c81dae7-f0c3-451c-8ab7-9bdd362386cc"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-010", "created": "2015-08-18T07:13:12.537252", "email_hash": "0786038238e7e8a813b23fb597d927ba", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 3, "number_administered_packages": 0, "display_name": "dete-010", "fullname": null, "id": "61053c21-4e5f-48f8-b085-aefae47b05f1"}, {"openid": null, "about": null, "capacity": "admin", "name": "dete-011", "created": "2015-09-01T04:53:22.221680", "email_hash": "2db71ab452138102911e23599c8b19a6", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 0, "number_administered_packages": 0, "display_name": "dete-011", "fullname": null, "id": "2571ea25-9f05-4e6f-822a-f6d7cf9245d8"}, {"openid": null, "about": null, "capacity": "admin", "name": "dsitia-004", "created": "2012-12-03T16:25:54.635950", "email_hash": "977620de5d163d567971e75abb3a53ee", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 155, "number_administered_packages": 52, "display_name": "dsitia-004", "fullname": "", "id": "f0751447-9380-4b98-b629-b47a353dd08e"}, {"openid": null, "about": null, "capacity": "admin", "name": "dsitia-013", "created": "2014-06-25T05:23:47.026041", "email_hash": "5c4108b53a94f937ba04cbdb95a80fa1", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 148, "number_administered_packages": 1, "display_name": "dsitia-013", "fullname": null, "id": "faf78e70-cb44-47a8-821f-4561ac6947a9"}, {"openid": null, "about": null, "capacity": "admin", "name": "qgip-publisher", "created": "2015-03-04T23:23:02.160023", "email_hash": "574e1763214abe87df117959a614af78", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 28, "number_administered_packages": 0, "display_name": "qgip-publisher", "fullname": null, "id": "acce804c-8d7a-4039-b6bc-bc724ddbf11d"}, {"openid": null, "about": "", "capacity": "admin", "name": "spatialcatalogueupload", "created": "2013-03-25T00:38:39.038118", "email_hash": "f2d4c38f6de7b07c2d25f7bd8a718613", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 5516, "number_administered_packages": 299, "display_name": "spatialcatalogueupload", "fullname": "", "id": "8985f78f-8765-4c1e-a91f-76869ac0e25f"}, {"openid": null, "about": null, "capacity": "admin", "name": "victoria-mcdonald-5161", "created": "2015-09-01T05:13:25.284514", "email_hash": "4d1b86baa76827aaafa594d3c3e0592b", "sysadmin": false, "activity_streams_email_notifications": false, "state": "pending", "number_of_edits": 0, "number_administered_packages": 0, "display_name": "victoria-mcdonald-5161", "fullname": null, "id": "05a87da2-be73-4fc1-9340-2e8e9850c0e0"}, {"openid": null, "about": "", "capacity": "admin", "name": "zz_removed-020", "created": "2013-05-27T23:37:58.045611", "email_hash": "574e1763214abe87df117959a614af78", "sysadmin": false, "activity_streams_email_notifications": false, "state": "active", "number_of_edits": 0, "number_administered_packages": 19, "display_name": "zz_removed-020", "fullname": "", "id": "089dc895-deb9-45cf-8717-8bce834a8f58"}], "display_name": "Education and Training", "description": "", "image_display_url": "", "title": "Education and Training", "package_count": 121, "created": "2013-08-14T23:20:02.093780", "approval_status": "approved", "is_organization": true, "state": "active", "extras": [], "image_url": "", "groups": [], "revision_id": "fdc94d44-184e-4454-9166-213f16a768da", "num_followers": 0, "type": "organization", "id": "6203164d-caca-4ee8-a248-77e1a2809302", "tags": [], "name": "education-and-training"}}; line: 1, column: 7064] (through reference chain: eu.trentorise.opendata.jackan.OrganizationResponse["result"]->eu.trentorise.opendata.jackan.model.CkanOrganization["users"]->java.util.ArrayList[16]->eu.trentorise.opendata.jackan.model.CkanUser["state"])
at com.fasterxml.jackson.databind.exc.InvalidFormatException.from(InvalidFormatException.java:55)
at com.fasterxml.jackson.databind.DeserializationContext.weirdStringException(DeserializationContext.java:904)
at com.fasterxml.jackson.databind.deser.std.EnumDeserializer._deserializeAltString(EnumDeserializer.java:130)
at com.fasterxml.jackson.databind.deser.std.EnumDeserializer.deserialize(EnumDeserializer.java:84)
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.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:217)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:25)
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