Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Error rendering for scene TContextIOS could not begin.


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 3 - Last Post: Jan 24, 2018 12:42 PM Last Post By: Nick Wilson Threads: [ Previous | Next ]
Andreas Wegener

Posts: 25
Registered: 12/6/12
Error rendering for scene TContextIOS could not begin.  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 16, 2018 1:12 AM
Hi Forum
After recompile my Project with Rad Studio 10.2.2 using iOS 11 I get sometimes the message
(Translated) Error rendering for scene TContextIOS could not begin.
This happens if I rotate the device.
Is this a know issue ?
has sombody recognized the same Problem
I am sorry to have no more information at the moment but I try to find out where exactly this happens
Nick Wilson

Posts: 3
Registered: 9/24/04
Re: Error rendering for scene TContextIOS could not begin.  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 23, 2018 9:29 PM   in response to: Andreas Wegener in response to: Andreas Wegener
Hi,

We are getting the same problem, iOS only obviously and not all device types.

Did you get a resolution?

Cheers

Andreas Wegener wrote:
Hi Forum
After recompile my Project with Rad Studio 10.2.2 using iOS 11 I get sometimes the message
(Translated) Error rendering for scene TContextIOS could not begin.
This happens if I rotate the device.
Is this a know issue ?
has sombody recognized the same Problem
I am sorry to have no more information at the moment but I try to find out where exactly this happens
Andreas Wegener

Posts: 25
Registered: 12/6/12
Re: Error rendering for scene TContextIOS could not begin.  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 24, 2018 12:37 AM   in response to: Nick Wilson in response to: Nick Wilson
Hi Nick,
Not really.
I am still in discussion with Embarcadero.
Looks like that there is an issue if the form is modified from another threat.
That’s what they reply:

1/19/2018 7:13 AM | Steve Axtell
Hello

I had another support case recently that generated this error. The test case did not really qualify as a simple test case but appeared to be the customer's full application. I really didn't have time to debug it.

However the application used the REST components to query a server asynchronously and then did some processing of the results. I believe that the fact that the rest request was being run asynchronously somehow interfered with the drawing of the form. The other thing I noticed was in the iOS device console (which you can view in the Xcode Devices and simulators window) logged this message:

"This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes"

Could it be that you have some thread that could be accessing something on the form?

I check my code and I only modify Forms by calling the “Synchronize” function in TThreat.
Maybe is helpful for you

Nick Wilson

Posts: 3
Registered: 9/24/04
Re: Error rendering for scene TContextIOS could not begin.  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 24, 2018 12:42 PM   in response to: Andreas Wegener in response to: Andreas Wegener
Thank you ,

That will give us plenty to work with. If we discover some way around it we'll be sure to post it here.

Andreas Wegener wrote:
Hi Nick,
Not really.
I am still in discussion with Embarcadero.
Looks like that there is an issue if the form is modified from another threat.
That’s what they reply:

1/19/2018 7:13 AM | Steve Axtell
Hello

I had another support case recently that generated this error. The test case did not really qualify as a simple test case but appeared to be the customer's full application. I really didn't have time to debug it.

However the application used the REST components to query a server asynchronously and then did some processing of the results. I believe that the fact that the rest request was being run asynchronously somehow interfered with the drawing of the form. The other thing I noticed was in the iOS device console (which you can view in the Xcode Devices and simulators window) logged this message:

"This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes"

Could it be that you have some thread that could be accessing something on the form?

I check my code and I only modify Forms by calling the “Synchronize” function in TThreat.
Maybe is helpful for you

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02