Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

Hi, i've tried to upload a CKAN dataset, and haven´t been able to either save it or preview it. The only way that i'm able to save the dataset, is if I choose "Save without metadata". I also checked trying to use the dataset for a report, and it doesn't work either. I checked the logs while trying to save it in different ways, and it always says the same :

Caused by: java.lang.NullPointerException

[http-bio-8082-exec-11] 20 abr 2018 11:03:27,230 ERROR it.eng.spagobi.rest.interceptors.RestExceptionMapper.toResponseFromGenericException:73 - Catched service error:

it.eng.spagobi.utilities.exceptions.SpagoBIServiceException: An unexpected error occured while executing dataset: java.lang.NullPointerException

        at it.eng.spagobi.tools.dataset.service.ManageDataSetsForREST.getDatasetTestResultList(ManageDataSetsForREST.java:1482)

Caused by: java.lang.NullPointerException

        at it.eng.spagobi.tools.dataset.common.dataproxy.CkanDataProxy.getInputStreamFromURL(CkanDataProxy.java:111)

        at it.eng.spagobi.tools.dataset.common.dataproxy.CkanDataProxy.load(CkanDataProxy.java:77)

        ... 38 more

[http-bio-8082-exec-7] 20 abr 2018 11:18:01,360 ERROR it.eng.spagobi.tools.dataset.service.ManageDataSetsForREST.getGuiGenericDatasetToInsert:258 - Error while recovering dataset metadata: check dataset definition

it.eng.spagobi.utilities.exceptions.SpagoBIRuntimeException: Impossible to load dataset

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

        at java.lang.Thread.run(Thread.java:748)

Caused by: java.lang.NullPointerException
Environment Knowage Enterprise version 6.1.1 OS Linux Red HAT chrome
in Data Set by (210 points)
edited by
Can you please share the details that you used  to define this CKAN dataset? I'm assuming that you add it in the dataset catalogue.

Please log in or register to answer this question.

...