Runtime error 216 at *address*

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Grovkillen
Automation Wizard
Posts: 1081
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Runtime error 216 at *address*

Post by Grovkillen » Mon Jul 29, 2024 7:36 am

I recompiled a script that now get this error. I have no way of debugging where this happens since the error isn't caught by the ON_ERROR sub routine.

Image

According to Google it's happening because the program is trying to read memory which is out if its scoop.

Extra information: the error only happens when I run the EXE as a sub process of the main EXE. I do this to run python code which else will be eating up memory.
Let>ME=%Script%

Running: 15.0.25
version history

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1370
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Runtime error 216 at *address*

Post by Dorian (MJT support) » Mon Jul 29, 2024 9:56 am

This was a bit beyond me so I asked Marcus.

This is what he had to say :
If it's compiled, enable logging, run it and when the error occurs don't close error but grab log file, see where it got to
.
Yes, we have a Custom Scripting Service. Message me or go here

User avatar
Grovkillen
Automation Wizard
Posts: 1081
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: Runtime error 216 at *address*

Post by Grovkillen » Mon Jul 29, 2024 10:35 am

Ah, yes I will test that. A bit of a hassle but I manage :)
Let>ME=%Script%

Running: 15.0.25
version history

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts