This is a migrated thread and some comments may be shown as answers.

Multi-thread Error

2 Answers 37 Views
PivotGrid and PivotFieldList
This is a migrated thread and some comments may be shown as answers.
Hugo
Top achievements
Rank 1
Hugo asked on 22 Sep 2020, 11:04 AM

Hi there!

I can't seem to be able to fill a radpivotgrid with data without getting a multi-thread error.

I believe the problem is that the object is multi-thread and I am using ABL which is single-thread.

Can't seem to find a proper solution anywhere.

Is there anything i can do to use this object with ABL?

 

Regards,

Hugo Ferreira.

P.S: I'll attach the error, however, the main line is in Portuguese. Roughly translated it says "You're trying to using a .NET multi-threaded object in a way that it's not supported. ABL cannot be called in a thread that it's not its main one."

2 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 22 Sep 2020, 12:03 PM
Hello, Hugo,     

It seems that you are using RadPivotGrid from the Telerik UI for WinForms suite in OpenEdge environment. By design, RadPivotGrid's engine internally uses multi threading which can't be stopped. As far as I know, multi threading is not supported in OpenEdge: https://stackoverflow.com/questions/46153177/multithreading-in-openedge/46153343 

Please note that for OpenEdge related topics the preferred places to submit a technical question are Salesforce and the Progress Community: https://community.progress.com/  You can log in to these websites straight from your Progress account: https://progresslink.progress.com/supportlink Thus, the appropriate support engineers would gladly assist you.

I hope this information helps. If you need any further assistance regarding the Telerik UI for WinForms suite please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Hugo
Top achievements
Rank 1
answered on 22 Sep 2020, 01:28 PM
Hi Dess,

Thank you for the answer. At this point I was mainly looking to find If I am going to be able to use that object here at all. But I'll contact OpenEdge support.

Thank you!
Sasa
Top achievements
Rank 1
commented on 07 May 2021, 10:28 AM

Hi Hugo,
did you ever get any useful reply from OE support on how to use this control in OE?

Thanks,
Sasa
Dess | Tech Support Engineer, Principal
Telerik team
commented on 07 May 2021, 11:19 AM

Hello, Sasa,

RadPivotGrid uses multi-threading considering the Environment.ProcessorCount when the target framework is 4.0 or higher. I can suggest you to test with the 2.0 version of our assemblies: 2021.1.223.20 where it is not supposed to experience any multi-threading errors.

I hope that it will help for your scenario.

Tags
PivotGrid and PivotFieldList
Asked by
Hugo
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Hugo
Top achievements
Rank 1
Share this question
or