OmniSharp / omnisharp-sublime

C# IDE Plugin for Sublime Text 3
http://omnisharp-sublime.readthedocs.org/en/latest/
MIT License
551 stars 64 forks source link

Error talking to localhost:49923/autocomplete #263

Closed Nishit-Dua closed 3 years ago

Nishit-Dua commented 4 years ago

Platform

Linux

Type

This is an issue

Checklist

Versions

output of mono --version:

Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-2 Wed Feb 26 23:23:50 UTC 2020)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none
    Misc:          softdebug 
    Interpreter:   yes
    LLVM:          supported, not enabled.
    Suspend:       hybrid
    GC:            sgen (concurrent by default)

output of msbuild /version:

Microsoft (R) Build Engine version 16.5.0+d4cbfca49 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

16.5.0.12403

Details

What's the bug?

autocomplete and debug not working

How-To

How do I reproduce this issue?

Whenever i open a C# file it says Error talking to localhost:49923/autocomplete

kyoobey commented 4 years ago

I'm also having this issue. Omnisharp is installed in the sublime package.

setup

C:\Users\gamedev>mono --version
Mono JIT compiler version 6.8.0 (Visual Studio built mono)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
C:\Users\gamedev>msbuild /version
Microsoft (R) Build Engine version 16.5.0-ci for Mono
Copyright (C) Microsoft Corporation. All rights reserved.

16.5.0.16201
C:\Users\gamedev>C:/Users/gamedev/apps/st3/Data/Packages/OmniSharp/prebuilt-omnisharp-roslyn/omnisharp.cmd
Application startup exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at OmniSharp.MSBuild.ProjectSystem..ctor(IOmniSharpEnvironment environment, OmniSharpWorkspace workspace, IMSBuildLocator msbuildLocator, IDotNetCliService dotNetCliService, SdksPathResolver sdksPathResolver, MetadataFileReferenceCache metadataFileReferenceCache, IEventEmitter eventEmitter, IFileSystemWatcher fileSystemWatcher, FileSystemHelper fileSystemHelper, ILoggerFactory loggerFactory, IEnumerable`1 eventSinks)
(long traceback)

edit: tried in sublime text 3 portable version, freash install of windows

Nishit-Dua commented 4 years ago

@tshrpl sadly the mantaince of the is extention has been stoped so i suggest you to move to VS code or VS for C# development.

kyoobey commented 4 years ago

I like sublime text. Just because a plugin doesn't works, I am not going to move on to VS !

Mohammad9760 commented 1 year ago

anyone found any fix for this??