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

Stimulsoft Reports.JAVA discussion
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

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

Post by Vadim »

Hello.

Can you send us your webviewer jsp file or StiWebViewerOptions that you use ?
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, the requested files are attached.
Attachments
jsp_file_AND_StiWebViewerOptions.rar
(7.46 KiB) Downloaded 137 times
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

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

Post by Vadim »

Hello.

You sent us class StiWebVeiwerOptions but we need options that you use in JSP page in options="${options}"
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 file JSP PAGE with de options that you need.
Attachments
jsp_view - options.rar
(40.4 KiB) Downloaded 141 times
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

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

Post by Vadim »

Hello.

You sent HTML result of JSP file, we need file where <stiwebviewer:webviewer exists
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 viewer.jsp file where the <stiwebviewer:webviewer exists

If you need another file, I can forward it too.
Attachments
viewer.rar
(491 Bytes) Downloaded 127 times
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

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

Post by Vadim »

Hello.

You use options="${options}" in your jsp, can you send us how this options are configured ?
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, yes I can send it, I just need to know in which file this information is stored and I can get back to you with precision.
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

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

Post by Vadim »

Hello.

You need to find StiWebViewerOptions object
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, the requested object is attached, I am forwarding the class object in ".JAR" and also in ".TXT" if you need something else I can forward it too.
Attachments
stimulsoft-reports-webviewer-2021.3.rar
(391.09 KiB) Downloaded 128 times
Post Reply