IDEA启动失败,报空指针错误

一、环境
Mac机

二、问题
IDEA安装Jrebel插件,安装完成后重启,重启不了,报了start failed的错误,如下的信息:

Internal error. Please report to http://jb.gg/ide/critical-startup-errors
java.lang.NullPointerException
    at com.aliyun.odps.studio.intellij.ide.IntellijLogger.getInstance(IntellijLogger.java:52)
    at com.aliyun.odps.studio.intellij.ide.IntellijLogger.warn(IntellijLogger.java:32)
    at com.aliyun.odps.studio.intellij.ide.IntellijStatCollector.lambda$fireInitEvent$0(IntellijStatCollector.java:20)
    at java.lang.Thread.run(Thread.java:745)

进入日志位置(/Users/tshe/Library/Logs/IntelliJIdea2018.2)查看idea.log报出的错误信息

2018-10-26 14:00:51,243 [  65051]  ERROR - llij.ide.plugins.PluginManager - null
java.lang.NullPointerException
    at com.aliyun.odps.studio.intellij.ide.IntellijLogger.getInstance(IntellijLogger.java:52)
    at com.aliyun.odps.studio.intellij.ide.IntellijLogger.warn(IntellijLogger.java:32)
    at com.aliyun.odps.studio.intellij.ide.IntellijStatCollector.lambda$fireInitEvent$0(IntellijStatCollector.java:20)
    at java.lang.Thread.run(Thread.java:745)

可以看出错误的原因应该就是安装的插件导致的

三、解决

在插件安装位置(/Users/tshe/Library/Application Support/IntelliJIdea2018.2)下将安装的插件文件删除掉,重新再启动

你可能感兴趣的:(IDEA启动失败,报空指针错误)