Symptom
During the initial synchronization of SAP Service and Asset Manager (SSAM), the process fails on the mobile client, preventing the offline store from opening or completing initialization.
- The mobile client log displays the following error: Cannot invoke "com.sap.odata.offline.metadata.Relationship.getName()" because "rel" is null
- In SAP BTP Mobile Services Event Logs, the following entry is recorded: Delta download for an Offline OData client failed. Reason: java.lang.NullPointerException
- The issue may surface several days after transporting migration changes or running migration programs, even if the application initially appeared to function properly.
- Standard backend Gateway error logs (/n/IWFND/ERROR_LOG and /n/IWBEP/ERROR_LOG) do not capture backend runtime errors because the failure occurs during client-side or offline engine metadata relationship parsing.
Read more...
Environment
SAP Service and Asset Manager 2405 / 2505
Product
Keywords
SSAM, SAM, SSAM 2405, SSAM 2505, initial sync, Initial Sync, offline OData, offline odata, Relationship.getName, rel is null, NullPointerException, java.lang.NullPointerException, ProviderNotAvailable, metadata, $metadata, metadata crash, navigation properties, navigation property, associations, association mismatch, copy entity, _CPY, ZPMMobileStatus_CPY, ZPMMobileStatus, PMMobileStatus, configuration, ConfigPanel, /SYCLO/CONFIGPANEL, /SMFND/CORE_MIGRATE_MAPP_CONFG, /IWFND/TRACES, /IWFND/CACHE_CLEANUP, /IWBEP/CACHE_CLEANUP, offline file regeneration, offline schema regeneration, cache refresh, cache cleanup, migration, delta download failed, BTP Mobile Services, offline store init, defining requests, .ini configuration, migration TR, orphaned navigation , KBA , MOB-APP-SAM , SAP Service and Asset Manager , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview