天天看点

如何处理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 尾部,问题即解决。

继续阅读