Jackan Test #1663
Test didn't pass!
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor169.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: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"><head><meta http-equiv="content-type" content="text/html; charset=UTF-8" /><meta http-equiv="Refresh" content="3; url=http://www.data.go.jp/index.php?action=pages_view_main" /><title>DATA GO JP</title><link class="_common_css" rel="stylesheet" type="text/css" media="all" href="http://www.data.go.jp/index.php?action=common_download_css" /></head><body class="redirect_body"><table class="redirect_main" summary=""><tr><td class="valign-top"><img src="http://www.data.go.jp/images/common/redirect_arrorw.gif" title="" alt="" /></td><td class="redirect_text">存在しないページが指定されました。</td></tr><tr><td> </td><td class="redirect_subtext">ページが自動的に更新されない場合は<a class='redirect_subtext_link' href='http://www.data.go.jp/index.php?action=pages_view_main'>こちら</a>をクリックしてください。</td></tr></table><script class="nc_script" type="text/javascript">setTimeout(function(){var location_str = 'http://www.data.go.jp/index.php?action=pages_view_main';location.href=location_str.replace(/&/ig,"&");},3*1000);</script></body></html> CkanClient{catalogURL=http://www.data.go.jp/data, ckanToken=null}
at eu.trentorise.opendata.jackan.CkanClient.getHttp(CkanClient.java:530)
at eu.trentorise.opendata.jackan.CkanClient.getFormats(CkanClient.java:1087)
at eu.trentorise.opendata.jackan.test.ckan.ReadCkanIT.testFormatList(ReadCkanIT.java:358)
... 12 more
Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
at [Source: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"><head><meta http-equiv="content-type" content="text/html; charset=UTF-8" /><meta http-equiv="Refresh" content="3; url=http://www.data.go.jp/index.php?action=pages_view_main" /><title>DATA GO JP</title><link class="_common_css" rel="stylesheet" type="text/css" media="all" href="http://www.data.go.jp/index.php?action=common_download_css" /></head><body class="redirect_body"><table class="redirect_main" summary=""><tr><td class="valign-top"><img src="http://www.data.go.jp/images/common/redirect_arrorw.gif" title="" alt="" /></td><td class="redirect_text">存在しないページが指定されました。</td></tr><tr><td> </td><td class="redirect_subtext">ページが自動的に更新されない場合は<a class='redirect_subtext_link' href='http://www.data.go.jp/index.php?action=pages_view_main'>こちら</a>をクリックしてください。</td></tr></table><script class="nc_script" type="text/javascript">setTimeout(function(){var location_str = 'http://www.data.go.jp/index.php?action=pages_view_main';location.href=location_str.replace(/&/ig,"&");},3*1000);</script></body></html>; line: 1, column: 2]
at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1576)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:533)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:462)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue(ReaderBasedJsonParser.java:1624)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:689)
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3742)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3687)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2714)
at eu.trentorise.opendata.jackan.CkanClient.getHttp(CkanClient.java:528)
... 14 more