TeeCahrt 4.2020.8.28 & 9.16

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
HCCKPM_2020
Newbie
Newbie
Posts: 25
Joined: Wed Jul 01, 2020 12:00 am

TeeCahrt 4.2020.8.28 & 9.16

Post by HCCKPM_2020 » Wed Sep 30, 2020 11:54 am

Hello,

after updating from 5.25 to 8.28 or 9.16 we get the error

"System.ArgumentOutOfRangeException"
Parameter must be greater than Null
Parameter Name: emSize

What's the problem in those two versions?
2.jpg
2.jpg (45.29 KiB) Viewed 5635 times
1.jpg
1.jpg (157.91 KiB) Viewed 5635 times
Best regards,

HCC/KPM

Christopher
Guru
Posts: 1331
Joined: Fri Nov 15, 2002 12:00 am

Re: TeeCahrt 4.2020.8.28 & 9.16

Post by Christopher » Thu Oct 01, 2020 6:02 am

Hello,

could you please send us a Short, Self Contained, Correct Example (definition here) with which we can reproduce your problem here?
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

HCCKPM_2020
Newbie
Newbie
Posts: 25
Joined: Wed Jul 01, 2020 12:00 am

Re: TeeChart 4.2020.8.28 & 9.16

Post by HCCKPM_2020 » Thu Oct 01, 2020 8:00 am

In this case it's not that easy to extract the problem into a small application.
If you want you can have a look with teamviewer to my computer to get the fault.

What I can say is that it must have something to do with collapsing the containing grid.
Doesn't tell "emSize" or the exception anything?
The application crashes in the DLL and can't be catched with a "try...catch"
Best regards,

HCC/KPM

Christopher
Guru
Posts: 1331
Joined: Fri Nov 15, 2002 12:00 am

Re: TeeCahrt 4.2020.8.28 & 9.16

Post by Christopher » Thu Oct 01, 2020 11:05 am

HCCKPM_2020 wrote:
Thu Oct 01, 2020 8:00 am
If you want you can have a look with teamviewer to my computer to get the fault.
I don't think that's going to be very useful to me in the task of debugging the problem, which takes time, concentration, and more importantly, the TeeChart source-code.
HCCKPM_2020 wrote:
Thu Oct 01, 2020 8:00 am
Doesn't tell "emSize" or the exception anything?
I wish it did, but unfortunately I need more information before coming up with ideas of possible problems.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Marc
Site Admin
Site Admin
Posts: 1000
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: TeeCahrt 4.2020.8.28 & 9.16

Post by Marc » Thu Oct 01, 2020 2:36 pm

Hello,

emSize is often used for Font sizing. It could be going on in a call to TeeChart but there is no TeeChart parameter that I can find with the name "emSize".

If you put a break point in, do you see any TeeChart classes in the call stack? Is there any clue that this is being caused by TeeChart? I don't see any reference to it in the error message.

As Chris points out, we really do need more information.

With thanks.
Regards,
Marc
Steema Support

HCCKPM_2020
Newbie
Newbie
Posts: 25
Joined: Wed Jul 01, 2020 12:00 am

Re: TeeCahrt 4.2020.8.28 & 9.16

Post by HCCKPM_2020 » Fri Oct 02, 2020 4:58 am

If I switch to 5.25 and do not change anything in my code the application works without any problem.
That absolutely identicates that the newer versions cause the problems.
Best regards,

HCC/KPM

Christopher
Guru
Posts: 1331
Joined: Fri Nov 15, 2002 12:00 am

Re: TeeCahrt 4.2020.8.28 & 9.16

Post by Christopher » Fri Oct 02, 2020 10:03 am

HCCKPM_2020 wrote:
Fri Oct 02, 2020 4:58 am
If I switch to 5.25 and do not change anything in my code the application works without any problem.
That absolutely identicates that the newer versions cause the problems.
I've used WinMerge to compare the builds 4.2020.09.16 and 4.2020.05.25, and I have identified one change that *might possibly* be problematic. Shortly I will make a special build for you to download and test.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Christopher
Guru
Posts: 1331
Joined: Fri Nov 15, 2002 12:00 am

Re: TeeCahrt 4.2020.8.28 & 9.16

Post by Christopher » Fri Oct 02, 2020 1:41 pm

Christopher wrote:
Fri Oct 02, 2020 10:03 am
Shortly I will make a special build for you to download and test.
Please find the test TeeChart.WPF.dll here. Does referencing this assembly make any noticeable difference to your issue?
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

HCCKPM_2020
Newbie
Newbie
Posts: 25
Joined: Wed Jul 01, 2020 12:00 am

Re: TeeCahrt 4.2020.8.28 & 9.16

Post by HCCKPM_2020 » Mon Oct 05, 2020 9:17 am

It still doesn't work
Best regards,

HCC/KPM

Christopher
Guru
Posts: 1331
Joined: Fri Nov 15, 2002 12:00 am

Re: TeeCahrt 4.2020.8.28 & 9.16

Post by Christopher » Mon Oct 05, 2020 9:23 am

HCCKPM_2020 wrote:
Mon Oct 05, 2020 9:17 am
It still doesn't work
That's not unexpected I'm afraid; as I said, this is working blind attempting to infer the cause of a problem which itself is not precisely defined. As far I as can see, the only option we have is to prepare 'experimental' assemblies of this kind and check empirically at your end (we can't check at our end) whether the problem occurs. I'll look to prepare another couple of such 'experimental' assemblies today for you.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

HCCKPM_2020
Newbie
Newbie
Posts: 25
Joined: Wed Jul 01, 2020 12:00 am

Re: TeeCahrt 4.2020.8.28 & 9.16

Post by HCCKPM_2020 » Mon Oct 05, 2020 9:34 am

Ok Christopher, thanks!
Best regards,

HCC/KPM

Christopher
Guru
Posts: 1331
Joined: Fri Nov 15, 2002 12:00 am

Re: TeeCahrt 4.2020.8.28 & 9.16

Post by Christopher » Mon Oct 05, 2020 12:48 pm

Hello,

a couple more assemblies to try here and here; any luck with either of these?
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

HCCKPM_2020
Newbie
Newbie
Posts: 25
Joined: Wed Jul 01, 2020 12:00 am

Re: TeeCahrt 4.2020.8.28 & 9.16

Post by HCCKPM_2020 » Tue Oct 06, 2020 7:44 am

Good Morning Christopher,

sorry to say that both DLL version don't work/ cause the same error
Best regards,

HCC/KPM

Christopher
Guru
Posts: 1331
Joined: Fri Nov 15, 2002 12:00 am

Re: TeeCahrt 4.2020.8.28 & 9.16

Post by Christopher » Tue Oct 06, 2020 7:53 am

HCCKPM_2020 wrote:
Tue Oct 06, 2020 7:44 am
sorry to say that both DLL version don't work/ cause the same error
Mmm, that's interesting, as TeeChartPro_4.2020.10.52 is a rebuild of 4.2020.05.25, which you say works at your end. Why would the same code built 5 months later not work, when it did 5 months ealier? The only difference I can think of is in the way we obfuscate our assemblies - later on today I'll do another build using a different obfuscation technique but using the same 4.2020.05.25 codebase to see if that's the issue.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Christopher
Guru
Posts: 1331
Joined: Fri Nov 15, 2002 12:00 am

Re: TeeCahrt 4.2020.8.28 & 9.16

Post by Christopher » Tue Oct 06, 2020 2:22 pm

Good afternoon,

a couple more assemblies here and here for you to try, if you'd be so kind.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply