Hi,
I use the json file as a source.
The report file works flawlessly in the designer or .net project.
I use one relationship. Between the question and the media.
But if there is no media in the questions in the java project, I get the following error.
I get the error during rendering.
java.lang.NullPointerException: null
at com.stimulsoft.report.dictionary.StiDataRelation.getChildRows(StiDataRelation.java:250) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.dictionary.dataSources.StiDataSource.SetDetails(StiDataSource.java:540) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.dictionary.dataSources.StiDataSource.SetData(StiDataSource.java:444) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.components.StiDataHelper.SetData(StiDataHelper.java:52) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.components.StiDataHelper.SetData(StiDataHelper.java:25) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.engine.engineV2.builders.StiDataBandV2Builder.SetDetails(StiDataBandV2Builder.java:869) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.components.bands.StiDataBand.First(StiDataBand.java:215) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.components.StiDataHelper.SetData(StiDataHelper.java:58) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.components.StiDataHelper.SetData(StiDataHelper.java:25) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.engine.engineV2.builders.StiDataBandV2Builder.RenderMaster(StiDataBandV2Builder.java:1581) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.components.bands.StiDataBand.renderMaster(StiDataBand.java:1301) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.engine.engineV2.StiPageHelper.RenderPage(StiPageHelper.java:386) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.engine.engineV2.StiRenderProviderV2.RenderReport(StiRenderProviderV2.java:985) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.engine.engineV2.StiRenderProviderV2.Render(StiRenderProviderV2.java:325) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.engine.engineV2.builders.StiReportV2Builder.RenderSingleReport(StiReportV2Builder.java:65) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.StiReport.RenderReport(StiReport.java:2080) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.StiReport.Render(StiReport.java:1981) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.StiReport.Render(StiReport.java:1916) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.StiReport.Render(StiReport.java:1906) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.StiReport.Render(StiReport.java:1891) ~[stimulsoft-reports-report-2020.2.1.jar:na]
at com.stimulsoft.report.StiReport.render(StiReport.java:1874) ~[stimulsoft-reports-report-2020.2.1.jar:na]
If the relationship is empty, an error occurs
Re: If the relationship is empty, an error occurs
Hello.
We have made an improvement.
Please, check our next build when it will be available.
Thank you.
We have made an improvement.
Please, check our next build when it will be available.
Thank you.