Jackan Test #1222
Test didn't pass!
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor164.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 a list of the names of the site\u0027s groups.\n\n :param order_by: the field to sort the list by, must be ``\u0027name\u0027`` or\n ``\u0027packages\u0027`` (optional, default: ``\u0027name\u0027``) Deprecated use sort.\n :type order_by: string\n :param sort: sorting of the search results. Optional. Default:\n \u0022name asc\u0022 string of field name and sort-order. The allowed fields are\n \u0027name\u0027 and \u0027packages\u0027\n :type sort: string\n :param all_fields: return full group dictionaries instead of just names\n (optional, default: ``False``)\n :type all_fields: boolean\n\n :rtype: list of strings","success":true,"result":[{"name":"45109"},{"name":"45094"},{"name":"45062"},{"name":"45060"},{"name":"ootsu-shiga"},{"name":"osaka-osaka"},{"name":"z2013-oshima-tokyo"},{"name":"csis"},{"name":"sabae"},{"name":"sagamihara-kanagawa"},{"name":"saitama-saitama"},{"name":"ogaki-gifu"},{"name":"z2013-odawara-kanagawa"},{"name":"nonoichi-ishikawa"},{"name":"nara-nara"},{"name":"nanto-toyama"},{"name":"nagoya-aichi"},{"name":"nagareyama-chiba"},{"name":"nagahama-shiga"},{"name":"muroran-hkd"},{"name":"sakai-fukui"},{"name":"sanjo-niigata"},{"name":"yokote-akita"},{"name":"yokohama-kanagawa"},{"name":"yamato-kanagawa"},{"name":"z2013-yamanashi"},{"name":"yamaguchi-yamaguchi"},{"name":"yaizu-shizuoka"},{"name":"wako-saitama"},{"name":"uchinada-ishikawa"},{"name":"tsuruga-fukui"},{"name":"tottori"},{"name":"z2013-toshima-tokyo"},{"name":"tokushima"},{"name":"tochigi"},{"name":"suzaka-nagano"},{"name":"susono-shizuoka"},{"name":"shizuoka"},{"name":"mori-hokkaido"},{"name":"mito-ibaraki"},{"name":"mishima-shizuoka"},{"name":"z2013-yachimata-chiba"},{"name":"omaezaki-shizuoka"},{"name":"kawasaki-kanagawa"},{"name":"kobe-hyogo"},{"name":"z2013-kofu-yamanashi"},{"name":"z2013-koga-ibaraki"},{"name":"kosai-shizuoka"},{"name":"z2013-kunitachi-tokyo"},{"name":"maebashi-gunma"},{"name":"fgl"},{"name":"fujieda-shizuoka"},{"name":"fujisawa-kanagawa"},{"name":"fukui-fukui"},{"name":"fukui"},{"name":"eiheiji-fukui"},{"name":"echizen-fukui"},{"name":"z2013-ebina-kanagawa"},{"name":"chiba-chiba"},{"name":"ndatabase"},{"name":"aizuwakamatsu-fukushima"},{"name":"aigid"},{"name":"z2013-hachioji"},{"name":"fukuoka-fukuoka"},{"name":"z2013-funabashi-chiba"},{"name":"kanazawa-yokohama"},{"name":"kamakura-kanagawa"},{"name":"kakegawa-shizuoka"},{"name":"itoigawa-niigata"},{"name":"z2013-ina-saitama"},{"name":"i-oyacomi"},{"name":"shimasho"},{"name":"z2013-hasuda-saitama"},{"name":"hachioji-tokyo"},{"name":"z2013-ibaraki"},{"name":"gifu"},{"name":"z-geospace"},{"name":"kanazawa-ishikawa"},{"name":"udc2015"},{"name":"aichi"},{"name":"otsu-shiga"}]} CkanClient{catalogURL=http://udct-data.aigid.jp, ckanToken=null}
at eu.trentorise.opendata.jackan.CkanClient.getHttp(CkanClient.java:530)
at eu.trentorise.opendata.jackan.CkanClient.getGroupNames(CkanClient.java:1048)
at eu.trentorise.opendata.jackan.test.ckan.ReadCkanIT.testGroupNames(ReadCkanIT.java:311)
... 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":"Return a list of the names of the site\u0027s groups.\n\n :param order_by: the field to sort the list by, must be ``\u0027name\u0027`` or\n ``\u0027packages\u0027`` (optional, default: ``\u0027name\u0027``) Deprecated use sort.\n :type order_by: string\n :param sort: sorting of the search results. Optional. Default:\n \u0022name asc\u0022 string of field name and sort-order. The allowed fields are\n \u0027name\u0027 and \u0027packages\u0027\n :type sort: string\n :param all_fields: return full group dictionaries instead of just names\n (optional, default: ``False``)\n :type all_fields: boolean\n\n :rtype: list of strings","success":true,"result":[{"name":"45109"},{"name":"45094"},{"name":"45062"},{"name":"45060"},{"name":"ootsu-shiga"},{"name":"osaka-osaka"},{"name":"z2013-oshima-tokyo"},{"name":"csis"},{"name":"sabae"},{"name":"sagamihara-kanagawa"},{"name":"saitama-saitama"},{"name":"ogaki-gifu"},{"name":"z2013-odawara-kanagawa"},{"name":"nonoichi-ishikawa"},{"name":"nara-nara"},{"name":"nanto-toyama"},{"name":"nagoya-aichi"},{"name":"nagareyama-chiba"},{"name":"nagahama-shiga"},{"name":"muroran-hkd"},{"name":"sakai-fukui"},{"name":"sanjo-niigata"},{"name":"yokote-akita"},{"name":"yokohama-kanagawa"},{"name":"yamato-kanagawa"},{"name":"z2013-yamanashi"},{"name":"yamaguchi-yamaguchi"},{"name":"yaizu-shizuoka"},{"name":"wako-saitama"},{"name":"uchinada-ishikawa"},{"name":"tsuruga-fukui"},{"name":"tottori"},{"name":"z2013-toshima-tokyo"},{"name":"tokushima"},{"name":"tochigi"},{"name":"suzaka-nagano"},{"name":"susono-shizuoka"},{"name":"shizuoka"},{"name":"mori-hokkaido"},{"name":"mito-ibaraki"},{"name":"mishima-shizuoka"},{"name":"z2013-yachimata-chiba"},{"name":"omaezaki-shizuoka"},{"name":"kawasaki-kanagawa"},{"name":"kobe-hyogo"},{"name":"z2013-kofu-yamanashi"},{"name":"z2013-koga-ibaraki"},{"name":"kosai-shizuoka"},{"name":"z2013-kunitachi-tokyo"},{"name":"maebashi-gunma"},{"name":"fgl"},{"name":"fujieda-shizuoka"},{"name":"fujisawa-kanagawa"},{"name":"fukui-fukui"},{"name":"fukui"},{"name":"eiheiji-fukui"},{"name":"echizen-fukui"},{"name":"z2013-ebina-kanagawa"},{"name":"chiba-chiba"},{"name":"ndatabase"},{"name":"aizuwakamatsu-fukushima"},{"name":"aigid"},{"name":"z2013-hachioji"},{"name":"fukuoka-fukuoka"},{"name":"z2013-funabashi-chiba"},{"name":"kanazawa-yokohama"},{"name":"kamakura-kanagawa"},{"name":"kakegawa-shizuoka"},{"name":"itoigawa-niigata"},{"name":"z2013-ina-saitama"},{"name":"i-oyacomi"},{"name":"shimasho"},{"name":"z2013-hasuda-saitama"},{"name":"hachioji-tokyo"},{"name":"z2013-ibaraki"},{"name":"gifu"},{"name":"z-geospace"},{"name":"kanazawa-ishikawa"},{"name":"udc2015"},{"name":"aichi"},{"name":"otsu-shiga"}]}; line: 1, column: 715] (through reference chain: eu.trentorise.opendata.jackan.GroupNamesResponse["result"]->java.util.ArrayList[0])
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.StdDeserializer._parseString(StdDeserializer.java:846)
at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:190)
at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:161)
at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:19)
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