idea NSInternalInconsistencyException

idea 莫名其妙就报错了

-------------------------------------

Translated Report (Full Report Below)

-------------------------------------

Process: idea [1309]

Path: /Applications/IntelliJ IDEA CE.app/Contents/MacOS/idea

Identifier: com.jetbrains.intellij.ce

Version: 2021.3 (IC-213.5744.223)

Code Type: ARM-64 (Native)

Parent Process: launchd [1]

User ID: 501

Date/Time: 2022-03-04 03:30:51.4521 +0330

OS Version: macOS 12.2.1 (21D62)

Report Version: 12

Anonymous UUID: 4AF85493-B75E-9524-875A-8726A4E64735

Sleep/Wake UUID: 1662191C-F228-4E09-A887-2FE95A86854F

Time Awake Since Boot: 660 seconds

Time Since Wake: 20 seconds

System Integrity Protection: enabled

Crashed Thread: 3 Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:

*** 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

abort() called

想到应该是某个配置信息有问题导致的,就想删除idea再重新下载,删除重新安装后还是报错,然后就上网查了一下彻底删除idea的方式,网上给的答案:

(1)删除~/Library/Preferences/IntelliJIdea* (*表示版本发行日期)

(2)删除~/Library/Caches/JetBrains/IntelliJIdea*(*表示版本发行日期)

(3)删除~/Library/ApplicationSupport/JetBrains/IntelliJIdea*(*表示版本发行日期)

(4)删除~/Library/Application Support/JetBrains/IntelliJIdea*(*表示版本发行日期)

(5)删除~/Library/Logs/JetBrains/IntelliJIdea*(*表示版本发行日期)

操作完后还是不行,感觉还有配置文件没有删除,上idea的官方issue下找到了答案:

hey I could fix this issue with following instructions:

open this file /Users/{USER_NAME}/Library/LaunchAgents/jetbrains.vmoptions.plist

and then remove all `launchctl setenv "*_OPTIONS"`.

save and close it.

reboot your mac.

now you can use jetbrain :)

issue地址:https://youtrack.jetbrains.com/issue/JBR-4296

  • 3
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 5
    评论
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值