Data source from a json file (error java.lang.NullPointerException)

0

Hello friends,

I am trying get values from arquive, but this arquive is in a url (fabianogabardolemos.esy.es/teste2.json) e when a try get the value a erros message is showed:

ava.lang.NullPointerException
at net.sf.jasperreports.data.http.HttpDataService.getPropertyOrParameterValue(HttpDataService.java:504)
at net.sf.jasperreports.data.http.HttpDataService.getUsername(HttpDataService.java:193)
at net.sf.jasperreports.data.http.HttpDataService.setAuthentication(HttpDataService.java:177)
at com.jaspersoft.studio.data.adapter.JSSBuiltinDataFileServiceFactory$1.createHttpClient(JSSBuiltinDataFileServiceFactory.java:62)
at net.sf.jasperreports.data.http.HttpDataService.getDataFileConnection(HttpDataService.java:150)
at net.sf.jasperreports.data.DataFileUtils.createConnection(DataFileUtils.java:72)
at net.sf.jasperreports.data.DataFileUtils.getDataStream(DataFileUtils.java:78)
at net.sf.jasperreports.data.json.JsonDataAdapterService.contributeParameters(JsonDataAdapterService.java:75)
at net.sf.jasperreports.data.AbstractDataAdapterService.test(AbstractDataAdapterService.java:122)
at com.jaspersoft.studio.data.wizard.AbstractDataAdapterWizard$3.runOperations(AbstractDataAdapterWizard.java:162)
at com.jaspersoft.studio.utils.jobs.CheckedRunnableWithProgress$1.run(CheckedRunnableWithProgress.java:59)
at java.lang.Thread.run(Thread.java:745)
 
please help me! 
 
att. Fabiano
Brasil
 
fabiano.gabardo.lemos's picture
Joined: May 29 2017 - 9:42am
Last seen: 8 months 2 weeks ago

0 Answers:

No answers yet
Feedback
randomness