DevoxxGenieIDEAPlugin icon indicating copy to clipboard operation
DevoxxGenieIDEAPlugin copied to clipboard

[Bug] Black panel after "restart" next day

Open stephanj opened this issue 7 months ago • 15 comments

When I open my IDEA again the next day I sometimes see just a black screen in the JCEF browser. Restarting the IDEA fixes the issue.

Image

stephanj avatar May 21 '25 07:05 stephanj

Still showing a black web view:

c.d.g.u.w.h.WebViewJavaScriptExecutor - Browser not loaded or not initialized properly, cannot execute JavaScript
2025-05-27 08:44:57,176 [57212211]   INFO - STDOUT - 08:44:57.176 [AWT-EventQueue-0] DEBUG c.d.g.s.p.memory.ChatMemoryService - Cleared memory for project: 7da8c650
2025-05-27 08:44:57,180 [57212215]   INFO - STDOUT - 08:44:57.180 [AWT-EventQueue-0] WARN  

stephanj avatar May 27 '25 06:05 stephanj

New possible fix submitted

stephanj avatar May 27 '25 09:05 stephanj

Still not fixed

stephanj avatar May 29 '25 07:05 stephanj

I get a frozen, or "hung", screen instead of a black screen. I'm not sure yet if this happens with 100% consistency, have only been using the plugin a few days. As you noted, restarting is a workaround. (Closing and re-opening the current project doesn't help.)

twh270 avatar Jun 18 '25 07:06 twh270

I get a frozen, or "hung", screen instead of a black screen. I'm not sure yet if this happens with 100% consistency, have only been using the plugin a few days. As you noted, restarting is a workaround. (Closing and re-opening the current project doesn't help.)

Are you using any MCP's ?

stephanj avatar Jun 20 '25 07:06 stephanj

Not yet, no. Just a basic installation, MacOS, latest IntelliJ, and Ollama.

twh270 avatar Jun 20 '25 12:06 twh270

The issue is related to a stale JCEF Browser, I've already tried many approaches but currently still without any success.

stephanj avatar Jun 27 '25 07:06 stephanj

Yeah this seems like the kind of bug that's a real pain to track down. Let me know if I can help by running debug/test builds or something.

twh270 avatar Jun 27 '25 12:06 twh270

I've already tried so many different approaches that I'm waiting to have a smart enough LLM's to fix it for me 😅 The previous output panel was in Swing which had its own challenges but at least that one didn't freeze.

stephanj avatar Jun 27 '25 14:06 stephanj

I did not have a hung panel this morning, here are a couple of bits of data in hopes it helps. First, yesterday I switched from Ollama to Google as my LLM. Second, I started a new "toy" project yesterday.

twh270 avatar Jul 04 '25 13:07 twh270

I might have found a solution to this very annoying bug. You can try it out with this test build v0.7.1 @ https://drive.google.com/file/d/1sdg4xQLkD4sF3fmHpwaGl9grCk5dhjJb/view?usp=share_link

stephanj avatar Aug 13 '25 10:08 stephanj

New version with more IDE debug logs @ https://drive.google.com/file/d/12aCOtjhkPZjwrIf6IVUe_fmhRwunkmRC/view?usp=share_link

stephanj avatar Aug 14 '25 08:08 stephanj

New version with more IDE debug logs @ https://drive.google.com/file/d/12aCOtjhkPZjwrIf6IVUe_fmhRwunkmRC/view?usp=share_link

Hi @stephanj. Did you have any luck with this fix? We are experiencing the plugin freezing quite regularly.

jaginn avatar Sep 02 '25 03:09 jaginn

I'm currently a bit busy with the Devoxx Belgium preparations (6 - 10th of October). My plan is to pick up the project again after the intense Devoxx week and move it to the next level. BTW Maybe someone from the developer community can also have a look at fixing this? Thanks for your patience.

stephanj avatar Sep 03 '25 07:09 stephanj

Created also an issue on Jetbrains community page @ https://intellij-support.jetbrains.com/hc/en-us/community/posts/29197600869522-JCEF-Browser-freezes-the-next-day

stephanj avatar Sep 03 '25 08:09 stephanj

Tested it, but I do not have this issue, I use Ubuntu 22.04 as OS

mydeveloperplanet avatar Dec 02 '25 19:12 mydeveloperplanet