Date Variable Creation Error

Stimulsoft Reports.JAVA discussion
Post Reply
TecnologiaMV
Posts: 85
Joined: Mon May 30, 2022 7:35 pm

Date Variable Creation Error

Post by TecnologiaMV »

Dear,

I am experiencing an issue when creating a variable of type Date, as a bug occurs during the process.

I have tested this in Java versions 2025.3.0 and later, including 2025.4.2, and the problem occurs in all of them.

The error prevents the variable from being created and also affects older reports that already use this variable, causing them to fail during execution.

Attached are screenshots of the error for your analysis.
Screenshot_1472.png
Screenshot_1472.png (85.41 KiB) Viewed 567 times
Screenshot_1473.png
Screenshot_1473.png (96.98 KiB) Viewed 567 times
Screenshot_1474.png
Screenshot_1474.png (60.96 KiB) Viewed 567 times

Code: Select all

java.lang.ArrayIndexOutOfBoundsException: 1
	at com.stimulsoft.base.range.DateTimeRange.deserialize(DateTimeRange.java:124)
	at com.stimulsoft.base.range.Range.fromStringValue(Range.java:187)
	at com.stimulsoft.base.system.type.StiTypeRange.getValueByString(StiTypeRange.java:15)
	at com.stimulsoft.base.system.type.StiTypeRange.getValueByString(StiTypeRange.java:5)
	at com.stimulsoft.base.system.type.StiSystemType.getInstanceValueByString(StiSystemType.java:62)
	at com.stimulsoft.report.dictionary.StiVariable.getValueObject(StiVariable.java:363)
	at com.stimulsoft.webdesigner.helper.StiDictionaryHelper.variableItem(StiDictionaryHelper.java:615)
	at com.stimulsoft.webdesigner.helper.StiDictionaryHelper.createOrEditVariable(StiDictionaryHelper.java:2619)
Max Shamanov
Posts: 1062
Joined: Tue Sep 07, 2021 10:11 am

Re: Date Variable Creation Error

Post by Max Shamanov »

Hello,

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

Thank you
Max Shamanov
Posts: 1062
Joined: Tue Sep 07, 2021 10:11 am

Re: Date Variable Creation Error

Post by Max Shamanov »

Hello.

We have identified the issue and need some time to improve it.
We will notify you as soon as we have the results.

Thank you.
#18770
Max Shamanov
Posts: 1062
Joined: Tue Sep 07, 2021 10:11 am

Re: Date Variable Creation Error

Post by Max Shamanov »

Hello.

We have successfully implemented an improvement.
Please check our next build 2026.1.1, when it becomes available.

Thank you.
Post Reply