NullReferenceException in Version 2014.05.19
NullReferenceException in Version 2014.05.19
Hi,
I have switched from version "2014.02.28" to version "2014.05.19" and a report that runs perfectly under the old version now crashes in the new version...
I know it is very difficult to test the report without data but the crash happens in you library and I hope you can help me find the source of this issue.
I have added the report, the stacktrace and other informations.
Please come back to me ASAP...
THANKS!
Pascal
I have switched from version "2014.02.28" to version "2014.05.19" and a report that runs perfectly under the old version now crashes in the new version...
I know it is very difficult to test the report without data but the crash happens in you library and I hope you can help me find the source of this issue.
I have added the report, the stacktrace and other informations.
Please come back to me ASAP...
THANKS!
Pascal
- Attachments
-
- StackTrace.txt
- The complete Stacktrace
- (4.12 KiB) Downloaded 238 times
-
- This is a screeshot of the exception withing VS 2010
- Exception.png (60.63 KiB) Viewed 3176 times
-
- This is the report shown in the preview of the old version
- Report.png (62 KiB) Viewed 3176 times
-
- Liste - Buchungen - Reiseleiterverkaufsliste.mrt
- This is the report
- (180.4 KiB) Downloaded 250 times
Re: NullReferenceException in Version 2014.05.19
Hello,
We couldn't reproduce this bug.
Can you please send us a test data or sample project with simple report which reproduce the issue for analysis.
Thank you.
We couldn't reproduce this bug.
Can you please send us a test data or sample project with simple report which reproduce the issue for analysis.
Thank you.
Re: NullReferenceException in Version 2014.05.19
I was afraid you would answer this...
I just can't send you corresponding data, sorry. It's just too complex...
Isn't there any hint you could give me after analyzing the StackTrace? It's a null-pointer exception while rendering a "StiSimpleText" when I read the stack-correctly. What could be a theoretical way to stumble upon a null-pointer there?
And what changes have beend made since "2014.02.28" that could lead to this? Has the rendering of "StiSimpleText" been altered somehow??
I will try to remove controls from the report one after the other until it works, maybe that will help me find the culprit...
Pascal
I just can't send you corresponding data, sorry. It's just too complex...

Isn't there any hint you could give me after analyzing the StackTrace? It's a null-pointer exception while rendering a "StiSimpleText" when I read the stack-correctly. What could be a theoretical way to stumble upon a null-pointer there?
And what changes have beend made since "2014.02.28" that could lead to this? Has the rendering of "StiSimpleText" been altered somehow??
I will try to remove controls from the report one after the other until it works, maybe that will help me find the culprit...
Pascal
Re: NullReferenceException in Version 2014.05.19
Hi,
I was able to locate the problem. Anaylizing the stacktrace it was clear that the problem was a control in the footerband. I analyzed the band and found the culprits: 3 RichText-Fields that were empty.
After inserting a dummy text in them and then deleting the text again the report printed without problems...
In the XML-Kode BEFORE I made the changes the RichtText-Controls looked like this:
After I opened the Control, inserted some Text, closed the controls, then reopened it, cleared the text completely and closed again the controls now looked like this:
There's a new Tag "<Text>" that was missing in the first version. Maybe this was the problem since the error was a NullPointerException...
Anyway, my problem is resolved now, but you might want to investigate this...
Cheers,
Pascal
I was able to locate the problem. Anaylizing the stacktrace it was clear that the problem was a control in the footerband. I analyzed the band and found the culprits: 3 RichText-Fields that were empty.
After inserting a dummy text in them and then deleting the text again the report printed without problems...
In the XML-Kode BEFORE I made the changes the RichtText-Controls looked like this:
Code: Select all
<RichText10 Ref="147" type="Stimulsoft.Report.Components.StiRichText" isKey="true">
<BackColor>Transparent</BackColor>
<Border>All;Black;1;Solid;False;4;Black</Border>
<ClientRectangle>6.4,1.6,0.8,0.8</ClientRectangle>
<Conditions isList="true" count="0" />
<DataColumn />
<Guid>763fe19afc3f48058b726b0a207b686b</Guid>
<Margins>0,0,0,0</Margins>
<Name>RichText10</Name>
<Page isRef="40" />
<Parent isRef="113" />
</RichText10>
Code: Select all
<RichText10 Ref="148" type="Stimulsoft.Report.Components.StiRichText" isKey="true">
<BackColor>Transparent</BackColor>
<Border>All;Black;1;Solid;False;4;Black</Border>
<ClientRectangle>6.4,1.6,0.8,0.8</ClientRectangle>
<Conditions isList="true" count="0" />
<DataColumn />
<Guid>763fe19afc3f48058b726b0a207b686b</Guid>
<Margins>0,0,0,0</Margins>
<Name>RichText10</Name>
<Page isRef="41" />
<Parent isRef="114" />
<Text>__LP___x005C_rtf1_x005C_ansi_x005C_ansicpg1252_x005C_uc1_x005C_htmautsp_x005C_deff2__LP___x005C_fonttbl__LP___x005C_f0_x005C_fcharset0_x0020_Times_x0020_New_x0020_Roman_x003B___RP____LP___x005C_f2_x005C_fcharset0_x0020_Segoe_x0020_UI_x003B___RP____RP____LP___x005C_colortbl_x005C_red0_x005C_green0_x005C_blue0_x003B__x005C_red255_x005C_green255_x005C_blue255_x003B___RP___x005C_loch_x005C_hich_x005C_dbch_x005C_pard_x005C_plain_x005C_ltrpar_x005C_itap0__LP___x005C_lang1031_x005C_fs18_x005C_f2_x005C_cf0_x0020__x005C_cf0_x005C_ql__LP___x005C_f2_x0020___LP___x005C_ltrch_x0020___RP___x005C_li0_x005C_ri0_x005C_sa0_x005C_sb0_x005C_fi0_x005C_ql_x005C_par__RP___x000D__x000A___RP___x000D__x000A___RP__</Text>
</RichText10>
Anyway, my problem is resolved now, but you might want to investigate this...
Cheers,
Pascal
Re: NullReferenceException in Version 2014.05.19
Hello.
Thank you for the description.
We will make an investigation and let you know about results.
Thank you.
Thank you for the description.
We will make an investigation and let you know about results.
Thank you.
Re: NullReferenceException in Version 2014.05.19
Hello,
The issue is fixed, will be available in the next prerelease build.
For current version you need set the FullConvertExpression property to true.
Thank you.
The issue is fixed, will be available in the next prerelease build.
For current version you need set the FullConvertExpression property to true.
Thank you.