Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

After installing my custom app on Dc when going to edit getting error- type error :Promise.allSettle

Arnab Bhowmik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 28, 2024

here is error log in browser console 

batch.js?locale=en-GB:2132 Failed to run init function: Promise.allSettled is not a function ()=>{!function(e){c.tinymce.ThemeManager.requireLangPack("advanced"),c.tinymce.ThemeManager.add("default",Ee),d.a.requestAnimFrame=d.a.requestAnimationFrame||d.a.webkitRequestAnimationFrame;var t=me(… TypeError: Promise.allSettled is not a function
at o (batch.js?cefp_collab…in=true:2645:253104)
at a (batch.js?cefp_collab…in=true:2645:253452)
at $i.loadScripts (batch.js?cefp_collab…in=true:2645:253650)
at $i.loadQueue (batch.js?cefp_collab…in=true:2645:252799)
at GA (batch.js?cefp_collab…in=true:2645:560965)
at YA (batch.js?cefp_collab…in=true:2645:562324)
at uP.render (batch.js?cefp_collab…in=true:2645:595065)
at batch.js?cefp_collab…in=true:2645:602014
at Array.<anonymous> (batch.js?cefp_collab…in=true:2645:602024)
at Fe (batch.js?cefp_collab…in=true:2645:193033)
at Object.a (batch.js?cefp_collab…in=true:2645:601764)
at Ri.executeHandlers (batch.js?cefp_collab…in=true:2645:242457)
at s (batch.js?cefp_collab…in=true:2645:240345)
at a (batch.js?cefp_collab…in=true:2645:239973)
at Oi (batch.js?cefp_collab…in=true:2645:240051)
at Ri.bind (batch.js?cefp_collab…in=true:2645:241021)
at Object.W [as bind] (batch.js?cefp_collab…in=true:2645:246085)
at Object.init (batch.js?cefp_collab…in=true:2645:602165)
at Object.initialise (batch.js?cefp_collab…in=true:3948:143643)
at batch.js?cefp_collab…in=true:3948:423549
at batch.js?cefp_collab…in=true:3948:423611
at batch.js?locale=en-GB:2282:1474 TypeError: Promise.allSettled is not a function
at o (http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:253104)
at a (http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:253452)
at $i.loadScripts (http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:253650)
at $i.loadQueue (http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:252799)
at GA (http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:560965)
at YA (http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:562324)
at uP.render (http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:595065)
at http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:602014
at Array.<anonymous> (http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:602024)
at Fe (http://a369e4b29707545f3970307f3715666b-1689569205.us-east-2.elb.amazonaws.com/confluence/s/fe389a1c2e687b7ef6ded392047f425e-CDN/lxh6dq/9012/1ca6q62/9714d7229dbe3f2d44b1ab35b70a9c8c/_/download/contextbatch/js/editor,atl.general,macro-browser,main,page,zdu-banner-all,-_super/batch.js?cefp_collab_enabled=true&cefp_ed_perm=false&cefp_is_admin=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=true&user-logged-in=true:2645:193
Show 1 more frame

1 answer

0 votes
Andrii Maliuta
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 1, 2024

Hello @Arnab Bhowmik ,

It is better to check the Confluence logs that should show the errors on the backend before or while rendering the page for UI so that it is clear what part of app causes the problem. You need to make sure that the plugin web and other resources defined in the manifest are rendered correctly.

Arnab Bhowmik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 1, 2024

actually in log there is no error is showing which is making it crtitcal to debug 

Andrii Maliuta
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 1, 2024

You can try to use Live Reload of the addon maven tools to debug. You can try to change the settings of the plugin descriptor and see what part (module) is the root cause and then try to debug this very module. SDK gives a lot of tools (also, you can add custom logging with Java code) to check this.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events