用某工具激活了 IDEA 之后,正常使用一段时间,突然开始打开就报错意外退出
错误信息:
Terminating app due to uncaught exception 'NSInternalInconsistencyException'
reason: 'NSWindow drag regions should only be invalidated on the Main Thread!' terminating with uncaught exception of type NSException
最后找到了这个解决了问题:https://www.cnblogs.com/panpanda/p/16701363.html
步骤如下:
1、打开 /Users/{USER_NAME}/Library/LaunchAgents/jetbrains.vmoptions.plist
2、删除所有 launch setenv *_OPTIONS
3、保存并关闭文件
4、重启Mac