Not only am I getting this error in dev mode: Upgrade to 2.6.0 Gives Copilot Error on Logout - #2 by mbucan
But I also had the ExecutionFailedException: PWA icons generation failed
error when doing a production build, which the org.gradle.jvmargs=-Xmx1024M
seems to fix.
Now I also get this error after logging out of my AWS deployed/production environment. I think this happens about 1 second after logging out. I believe I have also seen this in dev mode.
I understand these don’t interrupt the user, but we cannot have errors logged that require investigation each time.
Thank you for your help!
Jul 13 16:36:21 ip-172-31-35-36 web[1559545]: 2025-07-13T16:36:21.066Z ERROR 1559545 --- [ UiAsyncTask-0] io.jmix.flowui.asynctask.UiAsyncTasks : UI async task error
Jul 13 16:36:21 ip-172-31-35-36 web[1559545]: java.util.concurrent.CompletionException: com.vaadin.flow.component.UIDetachedException
Jul 13 16:36:21 ip-172-31-35-36 web[1559545]: #011at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[na:na]
Jul 13 16:36:21 ip-172-31-35-36 web[1559545]: #011at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[na:na]
Jul 13 16:36:21 ip-172-31-35-36 web[1559545]: #011at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:791) ~[na:na]
Jul 13 16:36:21 ip-172-31-35-36 web[1559545]: #011at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[na:na]
Jul 13 16:36:21 ip-172-31-35-36 web[1559545]: #011at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1810) ~[na:na]
Jul 13 16:36:21 ip-172-31-35-36 web[1559545]: #011at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[na:na]
Jul 13 16:36:21 ip-172-31-35-36 web[1559545]: #011at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[na:na]
Jul 13 16:36:21 ip-172-31-35-36 web[1559545]: #011at java.base/java.lang.Thread.run(Thread.java:1583) ~[na:na]
Jul 13 16:36:21 ip-172-31-35-36 web[1559545]: Caused by: com.vaadin.flow.component.UIDetachedException: null
Jul 13 16:36:21 ip-172-31-35-36 web[1559545]: #011at com.vaadin.flow.component.UI.handleAccessDetach(UI.java:466) ~[flow-server-24.7.5.jar!/:24.7.5]
Jul 13 16:36:21 ip-172-31-35-36 web[1559545]: #011at com.vaadin.flow.component.UI.access(UI.java:566) ~[flow-server-24.7.5.jar!/:24.7.5]
Jul 13 16:36:21 ip-172-31-35-36 web[1559545]: #011at com.vaadin.flow.component.UI.access(UI.java:553) ~[flow-server-24.7.5.jar!/:24.7.5]
Jul 13 16:36:21 ip-172-31-35-36 web[1559545]: #011at io.jmix.flowui.asynctask.UiAsyncTasks$RunnableConfigurer.lambda$runAsync$0(UiAsyncTasks.java:258) ~[jmix-flowui-2.6.0.jar!/:na]
Jul 13 16:36:21 ip-172-31-35-36 web[1559545]: #011at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[na:na]
Jul 13 16:36:21 ip-172-31-35-36 web[1559545]: #011... 5 common frames omitted