Informix Error -1390: The class "class" has not been defined in any module in the program.
Cause and resolution
The class "class" has not been defined in any module in the program.
The named class has been declared, and it has been used, but it has never been defined. It must be defined at the definition of the first member function of that class.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-1390 fires when a class declared and used throughout the program lacks a formal definition — per the official guidance, the class must be defined at the point where its first member function is implemented.
- A class declared/referenced but never formally defined (its first member function implementation missing), per the official guidance — the direct, only cause.
- A module containing the class's definition omitted from the program build, similar in kind to -1338's missing-function-module case.
Solutions / Resolution
- Define the class at the point where its first member function is implemented, per the official guidance.
- Confirm the module containing the class definition is included in the build, if the definition does exist somewhere but the build omits it.
Examples
N/A
No specific triggering statement is documented — check where the class's first member function should be implemented and confirm it actually is.
Diagnostic Checks
- Search the program (across all modules) for the class's formal definition, and confirm its first member function is actually implemented somewhere included in the build.
Related Errors / Related Topics
- -1391 — "Invalid class specified in AS clause." A related class-definition error, about
an
ASclause's class not deriving properly, rather than a class missing its definition entirely.
A class was used but never formally defined — implement its first member function, and confirm the containing module is included in the build.