今天我的idea突然發生閃退行為,而且是代碼剛掃描加載完立刻閃退,在之前使用中從來沒有發生過這種情況
檢視idea的錯誤日志:
C:\Users\as\java_error_in_idea_8896.log
日志提示:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) at pc=0x00007ffce05e6a07, pid=8896, tid=0x00000000000021b8
#
# JRE version: OpenJDK Runtime Environment (8.0_152-b08) (build 1.8.0_152-release-1248-b8)
# Java VM: OpenJDK 64-Bit Server VM (25.152-b8 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [mybatisplugin1772408903376476032.tmp+0xb6a07] //注意這裡
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x0000000036961000): JavaThread "JobScheduler FJ pool 1/3" daemon [_thread_in_native, id=8632, stack(0x000000003d500000,0x000000003d600000)]
siginfo: ExceptionCode=0xc000001d
.......
從
# C [mybatisplugin1772408903376476032.tmp+0xb6a07]
可以看出是我的mybatis插件出了問題
解決方法:
進入
C:\Users\as\.IntelliJIdea2018.2\config\plugins
,将其中的mybatis插件删除
重新啟動idea,啟動成功
令我困惑的是我安裝mybatis插件是在半年前,因為免費期過了已經很久沒使用這個插件了,為什麼它會突然出問題?