Calendar loading gets the app stuck

2
Hello everybody, I’m working on an app that has a calendar showing events. The calendar is based on the Calendar from Mendix present in the marketplace. The calendar is standard in every way, it has no customization, and it worked until I upgraded from Mendix Studio Pro 10 beta to the definitive version. The problem now is the calendar loads just fine the first time (correctly showing all events), but the loading bar stays there and never ever leaves both in the cloud and local versions. This causes the app to get stuck in case a user leaves the calendar page and then tries to load it again. I get 2 errors: this._reactRoot is null 259/_render/<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:314225 _render@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:314209 259/buildRendering/<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:313794 Pe/<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:9575 Pe@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:9722 ce/<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:5600 Fe@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:9780 ce@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:5585 p@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:651 buildRendering@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:313673 create@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:10:49138 postscript@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:10:48570 dojo/_base/declare/</w/E<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:80294 708/c/<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:193908 forEach@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:31334 c@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:193617 parseTopLevel@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:194501 parseContent@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:386518 _parseWidgetNode@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:278358 e@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:202945 e@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:203089 e@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:203043 _parseNode@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:203107 parse@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:201332 startup@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:276091 708/c/<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:194070 forEach@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:31334 c@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:194015 parse@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:194341 4525/e.exports.loadWidgetsIn@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:257039 w@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:212079 3705/navigateTo/this._pendingRequest</<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:213511 3705/navigateTo/this._pendingRequest<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:213502 c@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:49843 s@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:49769 dojo/Deferred/</d/this.resolve@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:50787 u@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:50214 dojo/Deferred/</l/<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:50121 c@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:49843 dojo/Deferred/</d/u.then@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:51123 c@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:49946 s@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:49769 dojo/Deferred/</d/this.resolve@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:50787 u@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:50214 dojo/Deferred/</l/<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:50121 c@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:49843 s@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:49769 dojo/Deferred/</d/this.resolve@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:50787 u@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:50214 c@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:49974 s@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:49769 dojo/Deferred/</d/this.resolve@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:50787 3705/w/<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:212092 5082/get/<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:223005 promise callback*get@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:222995 w@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:212079 3705/navigateTo/this._pendingRequest<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:213081 c@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:49843 s@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:49769 dojo/Deferred/</d/this.resolve@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:50787 3705/navigateTo/this._pendingRequest<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:213027 promise callback*3705/navigateTo/this._pendingRequest<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:213015 navigateTo@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:213062 4362/g.prototype.startup/</<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:244286 4362/g.prototype.startup/<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:244251 o@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:55459 d@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:255044 136/push/<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:254777 _process@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:253714 endPush@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:253906 136/init/</<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:254281 setTimeout handler*setTimeout@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:211195 136/init/<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:254143 EventListener.handleEvent*onPopstate@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:210882 init@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:254117 4362/g.prototype.startup@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:243407 7831/t.K/this.startup/<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:176443 7831/t.K/this.startup@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:176670 async*7337@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:241156 P@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:66:355138 @http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:66:357809 @http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:66:357864 Pe/<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:9652 Pe@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:9722 $e/<@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:9913 Fe@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:9780 $e@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:9852 ce@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:5632 p@http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:651 @http://localhost:8080/mxclientsystem/mxui/mxui.js?638239220677684041:5:124610 PageCalendar.calendar1: attempt to uninitialize widget that is not loaded yet, check widget structure Is anyone else having this issue? Does anyone know how to solve it? Thanks! AB
asked
2 answers
0

Hi Andrea,
 

The error you are encountering with the Calendar widget in your Mendix application might be related to changes or updates in the Mendix Studio Pro version that you upgraded to. It's possible that some incompatibilities or conflicts with the previous version are causing the widget to behave unexpectedly.

To troubleshoot and resolve this issue, here are some steps you can follow:

1. Clear Browser Cache: Sometimes, issues can arise due to cached files. Try clearing your browser cache and reload the application to see if the issue persists.

2. Check Widget Version: Ensure that you are using the latest version of the "Calendar" widget from the Mendix Marketplace. If there are any updates available, try updating the widget to the latest version and see if that resolves the issue.

3. Review Mendix Version Compatibility: Confirm that the "Calendar" widget you are using is compatible with the version of Mendix Studio Pro you upgraded to. If the widget has specific version requirements, make sure you meet those requirements.

4. Reconfigure the Calendar Widget: Remove the existing "Calendar" widget from the page and re-add it. Then, reconfigure the widget settings according to your requirements. Sometimes, this can help resolve widget initialization issues.

5. Check for Widget Dependencies: The "Calendar" widget might depend on other widgets or modules. Ensure that all necessary dependencies are present and properly configured in your project.

6. Review Widget Documentation: Check the documentation of the "Calendar" widget for any updates, changes, or troubleshooting steps that might be relevant to your situation.

7. Test in a Clean Project: Create a new Mendix project and add the "Calendar" widget to a simple page to see if the issue persists. This can help determine if the problem is specific to your current project or if it's a broader compatibility issue.

8. Contact the Widget Developer: If the issue persists and you cannot find a solution, reach out to the developer or support team for the "Calendar" widget. They might be able to provide specific guidance or updates related to the compatibility issue.

 

answered
0

The only way I could solve this problem was:

  1. Revert to a previous working backup through the Developer Portal.
  2. Open it again with Mendix Studio Pro 10 Beta.
  3. Republishing the project from Mendix Studio Pro 10 Beta.

This let me revert Mendix Studio Pro to a version that works and doesn’t have these issues.

This was an extreme solution since Mendix Studio Pro 10 Beta isn’t supported anymore, so if anyone has any more insights on this problem, I’m still curious to know how to fix it for future reference.

answered