Skip to main content
Kofax

When using a table locator; the following error is displayed: “The execution of a locator method failed. Class = “ClassName”; Locator = “LocatorName”; Original error message: Fox-Exception: Index (0) out of range (0 - -1)”. How can I resolve the issue?

10656

QAID # 10656 Published 

Question / Problem:

When using a table locator, the following error is displayed:

“The execution of a locator method failed. Class = “ClassName”, Locator = “LocatorName”, Original error message: Fox-Exception: Index (0) out of range (0 - -1)”.

How can I resolve the issue?

Answer / Solution:

The error message displayed will appear when trying to access an object that does not exist. In many cases, the error displayed is manifested due to the fact that the wrong locator is used when selecting an amount locator in step 4 of the Automatic Table Extraction process.

As noted in the Help files, a format locator should be selected when assigning an amount locator in step 4 of the Automatic Table Extraction process.

Applies to:

Product Version Category
AXPRO 3.0 Server
AXPRO 3.0 Project Builder
AXPRO 3.1 Server
AXPRO 3.1 Project Builder
AXPRO 3.5 Server
AXPRO 3.5 Project Builder