Article

Uncaught TypeError: Cannot read property 'ColumnConfigs' of null [Mobile]

Symptoms

When synchronizing/entering a mobile application section, the following error is displayed:

Type: Terrasoft.SourceCodeException 

Message: Uncaught TypeError: Cannot read property 'ColumnConfigs' of null 

Additional information: 

        Script: file:///android_asset/www/Common/Terrasoft.Mobile.Combined.js%0D%0A%09Line: 19048 

Calls sequence: 

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

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

    at window.onerror (file:///android_asset/www/Common/Terrasoft.Mobile.Combined.js:1666:20)

Cause

Schema duplication in the manifest

Solution

#1

In the base MobileApplicationManifest schema of the Mobile package change the following string:

…
Models: {
    …
    Activity: {
        …
        RequiredModels: [
            'Contact', 'ActivityType', 'ActivityStatus',
            'ActivityResult', 'ActivityCategory', 'ActivityPriority', 'Contact', 
            'Account', 'Opportunity', 'Lead', 'ActivityParticipantRole',
            'ActivityParticipant', 'ActivityCategoryResultEntry', 'ActivityCorrespondence', 'Activity'

Remove duplicate "Contact" value

#2

Update mobile app to a more recent version.

Necessary conditions and possible restrictions

BPMonline Version 7.1.0 - 7.5.0

Mobile application version:

Android 7.6.2. - 7.6.3.

iOS 7.6.2

Like 0

Like

Share

0 comments
Show all comments