cancel
Showing results for 
Search instead for 
Did you mean: 

SmartTable crashes while loading

dkraus
Explorer
0 Kudos

Hello,

i am using a SmartTable to display data from the BAckend on the HCP.

Normally everything works fine and the data gets displayed. But sometimes i get an error while loading the application and Smarttable does not get rendered (happens 1 out of ~10 times).

What i don't get is why it only happens sometimes.

Error: ( Image: https://imgur.com/a/joPoAxM )

Uncaught (in promise) TypeError: Cannot read property '_getObject' of null

at constructor.g._getObject (ODataMetaModel-dbg.js:267)

at constructor.g.getProperty (ODataMetaModel-dbg.js:913)

at new M (MetadataAnalyster-dbg.js:65)

at T (TableProvider-dbg.js:61)

at constructor.B._createTableProvider (SmartTable-dbg.js:1594)

at constructor.B._onMetaDataInitialised(SmartTable-dbg.js:1494)

It happens after the Metadata gets loaded and is returned from the Odata-Service.

Here is my Metadata :

Part 1 : https://imgur.com/a/ZQGWqLV

Part 2 : https://imgur.com/a/FCQQsTh

Kind regards

Dennis

Accepted Solutions (0)

Answers (0)