hoonybro90's avatar
hoonybro90
Icon for Advocate IV rankAdvocate IV
7 years ago
Status:
Accepted

Cannot read property 'reject' of null

Hi,

since yesterday, we have been having an error where some of our embedded reports aren't loading the data.

The spinner that indicates data loading for individual visuals keep spinning and the error "Cannot read property 'reject' of null" is thrown on reportEmbed.min.js

Uncaught TypeError: Cannot read property 'reject' of null
at XMLHttpRequest.xhr.onreadystatechange [as __zone_symbol__ON_PROPERTYreadystatechange] (reportEmbed:452)
at XMLHttpRequest.g (reportEmbed.min.js:1)
at t.invokeTask (reportEmbed.min.js:1)
at e.runTask (reportEmbed.min.js:1)
at e.invokeTask [as invoke] (reportEmbed.min.js:1)
at f (reportEmbed.min.js:1)
at XMLHttpRequest.h (reportEmbed.min.js:1)
xhr.onreadystatechange @ reportEmbed:452
g @ reportEmbed.min.js:1
t.invokeTask @ reportEmbed.min.js:1
e.runTask @ reportEmbed.min.js:1
e.invokeTask @ reportEmbed.min.js:1
f @ reportEmbed.min.js:1
h @ reportEmbed.min.js:1
XMLHttpRequest.send (async)
g @ reportEmbed.min.js:1
t.scheduleTask @ reportEmbed.min.js:1
e.scheduleTask @ reportEmbed.min.js:1
e.scheduleMacroTask @ reportEmbed.min.js:1
(anonymous) @ reportEmbed.min.js:1
o.(anonymous function) @ reportEmbed.min.js:1
getConceptualSchema @ reportEmbed:458
xhr.onreadystatechange @ reportEmbed:373
XMLHttpRequest.send (async)
getModelsAndExploration @ reportEmbed:392
startFrontLoadReportEmbed @ reportEmbed:96
receiveMessage @ reportEmbed:143

I can also see in the sources that everytime I reload a report it creates a new "reportEmbed" section under "sources" in the debugger.

It seems to be able to load fine the first time if you do a "clear cache and hard reload" but from then on it throws the error.

Does anyone have this problem?

The problem is happening on a report doing an import query on the sql server and a report doing a live connection to an ssas server through an on-premise data gateway.

5 Comments

  • The issues goes away if I do phased loading of the reports if that helps.

     

  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    Icon for Community Support rankCommunity Support

    Hi hoonybro90,

     

    The same issue has been reported internally: CRI 93515183. Will keep you update once I get any information. 

     

    Best Regards,
    Qiuyun Yu 

  • Anonymous's avatar
    Anonymous
    Not applicable

    We are facing the same issue.

  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    Icon for Community Support rankCommunity Support

    Hi all, 

     

    Fix should be in production in the first week of January.

     

    Best Regards,
    Qiuyun Yu