首页
Web开发
Windows程序
编程语言
数据库
移动开发
系统相关
微信
其他好文
会员
首页
>
其他好文
> 详细
Intellj IDEA14.0.2启动异常之3分钟修复
时间:
2015-07-20 13:09:22
阅读:
234
评论:
0
收藏:
0
[点我收藏+]
标签:
今天是周一,刚到公司启动心爱的IDEA,,突然启动到一半,就抛异常了,直接弹窗,报如下的异常:
Java代码
java.lang.RuntimeException: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing
‘com.intellij.psi.stubs.StubIndex‘
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:
158
)
at com.intellij.idea.MainImpl$
1
$
1
$
1
.run(MainImpl.java:
58
)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
251
)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:
733
)
at java.awt.EventQueue.access$
200
(EventQueue.java:
103
)
at java.awt.EventQueue$
3
.run(EventQueue.java:
694
)
at java.awt.EventQueue$
3
.run(EventQueue.java:
692
)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$
1
.doIntersectionPrivilege(ProtectionDomain.java:
76
)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:
703
)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:
697
)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:
524
)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:
335
)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:
242
)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:
161
)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
150
)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
146
)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
138
)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:
91
)
Caused by: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing
‘com.intellij.psi.stubs.StubIndex‘
at com.intellij.ide.plugins.PluginManager.handleComponentError(PluginManager.java:
239
)
at com.intellij.openapi.components.impl.PlatformComponentManagerImpl.handleInitComponentError(PlatformComponentManagerImpl.java:
39
)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$
1
.getComponentInstance(ComponentManagerImpl.java:
570
)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:
590
)
at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:
225
)
at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:
212
)
at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:
199
)
at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:
75
)
at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:
121
)
at com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:
372
)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:
112
)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:
89
)
at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:
87
)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:
509
)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:
150
)
...
18
more
Caused by: java.lang.IndexOutOfBoundsException
at java.nio.Buffer.checkIndex(Buffer.java:
538
)
at java.nio.DirectByteBuffer.getInt(DirectByteBuffer.java:
675
)
at com.intellij.util.io.IntToIntBtree$BtreePage.syncWithStore(IntToIntBtree.java:
307
)
at com.intellij.util.io.IntToIntBtree$BtreePage.setAddress(IntToIntBtree.java:
299
)
at com.intellij.util.io.IntToIntBtree.persistVars(IntToIntBtree.java:
133
)
at com.intellij.util.io.PersistentBTreeEnumerator.storeBTreeVars(PersistentBTreeEnumerator.java:
137
)
at com.intellij.util.io.PersistentBTreeEnumerator.<init>(PersistentBTreeEnumerator.java:
100
)
at com.intellij.util.io.PersistentEnumeratorDelegate.<init>(PersistentEnumeratorDelegate.java:
38
)
at com.intellij.util.io.PersistentEnumeratorDelegate.<init>(PersistentEnumeratorDelegate.java:
31
)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:
110
)
at com.intellij.util.io.PersistentHashMap.<init>(PersistentHashMap.java:
106
)
at com.intellij.util.indexing.ValueContainerMap.<init>(ValueContainerMap.java:
23
)
at com.intellij.util.indexing.MapIndexStorage.a(MapIndexStorage.java:
105
)
at com.intellij.util.indexing.MapIndexStorage.<init>(MapIndexStorage.java:
101
)
at com.intellij.psi.stubs.StubIndexImpl.a(StubIndexImpl.java:
141
)
at com.intellij.psi.stubs.StubIndexImpl.<init>(StubIndexImpl.java:
87
)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
57
)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
45
)
at java.lang.reflect.Constructor.newInstance(Constructor.java:
526
)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:
193
)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$
1
.run(ConstructorInjectionComponentAdapter.java:
220
)
at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:
53
)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:
248
)
at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:
60
)
at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:
58
)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$
1
.getComponentInstance(ComponentManagerImpl.java:
530
)
...
30
more
如何解决?
第一反应,打开Google搜索,输入如下第一行异常进行搜索
Java代码
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分钟修复
标签:
原文地址:http://my.oschina.net/u/1027043/blog/480641
踩
(
0
)
赞
(
0
)
举报
评论
一句话评论(
0
)
登录后才能评论!
分享档案
更多>
2021年07月29日 (22)
2021年07月28日 (40)
2021年07月27日 (32)
2021年07月26日 (79)
2021年07月23日 (29)
2021年07月22日 (30)
2021年07月21日 (42)
2021年07月20日 (16)
2021年07月19日 (90)
2021年07月16日 (35)
周排行
更多
分布式事务
2021-07-29
OpenStack云平台命令行登录账户
2021-07-29
getLastRowNum()与getLastCellNum()/getPhysicalNumberOfRows()与getPhysicalNumberOfCells()
2021-07-29
【K8s概念】CSI 卷克隆
2021-07-29
vue3.0使用ant-design-vue进行按需加载原来这么简单
2021-07-29
stack栈
2021-07-29
抽奖动画 - 大转盘抽奖
2021-07-29
PPT写作技巧
2021-07-29
003-核心技术-IO模型-NIO-基于NIO群聊示例
2021-07-29
Bootstrap组件2
2021-07-29
友情链接
兰亭集智
国之画
百度统计
站长统计
阿里云
chrome插件
新版天听网
关于我们
-
联系我们
-
留言反馈
© 2014
mamicode.com
版权所有 联系我们:gaon5@hotmail.com
迷上了代码!