IBM Support

Error MXAPIINSPFORM: The schema definition is missing / Inspections data mxapiinspectionres: The schema definition is missing

Troubleshooting


Problem

After installing the January/2024 iFix for Maximo Mobile 8.10 (iFix09) and Maximo Mobile 8.11 (iFix04) the error in question starts to show up after installing Maximo Mobile application in mobile devices, during initial data download process.

Symptom

Error messages are displayed while performing initial data download on Maximo Mobile application:
1. MXAPIINSPFORM: The schema definition is missing
2. Inspections data mxapiinspectionres: The schema definition is missing

Cause

The problem is caused by a database table and object structure relationship that remained after the Maximo Visual Inspections integration components moved to the common components area in Graphite, so it can be used by other products when necessary. To solve the problem, execute the steps below:

Resolving The Problem

ERROR CAUSE: BMXAA4160E - A major exception has occurred. Check the system log to see if there are any companion errors logged. Report this error to your system administrator.\n\tpsdi.app.inspection.mvi.ImageInferenceSet
1. Check if INSPECTIONIMAGEINFERENCE reference exists in MXAPIINSPECTIONRES object structure (Object Structures application in Maximo/Manage).
2. Check if IMAGEINFERENCE reference exists in MXAPIINSPECTIONRES object structure.
3. If they do exist, then run the 2 SQL commands in database (this will allow user to edit the relationships under Object Structures application):
update maxintobject set userdefined=1 where intobjectname='MXAPIINSPECTIONRES';
update maxintobjdetail set userdefined=1 where intobjectname='MXAPIINSPECTIONRES' and objectname='INSPECTIONIMAGEINFERENCE';
commit;
4. Access MXAPIINSPECTIONRES object structure in the Object Structures application and delete the INSPECTIONIMAGEINFERENCE reference under "Source Objects for MXAPIINSPECTIONRES" table.
5. Restore 'userdefined' = 0 value for MXAPIINSPECTIONRES (undo the change performed on the previous SQL command, so it will prevent others from editing it) update maxintobject set userdefined=0 where intobjectname='MXAPIINSPECTIONRES'; commit;
6. RE-BUILD Maximo Mobile Schema.
Open this link on your web browser (Chrome, Firefox etc) change these variables ($MAXIMOLINK, $USERLOGIN, $PASSWORD) to your maximo http link, username and password user to login on Maximo Mobile:
$MAXIMOLINK/maximo/oslc/graphite/mobile/schema?regenerate=1&localVersion=1&_lid=$USERLOGIN&_lpwd=$PASSWORD This process will generate a build with the mobile schema.
Scroll down until the end of the page and check for any "ERRORS" section. If this section is not displayed, then you don't have errors related to schema anymore.
7. Refresh data on Maximo Mobile application.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSRHPA","label":"IBM Maximo Application Suite"},"ARM Category":[{"code":"a8m3p000000hAgaAAE","label":"Maximo Application Suite-\u003EMAS Applications-\u003EMobile"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
09 February 2024

UID

ibm17116408