Jackan Test #456
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: Error while performing GET. Request url was: https://edx.netl.doe.gov/api/3/action/package_show?id=ventex-april-2014 CkanResponse{error=Ckan error of type: Authorization Error message:Access denied Other fields:{}, success=false, help=Return the metadata of a dataset (package) and its resources.
:param id: the id or name of the dataset
:type id: string
:rtype: dictionary
} CkanClient{catalogURL=https://edx.netl.doe.gov, 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.getDataset(CkanClient.java:823)
at eu.trentorise.opendata.jackan.test.ckan.ReadCkanIT.testDatasetAndResource(ReadCkanIT.java:227)
... 12 more