Intellij network license window blank after sleep

已回答

My employer licenses Intellij to everyone in the company through an internal license server and occasionally (probably once the license cache runs out) I will return to my PC in the morning to the Intellij for Mac UI blocked by this blank window labeled "Licenses". I can't interact with Intellij until the window is dismissed, and the window cannot be dismissed unless I exit Intellij entirely. I'm guessing that this happens due to the fact that my corporate VPN disables itself overnight and, when the time comes for Intellij to re-check the license server, it can't reach the server. I would expect an error message and a "retry" button, though.

Any idea if this is something I can fix myself with settings, or am I just forced to restart Intellij?

评论操作 固定链接

This appears to be https://youtrack.jetbrains.com/issue/IDEA-295241

Are you using the latest version of the IDE 2022.2.2?

See if it helps to add the -Dsun.java2d.metal.syncSurfaces=true key to the Help | Edit custom VM options file.

If you see significant performance degradation with that key enabled, try disabling Metal rendering by adding -Dsun.java2d.metal=false to the same file.

I'm guessing that this happens due to the fact that my corporate VPN disables itself overnight and, when the time comes for Intellij to re-check the license server, it can't reach the server

Yes, you are correct. Using Floating License Server requires permanent server availability. If such environment cannot be provided, it might be a better idea to use a different licensing method.

0
评论操作 固定链接

Thank you for the suggestions, Arina. I upgraded to 2022.2.2 shortly after posting this, so I'll see if that + syncSurfaces fixes the problem going forward.

0
评论操作 固定链接

I have the same problem since 2022. The problem persists in later versions.

0
评论操作 固定链接

Kvanijperen Thank you, I added this information to https://youtrack.jetbrains.com/issue/IDEA-295241

The investigation is ongoing.

0

请先登录再写评论。