maduraipandian.manivel Posted October 29, 2019 Share Posted October 29, 2019 I am getting "java.lang.NullPointerException" in Jasper Studio 6.3.2 when trying to run jasper report which is developed in Jasper studio 6.6.0.Please guide me on this issue if anyother things do i need to check to resolve this issue.Thnaks in advance,Maduraipandian Manivel.************* Error Details**************** net.sf.jasperreports.engine.JRException: java.lang.NullPointerException at com.jaspersoft.studio.editor.preview.view.control.ReportControler.fillReport(ReportControler.java:548) at com.jaspersoft.studio.editor.preview.view.control.ReportControler.access$20(ReportControler.java:523) at com.jaspersoft.studio.editor.preview.view.control.ReportControler$5.run(ReportControler.java:404) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)Caused by: java.lang.NullPointerException at com.jaspersoft.webservice.data.query.WebServiceQueryExecuter.getInternalQE(WebServiceQueryExecuter.java:244) at com.jaspersoft.webservice.data.query.WebServiceQueryExecuter.close(WebServiceQueryExecuter.java:201) at net.sf.jasperreports.engine.fill.JRFillDataset.closeQueryExecuter(JRFillDataset.java:1322) at net.sf.jasperreports.engine.fill.JRFillDataset.closeDatasource(JRFillDataset.java:1303) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:608) at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFill.run(BaseFillHandle.java:123) at java.lang.Thread.run(Thread.java:745) Link to comment Share on other sites More sharing options...
joseng62 Posted October 29, 2019 Share Posted October 29, 2019 Hi maduraipandian. Quite hard to assist. The stack strack is a limited explanation. I can only guess that you are making use of fetching data from a webservice. So your datasource is most likely from a webservice, it might not be the main report making use of it, it might be another component that makes use of the given datasource.So due to utilizing a differrent jasperstuiod version it is highly likely that the Web service datasource extention is not installed onto the given jasperstudio. Have a look at this https://community.jaspersoft.com/project/web-service-data-sourceThis would explain the null pointer as the java compiler cannot find something that does not exist . Or maybe you do have this setup but maybe the schema definition in the report is not correct. Or maybe the datasource is not defined. Also somethime when you run the report a default datasource is not set, make sure if you have all of the above setup, that you select the correct datasource when previewing the report. Hope this all help. Regards joseng62 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now