Error "java.lang.NullPointerException" in Date Range variable

Stimulsoft Reports.JAVA discussion
Manuel Costa
Posts: 72
Joined: Thu Sep 24, 2020 2:40 pm
Location: Brazil

Re: Error "java.lang.NullPointerException" in Date Range variable

Post by Manuel Costa »

Hi Vadim, attached is the video I recorded testing the report based on the date range variable, when I call the report from the Executor the error already occurs and in addition we use Stimulsoft Reports.JS, designed on JavaScript and HTML5 technologies, so I believe that in the version they tested for being different from mine, the error does not occur.

Also attached is the report used for the test without data source or database connection and the error in the variable is still displayed.
Attachments
Parametro Faixa.mrt
(4.87 KiB) Downloaded 142 times
Data Range without datasource or db connection.7z
(27.43 MiB) Downloaded 139 times
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Error "java.lang.NullPointerException" in Date Range variable

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

Re: Error "java.lang.NullPointerException" in Date Range variable

Post by Vadim »

Hello.

We made special build with additional logging information https://drive.google.com/file/d/1AVHKyj ... sp=sharing
Please try with new Jars & send us server tomcat logs from "INFO: ----VARIABLE-----"
Manuel Costa
Posts: 72
Joined: Thu Sep 24, 2020 2:40 pm
Location: Brazil

Re: Error "java.lang.NullPointerException" in Date Range variable

Post by Manuel Costa »

Hello Vadim, attached the Report Executor log when the error occurs when executing a report with Date Range variable, if you need additional data I am available.
Attachments
report-executor.zip
(4.64 KiB) Downloaded 121 times
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Error "java.lang.NullPointerException" in Date Range variable

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

Re: Error "java.lang.NullPointerException" in Date Range variable

Post by Vadim »

Hello.

Error occurs with variable "DATA" that doe's not exists in your report (that you sent to us), it seems that you add it programmatically.
Maybe you do it wrong way.
Manuel Costa
Posts: 72
Joined: Thu Sep 24, 2020 2:40 pm
Location: Brazil

Re: Error "java.lang.NullPointerException" in Date Range variable

Post by Manuel Costa »

Hello Vadim, sorry for the confusion, in this time without giving a return I'm still analyzing the scenario I found in my base, by the way I validated that we are using the version
STIMULSOFT REPORTS.JAVA and not the .JS version that I mentioned before, well I wanted to validate with you if in the current versions of Stimulsoft Reports.Java the error "NULL NULL" occurs in the Report Executor when calling the report with a Date Range variable, Any questions I'm at your disposal!
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

Re: Error "java.lang.NullPointerException" in Date Range variable

Post by Vadim »

Hello.

Now we have no NULL NULL error with Date Range variable
Post Reply