PulsarRPA icon indicating copy to clipboard operation
PulsarRPA copied to clipboard

TypeError: document.body.HMNvqKforEach is not a function

Open galaxyeye opened this issue 2 years ago • 0 comments

When run exotic-standalone on WSL, we see:

2022-05-20 15:51:31.107 INFO [r-worker-4] a.p.p.p.b.d.c.ChromeDevtoolsDriver - TypeError: document.body.HMNvqKforEach is not a function at Function.HMNvqKutils__.updatePulsarStat (:300:23) at Function.HMNvqKutils__.isActuallyReady (:237:19) at Function.HMNvqKutils__.checkPulsarStatus (:178:31) at Function.HMNvqKutils__.waitForReady (:151:26) at :1:15

We thought it's caused by the js resources are loaded twice and the scriptNameCipher might be calculated twice for some reason:

2022-05-20 15:48:05.973 INFO [r-worker-1] a.p.p.c.ResourceLoader - Find resource js/pulsar_utils.js | jar:file:/home/vincent/workspace/exotic-standalone.jar!/BOOT-INF/lib/pulsar-browser-1.9.6.jar!/js/pulsar_utils.js 2022-05-20 15:48:05.973 INFO [r-worker-2] a.p.p.c.ResourceLoader - Find resource js/pulsar_utils.js | jar:file:/home/vincent/workspace/exotic-standalone.jar!/BOOT-INF/lib/pulsar-browser-1.9.6.jar!/js/pulsar_utils.js

I suggest that make sure the js resources are loaded only once and make sure the scriptNameCipher be unique in process scope.

galaxyeye avatar May 20 '22 09:05 galaxyeye