Impossible to set global SDK after upgrade to 13.1.2

Upgraded on Apr 24 from 13.1.1 to 13.1.2
IntelliJ comes up without Global SDK set (why?!) and any attempts to set it result in errors

- errors go in idea.log only, without any explanation in the IDE itself
- errors look like below, with various class names
- per suggestion of Serge Baranov I disabled all plug-ins except IDEAIvy, which I need for builds, but that did not help, although particular class that was "NotFound" has changed
- I downloaded a fresh JDK from Oracle, it's the same that is used by Windows 7 OS, Chrome and other software on this machine, I don't think the SDK itself is a problem
- Upgraded to lates 13.1.2 build on Apr 28 - no difference

Can one do anything withour a global SDK? the answer is NO

2014-04-28 18:56:36,181 [ 483317]  ERROR - llij.ide.plugins.PluginManager - Could not initialize class com.intellij.openapi.vfs.impl.jar.JarHandler$CacheLibraryInfo
java.lang.NoClassDefFoundError: Could not initialize class com.intellij.openapi.vfs.impl.jar.JarHandler$CacheLibraryInfo

 at com.intellij.openapi.vfs.impl.jar.JarHandler.getMirrorWithContentHash(JarHandler.java:117)

 at com.intellij.openapi.vfs.impl.jar.JarHandler.getMirrorFile(JarHandler.java:94)

 at com.intellij.openapi.vfs.impl.jar.JarHandlerBase.createJarFile(JarHandlerBase.java:102)

 at com.intellij.openapi.vfs.impl.jar.JarHandlerBase.getJar(JarHandlerBase.java:88)

 at com.intellij.openapi.vfs.impl.jar.JarHandlerBase.convertToEntry(JarHandlerBase.java:282)

 at com.intellij.openapi.vfs.impl.jar.JarHandlerBase.getAttributes(JarHandlerBase.java:348)

 at com.intellij.openapi.vfs.impl.jar.JarFileSystemImpl.getAttributes(JarFileSystemImpl.java:363)

 at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.getId(PersistentFSImpl.java:392)

 at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.doFindChild(VirtualDirectoryImpl.java:231)

 at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:108)

 at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:656)

 at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:61)

 at com.intellij.openapi.vfs.newvfs.VfsImplUtil.findFileByPath(VfsImplUtil.java:55)

 at com.intellij.openapi.vfs.impl.jar.JarFileSystemImpl.findFileByPath(JarFileSystemImpl.java:326)

 at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.findFileByUrl(VirtualFileManagerImpl.java:135)

 at com.intellij.openapi.projectRoots.impl.JavaSdkImpl.findInJar(JavaSdkImpl.java:543)

 at com.intellij.openapi.projectRoots.impl.JavaSdkImpl.findSources(JavaSdkImpl.java:517)

 at com.intellij.openapi.projectRoots.impl.JavaSdkImpl.findSources(JavaSdkImpl.java:504)

 at com.intellij.openapi.projectRoots.impl.JavaSdkImpl.setupSdkPaths(JavaSdkImpl.java:320)

 at com.intellij.openapi.projectRoots.SdkType.setupSdkPaths(SdkType.java:85)

 at com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectSdksModel.setupSdk(ProjectSdksModel.java:284)

 at com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectSdksModel.access$200(ProjectSdksModel.java:48)

 at com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectSdksModel$5.consume(ProjectSdksModel.java:275)

 at com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectSdksModel$5.consume(ProjectSdksModel.java:269)

 at com.intellij.openapi.projectRoots.impl.SdkConfigurationUtil$7.consume(SdkConfigurationUtil.java:303)

 at com.intellij.openapi.projectRoots.impl.SdkConfigurationUtil$7.consume(SdkConfigurationUtil.java:298)

 at com.intellij.openapi.fileChooser.ex.FileChooserDialogImpl.choose(FileChooserDialogImpl.java:133)

 at com.intellij.openapi.fileChooser.FileChooser.chooseFiles(FileChooser.java:111)

 at com.intellij.openapi.fileChooser.FileChooser.chooseFiles(FileChooser.java:89)

 at com.intellij.openapi.projectRoots.impl.SdkConfigurationUtil.selectSdkHome(SdkConfigurationUtil.java:298)

 at com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectSdksModel.doAdd(ProjectSdksModel.java:269)

 at com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectSdksModel$3.actionPerformed(ProjectSdksModel.java:251)

 at com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep$1.run(PopupFactoryImpl.java:733)

 at com.intellij.ui.popup.AbstractPopup$18.run(AbstractPopup.java:1248)

 at com.intellij.openapi.wm.impl.FocusManagerImpl.flushRequest(FocusManagerImpl.java:649)

 at com.intellij.openapi.wm.impl.FocusManagerImpl.flushNow(FocusManagerImpl.java:630)

 at com.intellij.openapi.wm.impl.FocusManagerImpl.flushIdleRequests(FocusManagerImpl.java:600)

 at com.intellij.openapi.wm.impl.FocusManagerImpl.access$200(FocusManagerImpl.java:60)

 at com.intellij.openapi.wm.impl.FocusManagerImpl$7.run(FocusManagerImpl.java:496)

 at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2053)

 at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:474)

 at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.doWhenFocusSettlesDown(IdeFocusManagerImpl.java:59)

 at com.intellij.ui.popup.AbstractPopup.dispose(AbstractPopup.java:1254)

 at com.intellij.ui.popup.WizardPopup.dispose(WizardPopup.java:153)

 at com.intellij.ui.popup.list.ListPopupImpl.dispose(ListPopupImpl.java:290)

 at com.intellij.ui.popup.WizardPopup.disposeAllParents(WizardPopup.java:256)

 at com.intellij.ui.popup.list.ListPopupImpl.handleNextStep(ListPopupImpl.java:407)

 at com.intellij.ui.popup.list.ListPopupImpl._handleSelect(ListPopupImpl.java:367)

 at com.intellij.ui.popup.list.ListPopupImpl.tryToAutoSelect(ListPopupImpl.java:129)

 at com.intellij.ui.popup.list.ListPopupImpl.beforeShow(ListPopupImpl.java:92)

 at com.intellij.ui.popup.AbstractPopup.show(AbstractPopup.java:673)

 at com.intellij.ui.popup.WizardPopup.show(WizardPopup.java:199)

 at com.intellij.ui.popup.AbstractPopup.show(AbstractPopup.java:432)

 at com.intellij.ui.popup.AbstractPopup.showUnderneathOf(AbstractPopup.java:426)

 at com.intellij.openapi.ui.MasterDetailsComponent$MyActionGroupWrapper.actionPerformed(MasterDetailsComponent.java:936)

 at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:164)

 at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:170)

 at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:133)

 at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:313)

 at java.awt.Component.processEvent(Component.java:6270)

 at java.awt.Container.processEvent(Container.java:2229)

 at java.awt.Component.dispatchEventImpl(Component.java:4861)

 at java.awt.Container.dispatchEventImpl(Container.java:2287)

 at java.awt.Component.dispatchEvent(Component.java:4687)

 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)

 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)

 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)

 at java.awt.Container.dispatchEventImpl(Container.java:2273)

 at java.awt.Window.dispatchEventImpl(Window.java:2719)

 at java.awt.Component.dispatchEvent(Component.java:4687)

 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)

 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.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)

 at java.awt.EventQueue$4.run(EventQueue.java:708)

 at java.awt.EventQueue$4.run(EventQueue.java:706)

 at java.security.AccessController.doPrivileged(Native Method)

 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)

 at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)

4 comments

Hello Olga,

Please attach full idea.log ("Help - Show Log in...").

0

Do you face this problem with every project? Could you check it with simple "Hello, world!" project?

0

Yes I face this problem with every project, tried Hello World early as suggested by Serge Baranov.

New information:

the problem only happens when there is no initial settings.
When I borrowed settings from a coworker and used them during installation, there was *some* global SDK set.
After that I had no problem changing it to a different location, version, etc.

0

Please sign in to leave a comment.