ATEasy Run-Time Errors

An asterisk * in the Recoverable column means that the error is recoverable.

Arrays, Indexing, REDIM Errors

Error Code

Description

Recoverable

300

Array index is out of bounds

 

301

Index into string is out of bounds

 

302

New size for REDIM dimension # <num> is not positive : <num>

 

303

Total number of elements for REDIM array is too large : <NUM>

 

304

REDIM of Const array not allowed

 

305

REDIM of struct field not allowed

 

306

SAFEARRAY returned through SAFEARRAY Var parameter has different number of dimensions

 

307

SAFEARRAY returned through SAFEARRAY Var parameter has different element data size

 

Assignment & Conversion Errors

Error Code

Description

Recoverable

310

Unable to assign a value

 

311

Unable to convert to an integer

 

312

Unable to convert to an bool

 

313

Unable to convert to a string

 

314

String value is not name of procedure

 

Drivers Errors

Error Code

Description

Recoverable

320

Unable to open interface for driver '<number>'

 

321

Driver shortcut '<driver shortcut name>' and the driver interface types do not match. Please change the driver shortcut or the driver to the desired interface.

 

Error Handling Errors

Error Code

Description

Recoverable

330

Catch or EndTry executed without Try -- probable Goto into Try structure

 

331

No error to re-throw

 

332

System exception 0x<hex number> '<description>' occurred in DLL procedure '<name>'

 

333

System exception 0x<hex number> '<description>' occurred in DLL procedure '<name>'. ATEasy may be in an unstable state. Please save your files and exit ATEasy.

 

334

System exception 0x%X '<string>'

 

335

Retry on non-retryable error

 

336

Default empty string was over-written during call to DLL procedure '<proc-name>' -- probably passed empty string to Val String parameter which should be declared as a Var parameter.

 

337

Rethrow must be in Catch block or in code called from a Catch block

 

Forms, Controls, & Menus Errors

Error Code

Description

Recoverable

340

Control is not in specified/current form

 

341

Unable to load form

 

342

Only one MDI form is allowed

 

343

No MDI form exists for MDI child form

 

344

No active menu bar

 

345

Menu not found under active menu bar

 

346

Unable to load form '<name>'

 

347

Unable to unload form '<name>'

 

348

MDI child form must be load in modeless mode. Change modal flag on Load statement to False

 

349

Parent parameter to Load statement must be window handle or form object

 

350

Form is not loaded

 

351

Form object is null

 

352

Control object is null

 

353

Method or property not available for MDI form

 

354

Object is not a form

 

Interrupts & Threads Errors

Error Code

Description

Recoverable

359

Unable to access form, control, or menu event via object variable from different thread

 

360

Thread or Interrupt procedure cannot be inside a form

 

361

Thread procedure must have one Long Val parameter

 

362

Interrupt procedure must have one Long Val parameter or no parameters

 

363

Interface event procedure must have three parameters : Long or enumAInterfaceType Val, Long Val, Long or enumAInterfaceEvents Val

 

364

Thread or Interrupt procedure cannot return a value

 

I/O Tables Errors

Error Code

Description

Recoverable

369

Output data value out of range

 

370

Bad I/O Table parameter type

 

371

Read past end of input in I/O Table

 *

372

Array delimiter not found during I/O Table input

 *

373

Too few data values for I/O Table array parameter

 *

374

Too many data values for I/O Table array parameter

 *

375

No Discrete with matching value

 *

376

Error converting variable for I/O Table Input/Output

 *

377

No match found for I/O Table Input

 *

378

Device error from I/O Table Receive

 *

379

Device error from I/O Table Send

 *

380

Device error from I/O Table Trigger

 *

381

Error creating file

 *

382

Error opening file

 *

383

Error reading file

 *

384

Error writing file

 *

Load/Unload Library Errors

Error Code

Description

Recoverable

389

LoadLibrary failed : <dll>

 

Com Events Errors

Error Code

Description

Recoverable

390

First parameter of an event handler must be a Val object type

 

391

Procedure variable has no value or procedure path name is incorrect

 

392

Procedure was not compiled. If procedure is specified by string expression, there must be a call on the procedure somewhere elsewhere

 

393

Event handler procedure '%s' should have the first parameter as an object followed by the event parameters

 

394

`<string>` is not an event for the specified object

 

395

Unsupported type info for event '%s' of the specified object

 

396

Var/Val mismatch between event and handler procedure for parameter '<string>' in procedure '<string>'

 

397

Type of parameter '<string>' in procedure '<string>' is not allowed for event handler

 

Procedure Calls Errors

Error Code

Description

Recoverable

398

Empty (Null) Any data type argument passed to non-Any parameter 'name' of procedure '<proc-name>'

 

399

Variable pointed to by Any argument is not compatible with Var parameter '<name>' of procedure '<proc-name>'

 

400

Unable to load DLL '<dll>'

 

401

Procedure ordinal # '<number>' not found in DLL '<dll>'

 

402

Procedure '<name>' not found in DLL '<dll>'

 

442

"<dll>' is not loaded - UnloadLibrary statement was executed without subsequent LoadLibrary"

 

403

Procedure expressions not allowed

 

404

Wrong number of parameters

 

405

Error return from Internal library routine

 

406

Function did not return value

 

407

Unable to assign argument to parameter '<name>' of procedure/method '<name>' to argument

 

408

Unable to assign output value of parameter '<name>' of procedure/method '<name>' to argument

 

409

Unable to return a value

 

410

Wrong number of parameters for procedure in procedure variable

 

411

Procedure variable has no value

 

412

Form procedure called through procedure variable not in same form

 

413

Argument passed to procedure parameter of DLL procedure must be a DLL procedure

 

414

Procedure '<name>' was not compiled since no reference existed when compiling

 

415

Procedure '<name>' has no return value but procedure variable was called as a function

 

416

Procedure '<name>' call through procedure variable to an inactive program is not allowed

 

417

Generic object argument is not compatible with Var parameter '<name>' of procedure '<name>'

 

418

Invalid structure address returned from DLL procedure '<name>'

 

443

"Any parameters not allowed in ATEasy procedure that will be called from a dll"

 

490

Actual argument which is marked as Const cannot be passed to Var parameter '<param-name>' of procedure '<proc-name>'

 

Object Properties & Methods Errors

Error Code

Description

Recoverable

419

Object is null

 

420

Object method or property ''<name>' failed: <string>

 

421

Object method or property '<name>' failed: <string>\r\n\r\nATEasy may be in an unstable state. Please save your files and exit ATEasy.\r\n

 

422

Late-bound object does not have member '<name>'

 

423

Bad property return value

 

424

Value in variant is not an object

 

425

Expected module object: AProgram, ASystem, or ADriver

 

426

No argument supplied for required parameter '<name>' in method/property '<name>'

 

427

Type of argument is incompatible with parameter '<name>' in method/property '<name>'

 

428

Too many arguments passed to method/property '<name>'

 

429

Cannot assign a value to a method '<name>'

 

430

Unable to call the method or property. Object does not support the IDispatch interface

 

Variants Errors

Error Code

Description

Recoverable

431

Variant operator failed

 

432

Expected Variant array

 

433

Too many subscripts for current value of Variant

 

434

Slicing of variant array not allowed

 

435

Error variant (vtError) passed to parameter '<name>' of procedure '<name>' - <value>

 

436

Value in variant cannot be converted to an integer

 

437

Value in variant is not a string or object

 

438

Array in variant has wrong number of dimensions

 

439

Variant passed to SetLen must contain a string

 

444

64-bit integer values in variants are not supported by the older version of windows system DLL - oleaut32.dll

 

Miscellaneous Arithmetic Errors

Error Code

Description

Recoverable

440

Divide by zero

 

441

Currency operator failed

 

Case Statement Errors

Error Code

Description

Recoverable

445

Type of Case value doesn't match Select expression

 

ExitTask, ExitTest Statement Errors

Error Code

Description

Recoverable

450

Not In Test

 

451

Not In Task

 

Print Statement Errors

Error Code

Description

Recoverable

455

Invalid Print Using format

 

Run, Task, Test Errors

Error Code

Description

Recoverable

459

Operation is not allowed when calling OnReset events on idle thread

 

460

Operation not allowed in Doit mode

 

461

Specified object is not a program

 

462

Statement is not allowed in current run mode (TaskIt/TestIt/Reset)

 

463

Program must be Loaded to execute the statement

 

464

No Task or Test with given number

 

465

Expected Task or Test Object

 

466

Expected Test Object

 

467

No Test found with name '<name>'

 

468

Error number in Error statement must not be zero

 

469

No Program found with name '<name>'

 

470

Program shortcut '<name>' does not have a program document

 

471

Statement must be run on main application thread

 

472

Task or Test object is not in active program

 

473

Value of UutCount parameter in the statement must be a non-negative integer ( %d )

 

.Net Methods Errors

Error Code

Description

Recoverable

480

Unable to assign argument to parameter '<name>' of .NET method '<name>'

 

481

Unable to assign argument to parameter '<name>' of .NET method '<name>' because old COM library does not allow Int64 values

 

482

Bad return value for .NET static call

 

New Statement Errors

Error Code

Description

Recoverable

485

Symbol following NEW keyword was a COM/.NET class or constructor when compiled, but this is no longer true. Check if library has changed since build or if different version of the library is found when searching from location of EXE file

 

Unhandled Error in OnError Errors

Error Code

Description

Recoverable

497

Unhandled error in OnError

 

Run-Time Internal Errors

Error Code

Description

Recoverable

498

Internal Run-time Error # <number>

 

Just-In-Time Parse Errors

Error Code

Description

Recoverable

499

Just-In-Time <compiler error number and description>