Page 1 of 1

FreeformPointLineSeries PointCountLimit Exception

Posted: Tue Jul 26, 2016 11:50 am
by Matthias Weidmann
Hello Arction-Team,

I'm getting an ArgumentOutOfRangeException while setting the PointCountLimit of a FreeformPointLineSeries to 1.
The call stack point to an Array.Copy. The sourceIndex is less than the lower bound of the first dimension of sourceArray.

I haven't added a point to the series before setting this option. Setting the option after adding points to the series, seems to work.

Best regards
Matthias Weidmann

Re: FreeformPointLineSeries PointCountLimit Exception

Posted: Thu Jul 28, 2016 4:15 pm
by ArctionPasi
Thanks for reporting the problem. We'll try to arrange a fix soon.

Re: FreeformPointLineSeries PointCountLimit Exception

Posted: Fri Aug 26, 2016 12:29 pm
by Matthias Weidmann
Hello Arction-Team,

I have noticed within the bug-fixes, that an ArgumentOutOfRange exception has been fixed concerning Buffers.
But with the version 7.1.3 I still get ArgumentOutOfRange exceptions while setting different PointCountLimits.
May you have a look at this bug again, if it should be fixed already?

Best regards,
Matthias Weidmann

Re: FreeformPointLineSeries PointCountLimit Exception

Posted: Fri Aug 26, 2016 6:04 pm
by ArctionPasi
I'm sorry, but it's not fixed yet. I'll try to fix during the weekend.

Re: FreeformPointLineSeries PointCountLimit Exception

Posted: Sun Aug 28, 2016 8:38 am
by ArctionPasi
OK fixed that. We'll send you a new version on Monday-Tuesday for your final tests.

Re: FreeformPointLineSeries PointCountLimit Exception

Posted: Tue Apr 18, 2017 6:43 am
by Matthias Weidmann
Hello Arction-Team,

with the version 8.0.1.4001 I still get ArgumentOutOfRange exceptions while setting different PointCountLimits.
May you have a look at this bug again, if it should be fixed already?

Call Stack:
FreeformPointLineSeries.HOD(bool A)
FreeformPointLineSeries.PointCountLimit.set(int value)

Best regards,
Matthias Weidmann

Re: FreeformPointLineSeries PointCountLimit Exception

Posted: Tue Apr 18, 2017 12:28 pm
by ArctionPasi
Hi Matthias,

After the fix in August 31, 2016, we are not able to reproduce the problem.

I tested with v.8 by using Lissajous example, selecting XY chart, (the middle big one) from property editor, going to ViewXY->FreeformPointLineSeries[0]->PointCountLimit = 1. Changed PointCountLimit to various numbers between 1-1000000 and all worked.

Can you please send example code how to reproduce the problem :?:

Re: FreeformPointLineSeries PointCountLimit Exception

Posted: Wed Apr 19, 2017 8:20 am
by Matthias Weidmann
Hello Pasi,

I have attached a sample solution which triggers the exception.

Best regards,
Matthias Weidmann

Re: FreeformPointLineSeries PointCountLimit Exception

Posted: Wed Apr 19, 2017 10:29 am
by ArctionPasi
Thanks. Reproduced successfully with your code.

Resolving it now.

Re: FreeformPointLineSeries PointCountLimit Exception

Posted: Wed Apr 19, 2017 2:01 pm
by ArctionPasi
Fixed in our code base. Will be included in next v.8 update.

Please say if you want us to send you unofficial test version for verifying the fix.