APAR status
Closed as program error.
Error description
Case: Create Locations via API with associated with 2 systems : - Primary System (PRIMARIO) - System type network (SYSTEMTYPENWRK) Object Structure used: X3LOCHIERARCHY, copy of MHOPERLOC with objects LOCATIONMETER and IMGLIB removed Endpoint: Postman URL: http://localhost/maximo/oslc/os/x3lochierarchy?&lean=1&oslc.sel ect=* Payload used : Method: POST URL: http://in-house-environment.com:9080/maximo/oslc/os/x3loch ierarchy?&lean=1&oslc.select=* Header: Content-Type: application/json Body: { "status": "OPERATING", "classstructureid": "SEAL", "description": "SEAL", "orgid": "EAGLENA", "siteid": "BEDFORD", "parent": "XPRIMARIO", "systemid": "PRIMARIO", "lochierarchy": [ { "systemid": "MORFOLOGIA", "orgid": "EAGLENA", "newparent": "", "parent": "" } ], "x3societa": "6", "x3tronco": "3", "x3percorso": "25325" } Receive the error in the POST call result: { "Error": { "extendedError": { "moreInfo": { "href": "http://localhost/maximo/oslc/error/messages/BMXAA4214E" } }, "reasonCode": "BMXAA4214E", "message": "BMXAA4214E - An unknown error has occurred. Please contact your system administrator for assistance. Gather the logs from the <HOME> directory and determine where and why the error occurred.\n\tnull", "statusCode": "400" } } The log is appended with the following information: [2/1/23 16:28:56:494 CET] 00000260 SystemOut O 01 Feb 2023 16:28:56:494 [ERROR] [MAXIMO] [CID-MXOSLC-9546] Processing failed for X3LOCHIERARCHY. The object structure is 1. The primary object is LOCATIONS. The key is BEDFORD.null [2/1/23 16:28:56:494 CET] 00000260 SystemOut O &&& empty error [2/1/23 16:28:56:498 CET] 00000260 SystemOut O 01 Feb 2023 16:28:56:497 [ERROR] [MAXIMO] [CID-MXOSLC-9546] null java.lang.NullPointerException: null at psdi.mbo.SqlFormat.setObject(SqlFormat.java:582) ~[businessobjects.jar/:?] at psdi.mbo.SqlFormat.setObject(SqlFormat.java:557) ~[businessobjects.jar/:?] <SNIP> at psdi.iface.app.location.MaxOperLocProcess.setAdditionalData( MaxOperLocProcess.java:173)~[businessobjects.jar/:?] [2/1/23 16:28:56:501 CET] 00000260 SystemOut O 01 Feb 2023 16:28:56:500 [ERROR] [MAXIMO] [CID-MXOSLC-9546] BMXAA4214E - An unknown error has occurred. Please contact your system administrator for assistance. Gather the logs from the <HOME> directory and determine where and why the error occurred. null psdi.util.MXSystemException: BMXAA4214E - An unknown error has occurred. Please contact your system administrator for assistance. Gather the logs from the <HOME> directory and determine where and why the error occurred. null at psdi.iface.mic.MicService.processObjectStructureData(MicServ ice.java:993)~[businessobjects.jar/:?] at psdi.iface.mic.MicService.processOSLCAsJSON(MicService.java:636) ~[businessobjects.jar/:?] at com.ibm.tivoli.maximo.oslc.provider.OSPOSTRouteHandler.handl eRequest(OSPOSTRouteHandler.java:902) ~[businessobjects.jar/:?] at com.ibm.tivoli.maximo.oslc.provider.MaximoOslcProviderServle t.handleRoute(MaximoOslcProviderServlet.java:1300) ~[commonweb.jar:?] <SNIP> Caused by: java.lang.NullPointerException at psdi.mbo.SqlFormat.setObject(SqlFormat.java:582) ~[businessobjects.jar/:?] EXPECTED RESULTS: Two records added on the LOCANCESTOR, one with system= PRIMARIO and ancestor=XPRIMARIO and one with system= PRIMARIO and ancestor=locationcreated. UNEXPECTED RESULTS: Receive error BMXAA4214E - An unknown error has occurred. Environment: Maximo 7.6.1.2 & 7.6.1.3
Local fix
Dev to provide fix
Problem summary
**************************************************************** * USERS AFFECTED: * * MAXIMO * **************************************************************** * PROBLEM DESCRIPTION: * * LOCATION WITH HIERARCHY CREATED VIA API GIVES BMXAA4214E * * ERROR * ****************************************************************
Problem conclusion
The fix for this APAR is contained in the following maintenance package: release\fix pack for Release 8.x Product
Temporary fix
Comments
APAR Information
APAR number
IJ46181
Reported component name
MAXIMO ASST MGM
Reported component ID
5724R46AM
Reported release
761
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2023-03-28
Closed date
2023-04-16
Last modified date
2023-04-16
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
MAXIMO ASST MGM
Fixed component ID
5724R46AM
Applicable component levels
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"Maximo Asset Management"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"761","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
16 April 2023