Title: "Object reference not set to an instance of an object" when trying Go To Symbol in Workspace · Issue #378 · microsoft/python-language-server · GitHub
Open Graph Title: "Object reference not set to an instance of an object" when trying Go To Symbol in Workspace · Issue #378 · microsoft/python-language-server
X Title: "Object reference not set to an instance of an object" when trying Go To Symbol in Workspace · Issue #378 · microsoft/python-language-server
Description: This is a follow up on #137 that was closed prior to version 0.1.60.0. Here is the full error message with the new version: Starting Microsoft Python language server. Microsoft Python Language Server version 0.1.60.0 Initializing for /op...
Open Graph Description: This is a follow up on #137 that was closed prior to version 0.1.60.0. Here is the full error message with the new version: Starting Microsoft Python language server. Microsoft Python Language Serv...
X Description: This is a follow up on #137 that was closed prior to version 0.1.60.0. Here is the full error message with the new version: Starting Microsoft Python language server. Microsoft Python Language Serv...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/378
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"Object reference not set to an instance of an object\" when trying Go To Symbol in Workspace","articleBody":"This is a follow up on #137 that was closed prior to version 0.1.60.0.\r\n\r\nHere is the full error message with the new version:\r\n\r\n```\r\nStarting Microsoft Python language server.\r\nMicrosoft Python Language Server version 0.1.60.0\r\nInitializing for /opt/venvs/py37/bin/python\r\n[Error - 12:01:32 PM] Request workspace/symbol failed.\r\n Message: Object reference not set to an instance of an object.\r\n Code: -32000 \r\n at Microsoft.Python.LanguageServer.Implementation.Server.\u003c\u003ec__DisplayClass133_0.\u003cGetModuleVariables\u003eb__4(ILocationInfo l)\r\n at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)\r\n at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)\r\n at Microsoft.Python.LanguageServer.Implementation.Server.\u003c\u003ec__DisplayClass133_0.\u003cGetModuleVariables\u003eb__2(IMemberResult m)\r\n at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()\r\n at System.Linq.Enumerable.EnumerablePartition`1.ToList()\r\n at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)\r\n at Microsoft.Python.LanguageServer.Implementation.Server.GetModuleVariablesAsync(ProjectEntry entry, GetMemberOptions opts, String prefix, Int32 timeout, CancellationToken token)\r\n at Microsoft.Python.LanguageServer.Implementation.Server.WorkspaceSymbols(WorkspaceSymbolParams params, CancellationToken cancellationToken)\r\n at Microsoft.Python.LanguageServer.Implementation.LanguageServer.WorkspaceSymbols(JToken token, CancellationToken cancellationToken)\r\n```","author":{"url":"https://github.com/ogrisel","@type":"Person","name":"ogrisel"},"datePublished":"2018-11-09T11:09:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/378/python-language-server/issues/378"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c67f2e7e-5283-3432-0de5-9953b43644c7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D742:E1B7B:FA233A:16DFE29:6A4E35A9 |
| html-safe-nonce | 4146f7d5f9e3de9a3dd7734ddd9b91d9a0f61d4fdeeb185f63bfede481b6882b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzQyOkUxQjdCOkZBMjMzQToxNkRGRTI5OjZBNEUzNUE5IiwidmlzaXRvcl9pZCI6IjU5NDE2NDQ5MDg1Mjc3NjA4MDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 164713ea11342d26d844b8218af145e232bbaa3bba80822dbd5fd86a88acb8fe |
| hovercard-subject-tag | issue:379119449 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/python-language-server/378/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2f2cab9063c8378dd02a3bfaf52263bd7bbd573526166d49a4cd1defceb6054f/microsoft/python-language-server/issues/378 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2f2cab9063c8378dd02a3bfaf52263bd7bbd573526166d49a4cd1defceb6054f/microsoft/python-language-server/issues/378 |
| og:image:alt | This is a follow up on #137 that was closed prior to version 0.1.60.0. Here is the full error message with the new version: Starting Microsoft Python language server. Microsoft Python Language Serv... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ogrisel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 145901977 |
| octolytics-dimension-repository_nwo | microsoft/python-language-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145901977 |
| octolytics-dimension-repository_network_root_nwo | microsoft/python-language-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 42a6d378d7587a44c93aca255096cd66b7c8eb2d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width