Page 1 of 2
TeeCahrt 4.2020.8.28 & 9.16
Posted: Wed Sep 30, 2020 11:54 am
by 15689012
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 (45.29 KiB) Viewed 33626 times
- 1.jpg (157.91 KiB) Viewed 33626 times
Re: TeeCahrt 4.2020.8.28 & 9.16
Posted: Thu Oct 01, 2020 6:02 am
by Christopher
Hello,
could you please send us a Short, Self Contained, Correct Example (definition
here) with which we can reproduce your problem here?
Re: TeeChart 4.2020.8.28 & 9.16
Posted: Thu Oct 01, 2020 8:00 am
by 15689012
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"
Re: TeeCahrt 4.2020.8.28 & 9.16
Posted: Thu Oct 01, 2020 11:05 am
by Christopher
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.
Re: TeeCahrt 4.2020.8.28 & 9.16
Posted: Thu Oct 01, 2020 2:36 pm
by Marc
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
Re: TeeCahrt 4.2020.8.28 & 9.16
Posted: Fri Oct 02, 2020 4:58 am
by 15689012
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.
Re: TeeCahrt 4.2020.8.28 & 9.16
Posted: Fri Oct 02, 2020 10:03 am
by Christopher
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.
Re: TeeCahrt 4.2020.8.28 & 9.16
Posted: Fri Oct 02, 2020 1:41 pm
by Christopher
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?
Re: TeeCahrt 4.2020.8.28 & 9.16
Posted: Mon Oct 05, 2020 9:17 am
by 15689012
It still doesn't work
Re: TeeCahrt 4.2020.8.28 & 9.16
Posted: Mon Oct 05, 2020 9:23 am
by Christopher
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.
Re: TeeCahrt 4.2020.8.28 & 9.16
Posted: Mon Oct 05, 2020 9:34 am
by 15689012
Ok Christopher, thanks!
Re: TeeCahrt 4.2020.8.28 & 9.16
Posted: Mon Oct 05, 2020 12:48 pm
by Christopher
Hello,
a couple more assemblies to try
here and
here; any luck with either of these?
Re: TeeCahrt 4.2020.8.28 & 9.16
Posted: Tue Oct 06, 2020 7:44 am
by 15689012
Good Morning Christopher,
sorry to say that both DLL version don't work/ cause the same error
Re: TeeCahrt 4.2020.8.28 & 9.16
Posted: Tue Oct 06, 2020 7:53 am
by Christopher
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.
Re: TeeCahrt 4.2020.8.28 & 9.16
Posted: Tue Oct 06, 2020 2:22 pm
by Christopher
Good afternoon,
a couple more assemblies
here and
here for you to try, if you'd be so kind.