Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash after select Node interpreter from WSL2 #21

Open
MiMEKiZ opened this issue Feb 20, 2021 · 3 comments
Open

Crash after select Node interpreter from WSL2 #21

MiMEKiZ opened this issue Feb 20, 2021 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@MiMEKiZ
Copy link

MiMEKiZ commented Feb 20, 2021

Exception drops after selecting Node interpreter from wsl2 (Windows 10)
(PHPStorm version 2020.3.2)

com.intellij.execution.ExecutionException: Please specify local Node.js interpreter at com.intellij.javascript.nodejs.interpreter.local.NodeJsLocalInterpreter.cast(NodeJsLocalInterpreter.java:495) at com.intellij.javascript.nodejs.interpreter.NodeJsInterpreterRef.resolveAsLocal(NodeJsInterpreterRef.java:75) at io.plugin.base.runner.inter._RunConfiguration.getInterpreterSystemDependentPath(_RunConfiguration.kt:104) at io.plugin.base.runner.inter._RunConfiguration.checkConfiguration(_RunConfiguration.kt:122) at io.plugin.tsnode.execution.TsRunConfiguration.checkConfiguration(TsRunConfiguration.kt:47) at com.intellij.execution.impl.RunnerAndConfigurationSettingsImpl$checkSettings$$inlined$doCheck$lambda$1.compute(actions.kt:61) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:871) at com.intellij.execution.impl.RunnerAndConfigurationSettingsImpl.checkSettings(RunnerAndConfigurationSettingsImpl.kt:614) at com.intellij.execution.impl.SingleConfigurationConfigurable.getValidationResult(SingleConfigurationConfigurable.java:194) at com.intellij.execution.impl.SingleConfigurationConfigurable$MyValidatableComponent.getValidationResult(SingleConfigurationConfigurable.java:480) at com.intellij.execution.impl.SingleConfigurationConfigurable$MyValidatableComponent.updateWarning(SingleConfigurationConfigurable.java:484) at com.intellij.execution.impl.SingleConfigurationConfigurable$MyValidatableComponent.<init>(SingleConfigurationConfigurable.java:381) at com.intellij.execution.impl.SingleConfigurationConfigurable.reset(SingleConfigurationConfigurable.java:145) at com.intellij.execution.impl.SingleConfigurationConfigurable.editSettings(SingleConfigurationConfigurable.java:110) at com.intellij.execution.impl.RunConfigurable.getSafeUserObject(RunConfigurable.kt:354) at com.intellij.execution.impl.RunConfigurable.access$getSafeUserObject(RunConfigurable.kt:86) at com.intellij.execution.impl.RunConfigurable$initTree$5.valueChanged(RunConfigurable.kt:229) at java.desktop/javax.swing.JTree.fireValueChanged(JTree.java:2967) at java.desktop/javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3456) at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:641) at com.intellij.ui.treeStructure.Tree$MySelectionModel.fireValueChanged(Tree.java:618) at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1111) at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:297) at java.desktop/javax.swing.JTree.setSelectionPaths(JTree.java:1669) at java.desktop/javax.swing.JTree.setSelectionRows(JTree.java:1752) at java.desktop/javax.swing.JTree.setSelectionRow(JTree.java:1727) at com.intellij.util.ui.tree.TreeUtil.lambda$showAndSelect$10(TreeUtil.java:702) at com.intellij.util.ui.tree.TreeUtil.showAndSelect(TreeUtil.java:737) at com.intellij.util.ui.tree.TreeUtil.showAndSelect(TreeUtil.java:657) at com.intellij.util.ui.tree.TreeUtil.showAndSelect(TreeUtil.java:652) at com.intellij.util.ui.tree.TreeUtil.selectPath(TreeUtil.java:567) at com.intellij.util.ui.tree.TreeUtil.selectInTree(TreeUtil.java:1100) at com.intellij.util.ui.tree.TreeUtil.selectInTree(TreeUtil.java:1088) at com.intellij.execution.impl.RunConfigurable.selectConfiguration(RunConfigurable.kt:309) at com.intellij.execution.impl.RunConfigurable.access$selectConfiguration(RunConfigurable.kt:86) at com.intellij.execution.impl.RunConfigurable$selectConfigurableOnShow$1.run(RunConfigurable.kt:287) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:216) at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:24) at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:199) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:822) at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:324) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:85) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:134) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:47) at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:190) 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:976) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:843) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:454) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:762) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:453) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:822) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:501) 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.pumpEventsForFilter(EventDispatchThread.java:117) at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190) at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235) at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233) at java.desktop/java.awt.Dialog.show(Dialog.java:1063) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:694) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:435) at com.intellij.openapi.ui.DialogWrapper.doShow(DialogWrapper.java:1715) at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1674) at com.intellij.execution.actions.EditRunConfigurationsAction.actionPerformed(EditRunConfigurationsAction.java:31) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:281) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:275) at com.intellij.ui.popup.ActionPopupStep.performAction(ActionPopupStep.java:223) at com.intellij.ui.popup.ActionPopupStep.performAction(ActionPopupStep.java:213) at com.intellij.ui.popup.ActionPopupStep.lambda$onChosen$2(ActionPopupStep.java:207) at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:95) at com.intellij.ui.popup.AbstractPopup.lambda$dispose$16(AbstractPopup.java:1467) at com.intellij.util.ui.EdtInvocationManager.invokeLaterIfNeeded(EdtInvocationManager.java:88) at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2194) at com.intellij.ide.IdeEventQueue.ifFocusEventsInTheQueue(IdeEventQueue.java:188) at com.intellij.ide.IdeEventQueue.executeWhenAllFocusEventsLeftTheQueue(IdeEventQueue.java:140) at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:173) at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.doWhenFocusSettlesDown(IdeFocusManagerImpl.java:36) at com.intellij.ui.popup.AbstractPopup.dispose(AbstractPopup.java:1463) at com.intellij.ui.popup.WizardPopup.dispose(WizardPopup.java:158) at com.intellij.ui.popup.list.ListPopupImpl.dispose(ListPopupImpl.java:329) at com.intellij.ui.popup.PopupFactoryImpl$ActionGroupPopup.dispose(PopupFactoryImpl.java:304) at com.intellij.openapi.util.ObjectTree.runWithTrace(ObjectTree.java:138) at com.intellij.openapi.util.ObjectTree.executeAll(ObjectTree.java:168) at com.intellij.openapi.util.Disposer.dispose(Disposer.java:142) at com.intellij.openapi.util.Disposer.dispose(Disposer.java:130) at com.intellij.ui.popup.WizardPopup.disposeAllParents(WizardPopup.java:261) at com.intellij.ui.popup.list.ListPopupImpl.handleNextStep(ListPopupImpl.java:446) at com.intellij.ui.popup.list.ListPopupImpl._handleSelect(ListPopupImpl.java:418) at com.intellij.ui.popup.list.ListPopupImpl.handleSelect(ListPopupImpl.java:364) at com.intellij.ui.popup.PopupFactoryImpl$ActionGroupPopup.handleSelect(PopupFactoryImpl.java:324) at com.intellij.ui.popup.list.ListPopupImpl$MyMouseListener.mouseReleased(ListPopupImpl.java:582) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6652) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345) at com.intellij.ui.popup.list.ListPopupImpl$MyList.processMouseEvent(ListPopupImpl.java:639) at java.desktop/java.awt.Component.processEvent(Component.java:6417) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4859) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4859) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778) 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.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749) 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:748) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:976) at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:911) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:840) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:454) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:773) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:453) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:822) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:507) 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)

@bluelovers
Copy link
Owner

how do u make wsl2 select able?

@bluelovers bluelovers added bug Something isn't working help wanted Extra attention is needed labels Jun 6, 2021
@Celend
Copy link

Celend commented Jun 28, 2021

Any progress? I have the same problem.

Or may I can provide some detail or reproduce.

@bluelovers
Copy link
Owner

Any progress? I have the same problem.

Or may I can provide some detail or reproduce.

i don't know how to use wsl2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants