Sunday, June 7, 2009

FRM-18108: Failed to load the following objects

When trying to compile an applications form, the following (or similar) errors are seen, followed by other compilation errors.

FRM-18108: Failed to load the following objects.
.
Source Module:INVSTAND
Source Object: INV_MVT_RECORD_GROUPS
Source Module:INVSTAND
Source Object: INV_ALERTS
Source Module:INVSTAND
Source Object: INV_PARAMS
Source Module:INVTTESR
Source Object: SERIAL_ENTRY
Source Module:INVTTELT
Source Object: INV_LOT_ENTRY
Source Module:APPSTAND
Source Object: STANDARD_FOLDER
Source Module:INVSTAND
Source Object: INV_STANDARD_PC
Source Module:APPSTAND
Source Object: STANDARD_PC_AND_VA
Source Module:APPSTAND
Source Object: STANDARD_TOOLBAR
Source Module:APPSTAND

The above errors occur when the referenced forms either cannot be found, or cannot be opened. In the above example, the problem is with APPSTAND.fmb and INVSTAND.fmb. This will occur if FORMS_PATH has not been modified, and $AU_TOP/forms/US has not been added as described earlier.

If you have modified FORMS_PATH and still see the problem, check the following:

  1. Make sure you have exported the environment variable FORMS_PATH: start a new shell and confirm that the output from the command "echo $FORMS_PATH" still shows the new setting.
  2. Confirm you have read permissions on the referenced forms, such as $AU_TOP/forms/US/APPSTAND.fmb.
  3. Check that you do not have any old versions in your current working directory, as these will be picked up by Forms before it searches through the directories listed in FORMS_PATH.
  4. Ensure you can open the referenced forms in the builder
  5. If all else fails, use OS tracing (truss or strace as applicable) to determine why the referenced forms cannot be found or opened.

1 comment:

  1. FRM-18108: Failed to load the following objects.

    Source Module:htastnd.olb
    Source Object: CGSO$DEFAULT_ITEM_CT
    Source Module:htastnd.olb
    Source Object: CGSO$DEFAULT_ITEM_CT
    Source Module:htastnd.olb
    Source Object: CGSO$DEFAULT_ITEM_CT
    Source Module:htastnd.olb
    Source Object: CGSO$DEFAULT_ITEM_CT
    Source Module:htastnd.olb
    Source Object: CGSO$DEFAULT_ITEM_CT
    Source Module:htastnd.olb
    Source Object: CGSO$DEFAULT_ITEM_CT
    Source Module:htastnd.olb
    Source Object: CGSO$DEFAULT_ITEM_CT
    Source Module:htastnd.olb
    Source Object: CGSO$BLOCK_CT
    Source Module:htastnd.olb
    Source Object: CGSO$CANVAS
    Source Module:htastnd.olb
    Source Object: CGSO$CANVAS
    Source Module:Ofgcalt.fmb
    Source Object: CALENDAR
    Source Module:Ofgcalt.fmb
    Source Object: CALENDAR_TIME
    Source Module:htastnd.olb
    Source Object: CGSO$WINDOW

    ReplyDelete