Skip to content

Failed to start java Language Server #157

Description

@Ahmedgeebalkareem

java.io.IOException: Stream closed
at at java.io.BufferedReader.ensureOpen(BufferedReader.java:123)
at at java.io.BufferedReader.readLine(BufferedReader.java:330)
at at java.io.BufferedReader.readLine(BufferedReader.java:403)
at at com.nullij.androidcodestudio.lsp.java.JavaLanguageServerManager$VrBvldW0IwqV0um$1.invokeSuspend(JavaLanguageServerManager.kt:619)
at at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
at at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
at at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
at at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
[10:03:17.560] ERROR Logger - Error in error reader thread
java.io.InterruptedIOException: read interrupted by close() on another thread
at at libcore.io.Linux.readBytes(Native Method)
at at libcore.io.Linux.read(Linux.java:232)
at at libcore.io.ForwardingOs.read(ForwardingOs.java:629)
at at libcore.io.BlockGuardOs.read(BlockGuardOs.java:325)
at at libcore.io.ForwardingOs.read(ForwardingOs.java:629)
at at libcore.io.IoBridge.read(IoBridge.java:604)
at at java.io.FileInputStream.read(FileInputStream.java:353)
at at java.io.BufferedInputStream.read1(BufferedInputStream.java:277)
at at java.io.BufferedInputStream.read(BufferedInputStream.java:338)
at at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:309)
[10:03:17.563] DEBUG Logger - ✅ Java server stopped
[10:03:17.565] ERROR EditorActivity - ❌ Failed to start java Language Server

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions