Error Message while using Companion

I am getting the following error while I am using Companion App.
java.lang.stackoverflowerror: stack size 8188kb

I have nearly 1000 blocks on that screen, and the error is actually arising when I start entering value in a Password Textbox.
I guess, this is due to the large number of blocks in the screen.
Please help.

(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.

export_and_upload_aia

.

Things to look for:

Event cascades (One event triggers another then another ...)

Procedure calls eventually calling themselves ad infinitum

Lists that link to themselves

I have one app with more 9.000 blocks and it runs well with APK and Companion.

Are you using this block ?

image

2 Likes

Yes, I have used

Is this block causing the problem?

(Canned Reply: ABG - Download those blocks and post them here)

Please download and post each of those event block(s)/procedures here ...
P.S. These blocks can be dragged directly into your Blocks Editor workspace.

See Download Block Images for a demo.

Thanks, but the issue is resolved. Thank You for the help

Thank you so much. It solved the problem.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.