今天是周一,刚到公司启动心爱的IDEA,,突然启动到一半,就抛异常了,直接弹窗,报例如以下的异常:

  1. java.lang.RuntimeException: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'com.intellij.psi.stubs.StubIndex'
  2. )
  3. $1$1.run(MainImpl.java:58)
  4. )
  5. )
  6. (EventQueue.java:103)
  7. .run(EventQueue.java:694)
  8. .run(EventQueue.java:692)
  9. at java.security.AccessController.doPrivileged(Native Method)
  10. .doIntersectionPrivilege(ProtectionDomain.java:76)
  11. )
  12. )
  13. )
  14. )
  15. )
  16. )
  17. )
  18. )
  19. )
  20. )
  21. Caused by: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'com.intellij.psi.stubs.StubIndex'
  22. )
  23. )
  24. .getComponentInstance(ComponentManagerImpl.java:570)
  25. )
  26. )
  27. )
  28. )
  29. )
  30. )
  31. )
  32. )
  33. )
  34. )
  35. )
  36. )
  37. more
  38. Caused by: java.lang.IndexOutOfBoundsException
  39. )
  40. )
  41. )
  42. )
  43. )
  44. )
  45. )
  46. )
  47. )
  48. )
  49. )
  50. )
  51. )
  52. )
  53. )
  54. )
  55. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  56. )
  57. )
  58. )
  59. )
  60. .run(ConstructorInjectionComponentAdapter.java:220)
  61. )
  62. )
  63. )
  64. )
  65. .getComponentInstance(ComponentManagerImpl.java:530)
  66. more

怎样解决? 



第一反应。打开Google搜索,输入例如以下第一行异常进行搜索

  1. Fatal error initializing 'com.intellij.psi.stubs.StubIndex'

Google的搜索的效果就不用我多说了。比百度,360等等根本就不是一个层次上的,它们仅仅配提鞋带,直接在前3条搜索记录中,就找到了解决的方法,这是是IDEA官方都release的bug,bug列表,大家可以在https://confluence.jetbrains.com/display/IDEADEV/IntelliJ+IDEA+14+138.1283.4+Release+Notes可以找到,在IDEA-125750
(Bug)此条bug号里面,记录了解决的方法 



除了在官方的bug列表可以解决这个问题,在Google的搜索结果中。另一个stackoverflow问题的链接。也能解决这个问题,详情请点击此处 



问题原因是:曾经装的某些插件有问题,于是散仙就回顾了下,在上周装了一个IDEA的Scala插件,可能是因为这个原因造成的,仅仅要清空windows上c:\Users\<username>\.IntelliJIdea11\config\plugins\这个文件夹。然后 

重新启动就可以 





请记住我们码农解决这个问题的两件法宝神器: 



(1)Google 

(2)Stackoverflow 



神器在手,天下全有。能够放心的早点下班回去追妹子了。

Intellj IDEA14.0.2启动异常之3分钟修复的更多相关文章

  1. SpringBoot启动使用elasticsearch启动异常:Received message from unsupported version:[2.0.0] minimal compatible

    SpringBoot启动使用elasticsearch启动异常:Received message from unsupported version:[2.0.0] minimal compatible ...

  2. Android 开发 8.0版本启动Service的方法

    前言  google在更新Android8.0后对Service的权限越发收紧.导致目前想要启动服务必需实现服务的前台化(否则在服务启动5秒后,系统将自动报错).下面我们就来看看如何在8.0上启动服务 ...

  3. Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans'(转)

    Spring启动异常: cvc-elt.1: Cannot find the declaration of element 'beans' 2008-09-07 22:41 今天把在线聊天室代码改了下 ...

  4. Linux MySQL 常见无法启动或启动异常的解决方案

    Linux MySQL 常见无法启动或启动异常的解决方案 在 Linux 上自建 MySQL 服务器,经常遇到各种无法启动或启动后异常的问题,本文列举一些常见问题的解决办法. 注意:以下错误日志提示, ...

  5. Dubbo配置注册中心设置application的name使用驼峰命名法存在的隐藏项目启动异常问题

    原创/朱季谦 首先,先提一个建议,在SpringBoot+Dubbo项目中,Dubbo配置注册中心设置的application命名name的值,最好使用xxx-xxx-xxx这样格式的,避免随便使用驼 ...

  6. 与众不同 windows phone (38) - 8.0 关联启动: 使用外部程序打开一个文件或URI, 关联指定的文件类型或协议

    [源码下载] 与众不同 windows phone (38) - 8.0 关联启动: 使用外部程序打开一个文件或URI, 关联指定的文件类型或协议 作者:webabcd 介绍与众不同 windows ...

  7. IE升级到10.0,VS2010启动调试时报“未能将脚本调试器附加到计算机..”

    IE升级到10.0,VS2010启动调试时报“未能将脚本调试器附加到计算机..” 今天,在调试代码时,调试器弹出提示框,报:未能将脚本调试器附加到计算机XXX上的进程iexplore.exe . 已附 ...

  8. 修复因为存储空间问题引起的nexus 服务启动异常

      故障描述 因为nexus所在服务器存储空间满了, 做了部分清理操作,结果nexus 启动异常,提示错误信息基本类似如下: build 285537d2767275f460df32c6a3be01b ...

  9. spring-boot-2.0.3启动源码篇二 - run方法(一)之SpringApplicationRunListener

    前言 Springboot启动源码系列还只写了一篇,已经过去一周,又到了每周一更的时间了(是不是很熟悉?),大家有没有很期待了?我会尽量保证启动源码系列每周一更,争取不让大家每周的期望落空.一周之中可 ...

随机推荐

  1. POJ2349 Arctic Network(Prim)

    Arctic Network Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 16968   Accepted: 5412 D ...

  2. 母亲的牛奶(milk) (BFS)

    问题 A: 母亲的牛奶(milk) 时间限制: 1 Sec  内存限制: 64 MB提交: 14  解决: 8[提交][状态][讨论版] 题目描述 农民约翰有三个容量分别是A.B.C升的桶,A.B.C ...

  3. 37、Django实战第37天:404以及500页面配置

    1.把404.html,500.html复制到templates下,替换静态文件路径 2.编辑users.views.py定义404,505函数 from django.shortcuts impor ...

  4. Eclipse Build all and build project not working - jar missing

    Eclipse Build all and build project not working - jar missing

  5. Mac Screen Capture Shortcuts

    Here's How:   To capture the entire desktop, press Command-Shift-3. The screen shot will be automati ...

  6. 【java】java中直接根据Date 获取明天的时间

    展示代码: @Test public void dateTest(){ Date now = new Date(); System.out.println(now); // java.util.Dat ...

  7. @import url(../image/css)的用法

    1.@import url(../image/css);可以加载css文件2.@import url(../image/css);可以写在html里加载css文件,也可以写在css文件里加载css文件 ...

  8. iOS:CocosPods的装配和配置ReactiveCocoa

    关于CocosPods的安装和配置ReactiveCocoa 1. CocoaPods和ReactiveCocoa的安装 CocoaPods是iOS最常用最有名的类库管理工具 使用ReactiveCo ...

  9. JavaScript basics: 2 ways to get child elements with JavaScript

    原文: https://blog.mrfrontend.org/2017/10/2-ways-get-child-elements-javascript/ Along the lines of oth ...

  10. Netty源码分析之NioEventLoop(转)

    原文:http://www.jianshu.com/p/9acf36f7e025 上一章节中,我们分析了Netty服务的启动过程,本章节分析Netty的NioEventLoop是如工作的. NioEv ...