启动时Pycharm崩溃

时间:2016-02-04 22:50:30

标签: python pycharm jetbrains-ide

当我尝试使用Ubuntu 15.10启动Pycharm(pycharm-professional-4.5.4版本)时,我收到此错误消息。

  

内部错误。请报告https://youtrack.jetbrains.com

     

了java.lang.RuntimeException:   com.intellij.ide.plugins.PluginManager $ StartupAbortedException:致命   错误初始化' com.intellij.openapi.util.registry.RegistryState'       在com.intellij.idea.IdeaApplication.run(IdeaApplication.java:178)       在com.intellij.idea.MainImpl $ 1 $ 1 $ 1.run(MainImpl.java:60)       在java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)       at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:759)       at java.awt.EventQueue.access $ 500(EventQueue.java:97)       at java.awt.EventQueue $ 3.run(EventQueue.java:712)       at java.awt.EventQueue $ 3.run(EventQueue.java:706)       at java.security.AccessController.doPrivileged(Native Method)       at java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)       at java.awt.EventQueue.dispatchEvent(EventQueue.java:729)       在com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:362)       at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:192)       at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)       at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:106)       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:102)       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)       at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)引起:   com.intellij.ide.plugins.PluginManager $ StartupAbortedException:致命   错误初始化' com.intellij.openapi.util.registry.RegistryState'       在com.intellij.ide.plugins.PluginManager.handleComponentError(PluginManager.java:248)       at com.intellij.openapi.components.impl.PlatformComponentManagerImpl.handleInitComponentError(PlatformComponentManagerImpl.java:39)       at com.intellij.openapi.components.impl.ComponentManagerImpl $ ComponentConfigComponentAdapter $ 1.getComponentInstance(ComponentManagerImpl.java:590)       at com.intellij.openapi.components.impl.ComponentManagerImpl $ ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:610)       在com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:245)       在com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)       在com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:125)       在com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:354)       在com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:116)       在com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:87)       在com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:101)       在com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:499)       在com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:481)       在com.intellij.idea.IdeaApplication.run(IdeaApplication.java:170)       ... 16更多引起:java.lang.ExceptionInInitializerError       在com.intellij.openapi.vfs.LocalFileSystem.getInstance(LocalFileSystem.java:44)       在com.intellij.openapi.components.impl.stores.ApplicationStoreImpl $ 1.beforeFileBasedStorageCreate(ApplicationStoreImpl.java:85)       在com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.a(StateStorageManagerImpl.java:212)       在com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.a(StateStorageManagerImpl.java:185)       在com.intellij.openapi.components.impl.stores.StateStorageManagerImpl.getStateStorage(StateStorageManagerImpl.java:102)       在com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:315)       在com.intellij.openapi.components.impl.stores.ComponentStoreImpl.initComponent(ComponentStoreImpl.java:75)       在com.intellij.openapi.application.impl.ApplicationImpl.initializeComponent(ApplicationImpl.java:177)       at com.intellij.openapi.components.impl.ComponentManagerImpl $ ComponentConfigComponentAdapter $ 1.getComponentInstance(ComponentManagerImpl.java:566)       ... 27更多引起:com.intellij.ide.plugins.PluginManager $ StartupAbortedException:致命   错误初始化' com.intellij.openapi.vfs.newvfs.ManagingFS'       在com.intellij.ide.plugins.PluginManager.handleComponentError(PluginManager.java:248)       at com.intellij.openapi.components.impl.PlatformComponentManagerImpl.handleInitComponentError(PlatformComponentManagerImpl.java:39)       at com.intellij.openapi.components.impl.ComponentManagerImpl $ ComponentConfigComponentAdapter $ 1.getComponentInstance(ComponentManagerImpl.java:590)       at com.intellij.openapi.components.impl.ComponentManagerImpl $ ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:610)       在com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:245)       在com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)       在org.picocontainer.defaults.BasicComponentParameter.resolveInstance(BasicComponentParameter.java:77)       在org.picocontainer.defaults.ComponentParameter.resolveInstance(ComponentParameter.java:114)       at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:257)       at org.picocontainer.defaults.ConstructorInjectionComponentAdapter $ 1.run(ConstructorInjectionComponentAdapter.java:217)       在org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)       at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)       at com.intellij.util.pico.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:58)       at com.intellij.openapi.components.impl.ComponentManagerImpl $ ComponentConfigComponentAdapter $ 1.getComponentInstance(ComponentManagerImpl.java:550)       at com.intellij.openapi.components.impl.ComponentManagerImpl $ ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:610)       在com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:245)       在com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)       at org.picocontainer.defaults.CollectionComponentParameter.getArrayInstance(CollectionComponentParameter.java:268)       在org.picocontainer.defaults.CollectionComponentParameter.resolveInstance(CollectionComponentParameter.java:127)       在org.picocontainer.defaults.ComponentParameter.resolveInstance(ComponentParameter.java:116)       at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:257)       at org.picocontainer.defaults.ConstructorInjectionComponentAdapter $ 1.run(ConstructorInjectionComponentAdapter.java:217)       在org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)       at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)       at com.intellij.util.pico.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:58)       at com.intellij.openapi.components.impl.ComponentManagerImpl $ ComponentConfigComponentAdapter $ 1.getComponentInstance(ComponentManagerImpl.java:550)       at com.intellij.openapi.components.impl.ComponentManagerImpl $ ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:610)       在com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:245)       在com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)       at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponentFromContainer(ComponentManagerImpl.java:168)       在com.intellij.openapi.application.impl.ApplicationImpl.getComponentFromContainer(ApplicationImpl.java:533)       at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:199)       在com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:194)       在com.intellij.openapi.vfs.VirtualFileManager.getInstance(VirtualFileManager.java:44)       在com.intellij.openapi.vfs.LocalFileSystem $ LocalFileSystemHolder。(LocalFileSystem.java:40)       ... 36更多引起:java.lang.NoClassDefFoundError:sun / misc / VM       在com.intellij.util.io.PagedFileStorage。(PagedFileStorage.java:58)       在com.intellij.util.io.PagedFileStorage $ StorageLockContext。(PagedFileStorage.java:779)       在com.intellij.openapi.vfs.newvfs.persistent.FSRecords $ DbConnection.c(FSRecords.java:243)       at com.intellij.openapi.vfs.newvfs.persistent.FSRecords $ DbConnection.connect(FSRecords.java:160)       在com.intellij.openapi.vfs.newvfs.persistent.FSRecords.connect(FSRecords.java:518)       at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.initComponent(PersistentFSImpl.java:89)       at com.intellij.openapi.components.impl.ComponentManagerImpl $ ComponentConfigComponentAdapter $ 1.getComponentInstance(ComponentManagerImpl.java:568)       ... 68更多引起:java.lang.ClassNotFoundException:sun.misc.VM       在com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:212)       at java.lang.ClassLoader.loadClass(ClassLoader.java:425)       at java.lang.ClassLoader.loadClass(ClassLoader.java:358)       ......还有75个

我试图删除.PyCharm40文件夹(我甚至尝试重新安装Ubuntu),但是Pycharm只是问我JetBrains帐户(学生帐户),并且授权后pycharm再次崩溃。

1 个答案:

答案 0 :(得分:0)

您可能需要考虑删除~/.PyCharm*后的{备份后) 我假设您使用的是Linux或Mac。

编辑:对于有相同问题的人,事实证明它发生了,因为后期作者使用的是测试版Java。