Jackan Test #975
Test didn't pass!
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor155.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: Error while performing GET. Request url was: http://www.hri.fi/api/3/action/user_list CkanResponse{error=Ckan error of type: Authorization Error message:Pääsy evätty Other fields:{}, success=false, help=Return a list of the site's user accounts.
:param q: restrict the users returned to those whose names contain a string
(optional)
:type q: string
:param order_by: which field to sort the list by (optional, default:
``'name'``)
:type order_by: string
:rtype: list of dictionaries
} CkanClient{catalogURL=http://www.hri.fi, ckanToken=null}
at eu.trentorise.opendata.jackan.CkanClient.throwCkanException(CkanClient.java:558)
at eu.trentorise.opendata.jackan.CkanClient.getHttp(CkanClient.java:535)
at eu.trentorise.opendata.jackan.CkanClient.getUserList(CkanClient.java:835)
at eu.trentorise.opendata.jackan.test.ckan.ReadCkanIT.testUser(ReadCkanIT.java:290)
... 12 more