天天看點

如何處理SAP Fiori Launchpad錯誤消息:Could not start the app due to a configuration problem

Created by Jerry Wang, last modified on Dec 03, 2015

Container

ushell

getService

NavTargetResolution

hash

ResolveLink

INTEROP

IMPORT

UI error message:

如何處理SAP Fiori Launchpad錯誤消息:Could not start the app due to a configuration problem

Chrome Development tool裡觀察到具體的error message:

如何處理SAP Fiori Launchpad錯誤消息:Could not start the app due to a configuration problem
如何處理SAP Fiori Launchpad錯誤消息:Could not start the app due to a configuration problem

找出具體抛error message的JavaScript source code: core-min-3.js:

如何處理SAP Fiori Launchpad錯誤消息:Could not start the app due to a configuration problem

root cause是解析navigation target時報錯:

如何處理SAP Fiori Launchpad錯誤消息:Could not start the app due to a configuration problem
如何處理SAP Fiori Launchpad錯誤消息:Could not start the app due to a configuration problem

使用OData 讀取navigation target資訊:

如何處理SAP Fiori Launchpad錯誤消息:Could not start the app due to a configuration problem

讀取失敗,傳回response length為0:

如何處理SAP Fiori Launchpad錯誤消息:Could not start the app due to a configuration problem

傳回結果是空的:

如何處理SAP Fiori Launchpad錯誤消息:Could not start the app due to a configuration problem

在backend debug找出出問題的代碼: line 79。

Callstack如下:

![在這裡插入圖檔描述](https://img-blog.csdnimg.cn/20201122212252850.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2kwNDI0MTY=,size_16,color_FFFFFF,t_70#pic_center)

如何處理SAP Fiori Launchpad錯誤消息:Could not start the app due to a configuration problem
如何處理SAP Fiori Launchpad錯誤消息:Could not start the app due to a configuration problem

使用debug 從line 79點shift + F12直接跳至method 尾部,問題即解決。

繼續閱讀