Article

Mobile bug-report. Uncaught TypeError: Cannot read property 'getComponent' of undefined

Symptoms

While accessing the section:

Type: Terrasoft.SourceCodeException 

Message: Uncaught TypeError: Cannot read property 'getComponent' of undefined 

AdditionalInfo: Script: file:///storage/emulated/0/BPMonline700/AppStructure/rev_0/src/MobileSocialMessageGridPageController.js?hash=c73dfb1d-eca1-40b3-8d5c-c6de590f5a6c%0D%0A%09Line: 160 

Stack trace: 

    at Ext.define.showException (file:///android_asset/www/appV2/Common/Terrasoft.Mobile.Combined.js:39893:41

    at Ext.define.showUncaughtException (file:///android_asset/www/appV2/Common/Terrasoft.Mobile.Combined.js:3461:25

    at Ext.define.onWindowError (file:///android_asset/www/appV2/Common/Terrasoft.Mobile.Combined.js:2987:18

Cause

Manifest lacks components.

Solution

Connect the schemas that are responsible for the "Feed" section in the "Support" workplace in the mobile application manifest.

-  MobileSocialMessageActionsSettingsSupport;

-  MobileSocialMessageGridPageSettingsSupport.

Additionally, remove the schemas that relate to the main workplace, and not to "Support".

-   MobileSocialMessageGridPageSettingsDefaultWorkplace;

-   MobileSocialMessageRecordPageSettingsDefaultWorkplace.

Like 0

Like

Share

0 comments
Show all comments