java.lang.IllegalStateException: Unknown connection type

YouTrack | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.IllegalStateException

    Unknown connection type

    at com.intellij.remote.RemoteConnectionCredentialsWrapper.unknownConnectionType()
  2. IDEA
    RemoteConnectionCredentialsWrapper.getId
    1. com.intellij.remote.RemoteConnectionCredentialsWrapper.unknownConnectionType(RemoteConnectionCredentialsWrapper.java:49)
    2. com.intellij.remote.RemoteConnectionCredentialsWrapper.a(RemoteConnectionCredentialsWrapper.java:85)
    3. com.intellij.remote.RemoteConnectionCredentialsWrapper.getTypeHandler(RemoteConnectionCredentialsWrapper.java:66)
    4. com.intellij.remote.RemoteConnectionCredentialsWrapper.getId(RemoteConnectionCredentialsWrapper.java:62)
    4 frames
  3. com.jetbrains.nodejs
    RemoteInterpreters.getState
    1. com.jetbrains.nodejs.remote.NodeJSRemoteSdkAdditionalData.constructSdkID(NodeJSRemoteSdkAdditionalData.java:137)
    2. com.jetbrains.nodejs.remote.NodeJSRemoteSdkAdditionalData.getSdkId(NodeJSRemoteSdkAdditionalData.java:132)
    3. com.jetbrains.nodejs.remote.RemoteInterpreters.getState(RemoteInterpreters.java:73)
    4. com.jetbrains.nodejs.remote.RemoteInterpreters.getState(RemoteInterpreters.java:21)
    4 frames
  4. com.intellij.configurationStore
    ComponentStoreImpl.initComponent
    1. com.intellij.configurationStore.StateGetter.close(StorageBaseEx.kt:54)
    2. com.intellij.configurationStore.ComponentStoreImpl.a(ComponentStoreImpl.kt:298)
    3. com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:95)
    3 frames
  5. IDEA
    ServiceManagerImpl$MyComponentAdapter.getComponentInstance
    1. com.intellij.openapi.components.impl.PlatformComponentManagerImpl.initializeComponent(PlatformComponentManagerImpl.java:54)
    2. com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.getComponentInstance(ServiceManagerImpl.java:237)
    2 frames
  6. Openapi
    DefaultPicoContainer.getComponentInstance
    1. com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:246)
    2. com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:212)
    2 frames
  7. org.picocontainer.defaults
    ConstructorInjectionComponentAdapter.getComponentInstance
    1. org.picocontainer.defaults.BasicComponentParameter.resolveInstance(BasicComponentParameter.java:77)
    2. org.picocontainer.defaults.ComponentParameter.resolveInstance(ComponentParameter.java:114)
    3. org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:257)
    4. org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:217)
    5. org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
    6. org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
    6 frames
  8. Openapi
    CachingConstructorInjectionComponentAdapter.getComponentInstance
    1. com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:58)
    1 frame
  9. Jetbrains extensions
    ExtensionPointName.getExtensions
    1. com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getComponentInstance(ExtensionComponentAdapter.java:77)
    2. com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getExtension(ExtensionComponentAdapter.java:119)
    3. com.intellij.openapi.extensions.impl.ExtensionPointImpl.processAdapters(ExtensionPointImpl.java:249)
    4. com.intellij.openapi.extensions.impl.ExtensionPointImpl.getExtensions(ExtensionPointImpl.java:194)
    5. com.intellij.openapi.extensions.Extensions.getExtensions(Extensions.java:100)
    6. com.intellij.openapi.extensions.Extensions.getExtensions(Extensions.java:87)
    7. com.intellij.openapi.extensions.ExtensionPointName.getExtensions(ExtensionPointName.java:49)
    7 frames
  10. com.intellij.javascript
    NodeJsInterpreterRef.resolve
    1. com.intellij.javascript.nodejs.NodeJSRemoteInterpreterManager.getInstance(NodeJSRemoteInterpreterManager.java:39)
    2. com.intellij.javascript.nodejs.interpreter.remote.NodeJsRemoteInterpreterType.<init>(NodeJsRemoteInterpreterType.java:31)
    3. com.intellij.javascript.nodejs.interpreter.remote.NodeJsRemoteInterpreterType.<clinit>(NodeJsRemoteInterpreterType.java:30)
    4. com.intellij.javascript.nodejs.interpreter.NodeJsInterpreterRef.resolveWithoutAliases(NodeJsInterpreterRef.java:55)
    5. com.intellij.javascript.nodejs.interpreter.NodeJsInterpreterRef.resolve(NodeJsInterpreterRef.java:41)
    5 frames
  11. com.intellij.lang
    GulpRunConfiguration.checkConfiguration
    1. com.intellij.lang.javascript.buildTools.gulp.rc.GulpRunConfiguration.getNonSharedSettings(GulpRunConfiguration.java:130)
    2. com.intellij.lang.javascript.buildTools.gulp.rc.GulpRunConfiguration.checkRunSettings(GulpRunConfiguration.java:111)
    3. com.intellij.lang.javascript.buildTools.gulp.rc.GulpRunConfiguration.checkConfiguration(GulpRunConfiguration.java:106)
    3 frames
  12. IDEA
    DeferredIconImpl.a
    1. com.intellij.execution.impl.RunnerAndConfigurationSettingsImpl.checkSettings(RunnerAndConfigurationSettingsImpl.java:423)
    2. com.intellij.execution.impl.RunnerAndConfigurationSettingsImpl.checkSettings(RunnerAndConfigurationSettingsImpl.java:418)
    3. com.intellij.execution.impl.RunManagerImpl.a(RunManagerImpl.java:1082)
    4. com.intellij.ui.DeferredIconImpl.evaluate(DeferredIconImpl.java:253)
    5. com.intellij.ui.DeferredIconImpl.a(DeferredIconImpl.java:139)
    6. com.intellij.ui.IconDeferrerImpl.evaluateDeferred(IconDeferrerImpl.java:117)
    7. com.intellij.ui.DeferredIconImpl.a(DeferredIconImpl.java:139)
    8. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1033)
    9. com.intellij.openapi.progress.util.ProgressIndicatorUtils.a(ProgressIndicatorUtils.java:80)
    10. com.intellij.openapi.progress.util.ProgressIndicatorUtils.a(ProgressIndicatorUtils.java:135)
    11. com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170)
    12. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:494)
    13. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
    14. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    15. com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155)
    16. com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:133)
    17. com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:80)
    18. com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:101)
    19. com.intellij.ui.DeferredIconImpl.a(DeferredIconImpl.java:138)
    19 frames
  13. Openapi
    BoundedTaskExecutor$2.run
    1. com.intellij.util.concurrency.BoundedTaskExecutor.runFirstTaskThenPollAndRunRest(BoundedTaskExecutor.java:178)
    2. com.intellij.util.concurrency.BoundedTaskExecutor.access$000(BoundedTaskExecutor.java:40)
    3. com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:197)
    3 frames
  14. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames