java.lang.RuntimeException

The shell is still not connected, so, it is an invalid state to try to write to it.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web54965

  • via pydev by alextill
    , 1 year ago
    The shell is still not connected, so, it is an invalid state to try to write to it.
  • The shell is still not connected, so, it is an invalid state to try to write to it.
  • via Google Groups by BB, 6 months ago
    IO exception when sending line to server, is the network still up? Connected: true | Bot State: CONNECTED
  • Stack trace

    • java.lang.RuntimeException: The shell is still not connected, so, it is an invalid state to try to write to it. at org.python.pydev.editor.codecompletion.shell.AbstractShell.write(AbstractShell.java:611) at org.python.pydev.editor.codecompletion.shell.AbstractShell.getTheCompletions(AbstractShell.java:810) at org.python.pydev.editor.codecompletion.shell.AbstractShell.internalChangePythonPath(AbstractShell.java:802) at org.python.pydev.editor.codecompletion.shell.AbstractShell.getImportCompletions(AbstractShell.java:758) at org.python.pydev.editor.codecompletion.revisited.modules.CompiledModule.setTokens(CompiledModule.java:108) at org.python.pydev.editor.codecompletion.revisited.modules.CompiledModule.<init>(CompiledModule.java:72) at org.python.pydev.editor.codecompletion.revisited.ModulesManager.getModule(ModulesManager.java:450) at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getModule(ProjectModulesManager.java:246) at org.python.pydev.editor.codecompletion.revisited.ProjectModulesManager.getModule(ProjectModulesManager.java:230) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getModule(AbstractASTManager.java:264) at org.python.pydev.editor.codecompletion.revisited.AbstractASTManager.getBuiltinCompletions(AbstractASTManager.java:547) at com.python.pydev.analysis.visitors.OcurrencesVisitor.<init>(OcurrencesVisitor.java:130) at com.python.pydev.analysis.OcurrencesAnalyzer.analyzeDocument(OcurrencesAnalyzer.java:32) at com.python.pydev.analysis.builder.AnalysisBuilderThread.doAnalysis(AnalysisBuilderThread.java:159) at com.python.pydev.analysis.builder.AnalysisBuilderThread.run(AnalysisBuilderThread.java:118)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.