denis-fokin / ChooseRuntime

JetBrains-based IDE Runtime switcher
43 stars 12 forks source link

Choose Runtime action fails with exception #3

Open alexbudarov opened 5 years ago

alexbudarov commented 5 years ago

When I invoke Choose Runtime action - it loads something from the internet and then fails with exception:

Click to expand ```java i2019-09-26 11:29:47,954 [ 872712] ERROR - pplication.impl.LaterInvocator - ProgressManager.getInsta…tanceEx().defaultProject) must not be null java.lang.IllegalStateException: ProgressManager.getInsta…tanceEx().defaultProject) must not be null at bootRuntime.bundles.Runtime.fetchVersion(Runtime.kt:46) at bootRuntime.bundles.Local$version$2.invoke(Local.kt:16) at bootRuntime.bundles.Local$version$2.invoke(Local.kt:10) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at bootRuntime.bundles.Local.getVersion(Local.kt) at bootRuntime.bundles.Local.toString(Local.kt:28) at java.desktop/javax.swing.plaf.basic.BasicComboBoxRenderer.getListCellRendererComponent(BasicComboBoxRenderer.java:125) at com.intellij.ui.EditorComboBoxRenderer.getListCellRendererComponent(EditorComboBoxRenderer.java:42) at bootRuntime.main.ChooseBootRuntimeAction$actionPerformed$3.getListCellRendererComponent(ChooseBootRuntimeAction.kt:123) at com.intellij.openapi.ui.ComboBoxWithWidePopup$AdjustingListCellRenderer.getListCellRendererComponent(ComboBoxWithWidePopup.java:89) at com.intellij.ide.ui.laf.darcula.ui.DarculaComboBoxUI$CustomComboPopup$MyDelegateRenderer.getListCellRendererComponent(DarculaComboBoxUI.java:735) at com.intellij.ui.components.WideSelectionListUI.updateLayoutState(WideSelectionListUI.java:150) at java.desktop/javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1389) at java.desktop/javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(BasicListUI.java:2785) at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:219) at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:199) at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:246) at java.desktop/javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:443) at java.desktop/javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:453) at java.desktop/javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:497) at java.desktop/javax.swing.JList.setSelectedIndex(JList.java:2205) at java.desktop/javax.swing.plaf.basic.BasicComboPopup.setListSelection(BasicComboPopup.java:1234) at java.desktop/javax.swing.plaf.basic.BasicComboPopup$Handler.itemStateChanged(BasicComboPopup.java:1058) at java.desktop/javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1227) at java.desktop/javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1288) at java.desktop/javax.swing.JComboBox.contentsChanged(JComboBox.java:1335) at java.desktop/javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:123) at com.intellij.ui.CollectionComboBoxModel.update(CollectionComboBoxModel.java:49) at com.intellij.ui.CollectionComboBoxModel.setSelectedItem(CollectionComboBoxModel.java:33) at java.desktop/javax.swing.JComboBox.setSelectedItem(JComboBox.java:579) at bootRuntime.main.ChooseBootRuntimeAction.actionPerformed(ChooseBootRuntimeAction.kt:151) at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:265) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:282) at com.intellij.ide.actions.GotoActionAction.lambda$performAction$7(GotoActionAction.java:335) at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:82) at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransaction$1(TransactionGuardImpl.java:106) at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:115) at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransactionLater$4(TransactionGuardImpl.java:268) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:433) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:416) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:399) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:824) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:773) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:412) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:704) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:411) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) ```

System info:

2019-09-26 11:29:47,954 [ 872712]  ERROR - pplication.impl.LaterInvocator - IntelliJ IDEA 2019.2.3  Build #IC-192.6817.14 
2019-09-26 11:29:47,955 [ 872713]  ERROR - pplication.impl.LaterInvocator - JDK: 11.0.4; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o 
2019-09-26 11:29:47,955 [ 872713]  ERROR - pplication.impl.LaterInvocator - OS: Linux 
2019-09-26 11:29:47,955 [ 872713]  ERROR - pplication.impl.LaterInvocator - Plugin to blame: Choose Runtime version: 1.0.3 
2019-09-26 11:29:47,955 [ 872713]  ERROR - pplication.impl.LaterInvocator - Last Action: bootRuntime.main.ChooseBootRuntimeAction