aequos-solutions / modern-data-visualizer

Documentation for the Modern Data Visualizer solution
https://aequos-solutions.github.io/modern-data-visualizer/
8 stars 7 forks source link

[BUG] I get a Cannot read properties of null (reading 'whenFinished') when loading the results webpart #120

Open MartinSpitz opened 1 year ago

MartinSpitz commented 1 year ago

Version used 1.5.4

When loading the page with five instances of the results webpart, I sometimes get a "Cannot read properties of null (reading 'whenFinished')". When we refresh the page, it loads correctly. We have upgraded from PNP to aequos.

Screenshots image

Laul0 commented 1 year ago

Hi @MartinSpitz,

Did you have this issue sometimes with PnP Search too? This kind of issue occurs sometimes due to the SharePoint API rather than the solution itself.

MartinSpitz commented 1 year ago

Hi @Laul0 No never had that issue with PnP search.

Laul0 commented 1 year ago

Ok. We will check on our side by adding several instances of the Visualizer Web Part if we can reproduce the same behavior.

MartinSpitz commented 1 year ago

Hi @Laul0 It also happens when only one instance of the webpart is present. We use the "Detail List" layout.

TrannumS commented 1 year ago

Hi @MartinSpitz ,

We have tried to replicate the behavior but could not. We have tried to upgrade from pnpmodernsearch to aqeuos solution by adding single as well as multiple data visualizer webparts, and it seems to be working fine at our end. In order to dig deeper, could you please share the exact steps you followed to upgrade the solution so that we can reproduce the above behavior.

Thanks

MartinSpitz commented 1 year ago

Hi @TrannumS We uninstalled the PNPmodernsearch. Then afterwards installed aequos just like your installation documentation specifies. https://aequos-solutions.github.io/modern-data-visualizer/upgrade_from_pnp/

MartinSpitz commented 1 year ago

@TrannumS I get a lot of these when the error comes. image

Laul0 commented 1 year ago

Hi @MartinSpitz,

Do you still meet your error messages?

DyHarvey commented 8 months ago

Hello, Has there been any updates to this? I assume not? I am unfortunately also getting this exact same error with my implementation of Aequos (Version :1.4.1.0) Just like Martin we are using multiple instances of the results web part and when refreshing the page it disappears. This does not permanently fix it however as these errors appear again/intermittently on subsequent page loads.

aequosword commented 8 months ago

Hi @DyHarvey

We received your email as well as your comment. We provided you with the answer by email. Any change about this issue will be shared to this issue. We will not warn you by email. So, please keep an eye on the GitHub issue to have all the additional information 🙂

Thank you