generated from JetBrains/intellij-platform-plugin-template
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDEA 2022.3启动时报错 #73
Comments
hnyyghk
added a commit
to hnyyghk/RestfulToolkitX
that referenced
this issue
Dec 3, 2022
同样遇到这个问题。 大佬怎么解决的 ? |
hnyyghk
added a commit
to hnyyghk/RestfulToolkitX
that referenced
this issue
Dec 5, 2022
hnyyghk
added a commit
to hnyyghk/RestfulToolkitX
that referenced
this issue
Dec 5, 2022
hnyyghk
added a commit
to hnyyghk/RestfulToolkitX
that referenced
this issue
Dec 5, 2022
hnyyghk
added a commit
to hnyyghk/RestfulToolkitX
that referenced
this issue
Dec 5, 2022
我自己编译了个测试版本,能正常启动了 |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
版本IntelliJ IDEA 2022.3 (Ultimate Edition)
Build #IU-223.7571.182, built on November 29, 2022
启动时报错
报错信息如下:
对比了com.jetbrains:ideaIU:2022.2.4和2022.3的StartupManagerImpl中registerPostStartupActivity方法
发现该方法在2022.3去除了针对非DumbAware的Runnable支持,warn也改为了error
并且该方法已经被标记为过时,建议使用runAfterOpened,这个方法自2020.1 (201.6668.113 build)可用
将registerPostStartupActivity方法修改为runAfterOpened后依然有报错
报错信息如下:
似乎是初始化太早了,注释掉runWhenInitialized方法中的这四行,统一走下面的invokeLater方法,报错消失
测试的过程中,仅出现过一次如下报错
也是由于初始化早于toolWindowPane导致的,需要修改为ToolWindowManager.invokeLater
The text was updated successfully, but these errors were encountered: