Suppose you have encountered with this error when you launch your Fiori application:
Uncaught Error: failed to load ‘FioriTest/view/Master.controller.js’ from ./view/Master.controller.js: TypeError: Cannot read property ‘md’ of undefined
The error is raised in framework file UIComponent-dbg.js. In most of the case the error is not in framework side, but due to wrong code in your own application code.

1). click the hyperlink:

2). You will be automatically navigated to the code where the exception - the error message is raised.
Set a breakpoint here:

3). re-launch your Fiori application, the breakpoint is triggered, you can then find the detail callstack by evaluating the variable e:

Search in Opportunity application, and we realized that there is a missing require statement:

after the require statement above is added, the error message changes:

so we are still lack of another necessary require statement, and this is the root cause of the error message. Once we add the missing require statement, issue will be resolved.

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

How to handle the generic error Cannot read property md of undefined相关推荐

  1. Multisim14安装报错fatal error!Required NIPathsDir property NISHAREDDIR is undefined.

    在该过程中,一直报错... 已经尝试过下载了NI的卸载软件然后重下没用.手动设置了系统变量还是没用.目前还是无法解决该问题.绿条还是能加载,只是加载到满时就不再动了,点击右边的确定就又会同时关闭... ...

  2. A generic error occurred in GDI+的解决方案

    转自智慧光原文A generic error occurred in GDI+. 解决方法 使用image1.RotateFlip(RotateFlipType.Rotate90FlipNone)方法 ...

  3. Genymotion出现unknown generic error和This may occur if you are using a proxy错误的解决方案

    今天在实验室希望在Genymotion上多下载几个模拟器,需要重新登录帐号,却发现一个错误,叫做unknown generic error.前几天还出现过一个很诡异的问题.截图如下: . (1)unk ...

  4. 绝地求生显示lsukn服务器,电脑中玩绝地求生出现Failed to initialize BattlEye Service:Generic Error怎么办...

    很多用户都喜欢在电脑中玩绝地求生吃鸡这款游戏,而在玩的过程中,避免不了会遇到一些状况,例如有玩家在玩绝地求生游戏ide时候,出现了Failed to initialize BattlEye Servi ...

  5. OpenGL.error.NullFunctionError: Attempt to call an undefined function”解决方案

    在windows_64下利用命令:pip install pyopengl 安装python的openGL环境.结果运行示例代码出现以下错误: OpenGL.error.NullFunctionErr ...

  6. Error in mounted hook: “TypeError: Cannot read property ‘init‘ of undefined“

    今天在使用ECharts的时候遇到了报错: Error in mounted hook: "TypeError: Cannot read property 'init' of undefin ...

  7. Error in nextTick TypeError Cannot read property 'children' of undefined 解决

    Error in nextTick: "TypeError: Cannot read property 'children' of undefined" 解决 报错 Error i ...

  8. Error in nextTick: TypeError: Cannot read property 'children' of undefined 解决

    报错 Error in nextTick: "TypeError: Cannot read property 'children' of undefined" 解决:加一个判断 i ...

  9. PyOpenGL报错OpenGL.error.NullFunctionError: Attempt to call an undefined function glutInit, check for

    在学计算机视觉时,增强现实需要导PyOpenGL,于是先在官网下载了PyOpenGL包 后报错,搜索解决办法直接pip install了一个镜像文件.依然报错OpenGL.error.NullFunc ...

最新文章

  1. replace函数对dataframe中的值进行替换(所有数据列中的相同值)
  2. java resume过时方法_学点开发|关于Java多线程用法解析
  3. 保姆级解读!CSS属性transform变形+2D转换+3D转换实例+代码+解析——Web前端系列学习笔记
  4. Socket网络编程——C++实现
  5. fedora下配置ipv6 dns服务器
  6. 工作总结14:路径错误
  7. spring boot配置dubbo(properties)
  8. TabLayout+Fragment+ViewPager+FragmentStatePagerAdapter实现Tab标签
  9. 解决VMWare虚拟机IP变成127.0.0.1和选择固定IP段
  10. Linux连接mysql 出现Access denied for user ‘root‘@‘localhost‘(using password: YES)错误解决方案
  11. JVM内存模型(通俗易懂)
  12. 前端实现打印页面的指定内容 + 快递面单的模板
  13. NRF24L01+模块:一对一双向通信,成功!
  14. astc纹理压缩格式
  15. 艾萨克·阿西莫夫《日暮》
  16. Flash实例教程:AS3代码简单表现照片底片效果
  17. PMP 学习笔记 第8章 项目质量管理
  18. QQ抢车位外挂(续)
  19. 安卓开发API版本选择
  20. mysql8.0.15下载后怎么打开_mysql8.0.15下载安装详细教程新手必备!

热门文章

  1. OLEDB不使用SQL语句直接打开数据表
  2. 2016年3月1日Android实习笔记
  3. LaTeX中用BibTex管理参考文献
  4. [组件] TopN 排行榜
  5. 几种常见SQL分页方式效率比较
  6. Color picker:拾色器
  7. asp.net 2.0下嵌套masterpage页的可视化编辑
  8. sklearn自学指南(part7)--使用手册的目录
  9. R开发(part2)--R语言中的数学计算
  10. python turtle setheading_一文掌握Python绘图库Turtle的使用