Title: Null Reference Exception · Issue #534 · microsoft/python-language-server · GitHub
Open Graph Title: Null Reference Exception · Issue #534 · microsoft/python-language-server
X Title: Null Reference Exception · Issue #534 · microsoft/python-language-server
Description: Hi! I tried clearing the whole vscode directory and reinstalled vscode and every plugin, but I still get this error. But strangely it only happen on one of my computers. On all others it works fine. Could you pls help? thx! step to repro...
Open Graph Description: Hi! I tried clearing the whole vscode directory and reinstalled vscode and every plugin, but I still get this error. But strangely it only happen on one of my computers. On all others it works fine...
X Description: Hi! I tried clearing the whole vscode directory and reinstalled vscode and every plugin, but I still get this error. But strangely it only happen on one of my computers. On all others it works fine...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/534
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Null Reference Exception","articleBody":"Hi! I tried clearing the whole vscode directory and reinstalled vscode and every plugin, but I still get this error. But strangely it only happen on one of my computers. On all others it works fine. Could you pls help? thx!\r\n\r\nstep to reproduce:\r\nopen vscode, open a .py file, and wait for around 10 sec.\r\n\r\n```\r\nStarting Microsoft Python language server.\r\n##########Linting Output - pylint##########\r\n\r\n--------------------------------------------------------------------\r\n\r\nYour code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)\r\n\r\n\r\n\r\nMicrosoft Python Language Server version 0.1.75.0\r\nInitializing for C:\\Program Files\\Python37\\python.exe\r\n[Error - 9:13:37 PM] System.NullReferenceException: Object reference not set to an instance of an object.\r\n at Microsoft.PythonTools.Analysis.AnalysisSet.Split[T](IAnalysisSet set, IReadOnlyList`1\u0026 ofType, IAnalysisSet\u0026 rest)\r\n at Microsoft.PythonTools.Analysis.Analyzer.ExpressionEvaluatorAnnotationConverter.FinalizeNames(IAnalysisSet types)\r\n at Microsoft.PythonTools.Analysis.Analyzer.ExpressionEvaluatorAnnotationConverter.MakeGeneric(IAnalysisSet baseType, IReadOnlyList`1 args)\r\n at Microsoft.PythonTools.Parsing.Ast.TypeAnnotation.Walker.MakeGenericOp.Apply[T](TypeAnnotationConverter`1 converter, Stack`1 stack)\r\n at Microsoft.PythonTools.Parsing.Ast.TypeAnnotation.Walker.GetResult[T](TypeAnnotationConverter`1 converter)\r\n at Microsoft.PythonTools.Analysis.Values.TypingTypeInfo.\u003c\u003ec__DisplayClass8_0.\u003cGetIndex\u003eb__0(Node n)\r\n at Microsoft.PythonTools.Analysis.Analyzer.InterpreterScope.GetOrMakeNodeValue(Node node, NodeValueKind kind, Func`2 maker)\r\n at Microsoft.PythonTools.Analysis.AnalysisValueSetExtensions.GetIndex(IAnalysisSet self, Node node, AnalysisUnit unit, IAnalysisSet index)\r\n at Microsoft.PythonTools.Analysis.Analyzer.ExpressionEvaluator.EvaluateWorker(Node node)\r\n at Microsoft.PythonTools.Analysis.Analyzer.DDG.Walk(ReturnStatement node)\r\n at Microsoft.PythonTools.Parsing.Ast.ReturnStatement.Walk(PythonWalker walker)\r\n at Microsoft.PythonTools.Analysis.Analyzer.DDG.Walk(SuiteStatement node)\r\n at Microsoft.PythonTools.Parsing.Ast.SuiteStatement.Walk(PythonWalker walker)\r\n at Microsoft.PythonTools.Analysis.Analyzer.FunctionAnalysisUnit.AnalyzeWorker(DDG ddg, CancellationToken cancel)\r\n at Microsoft.PythonTools.Analysis.Analyzer.DDG.Analyze(Deque`1 queue, CancellationToken cancel, Action`1 reportQueueSize, Int32 reportQueueInterval)\r\n at Microsoft.PythonTools.Analysis.PythonAnalyzer.AnalyzeQueuedEntries(CancellationToken cancel)\r\n at Microsoft.PythonTools.Intellisense.AnalysisQueue.GroupAnalysis.Analyze(CancellationToken cancel)\r\n at Microsoft.PythonTools.Intellisense.AnalysisQueue.HandleAnalyzable(IAnalyzable item, AnalysisPriority priority, CancellationToken cancellationToken)\r\n at Microsoft.PythonTools.Intellisense.AnalysisQueue.ConsumerLoop()\r\n[Error - 9:13:37 PM] System.NullReferenceException: Object reference not set to an instance of an object.\r\n at Microsoft.PythonTools.Analysis.AnalysisSet.Split[T](IAnalysisSet set, IReadOnlyList`1\u0026 ofType, IAnalysisSet\u0026 rest)\r\n at Microsoft.PythonTools.Analysis.Analyzer.ExpressionEvaluatorAnnotationConverter.FinalizeNames(IAnalysisSet types)\r\n at Microsoft.PythonTools.Analysis.Analyzer.ExpressionEvaluatorAnnotationConverter.MakeGeneric(IAnalysisSet baseType, IReadOnlyList`1 args)\r\n at Microsoft.PythonTools.Parsing.Ast.TypeAnnotation.Walker.MakeGenericOp.Apply[T](TypeAnnotationConverter`1 converter, Stack`1 stack)\r\n at Microsoft.PythonTools.Parsing.Ast.TypeAnnotation.Walker.GetResult[T](TypeAnnotationConverter`1 converter)\r\n at Microsoft.PythonTools.Analysis.Values.TypingTypeInfo.\u003c\u003ec__DisplayClass8_0.\u003cGetIndex\u003eb__0(Node n)\r\n at Microsoft.PythonTools.Analysis.Analyzer.InterpreterScope.GetOrMakeNodeValue(Node node, NodeValueKind kind, Func`2 maker)\r\n at Microsoft.PythonTools.Analysis.AnalysisValueSetExtensions.GetIndex(IAnalysisSet self, Node node, AnalysisUnit unit, IAnalysisSet index)\r\n at Microsoft.PythonTools.Analysis.Analyzer.ExpressionEvaluator.EvaluateWorker(Node node)\r\n at Microsoft.PythonTools.Analysis.Analyzer.DDG.Walk(ReturnStatement node)\r\n at Microsoft.PythonTools.Parsing.Ast.ReturnStatement.Walk(PythonWalker walker)\r\n at Microsoft.PythonTools.Analysis.Analyzer.DDG.Walk(SuiteStatement node)\r\n at Microsoft.PythonTools.Parsing.Ast.SuiteStatement.Walk(PythonWalker walker)\r\n at Microsoft.PythonTools.Analysis.Analyzer.FunctionAnalysisUnit.AnalyzeWorker(DDG ddg, CancellationToken cancel)\r\n at Microsoft.PythonTools.Analysis.Analyzer.DDG.Analyze(Deque`1 queue, CancellationToken cancel, Action`1 reportQueueSize, Int32 reportQueueInterval)\r\n at Microsoft.PythonTools.Analysis.PythonAnalyzer.AnalyzeQueuedEntries(CancellationToken cancel)\r\n at Microsoft.PythonTools.Intellisense.AnalysisQueue.GroupAnalysis.Analyze(CancellationToken cancel)\r\n at Microsoft.PythonTools.Intellisense.AnalysisQueue.HandleAnalyzable(IAnalyzable item, AnalysisPriority priority, CancellationToken cancellationToken)\r\n at Microsoft.PythonTools.Intellisense.AnalysisQueue.ConsumerLoop()\r\n```\r\nhttps://github.com/Microsoft/vscode-python/issues/3970","author":{"url":"https://github.com/jerryc05","@type":"Person","name":"jerryc05"},"datePublished":"2019-01-17T13:27:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/534/python-language-server/issues/534"}
| 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:5b1a6b4f-a7f3-c6e9-52bf-0fbd45369a01 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 848E:3F0628:AEA885D:B221AA6:6A50BE67 |
| html-safe-nonce | 2c4ade69d0fef81a19c620223e300e6d821aa3080631084d46b3032a7872da32 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDhFOjNGMDYyODpBRUE4ODVEOkIyMjFBQTY6NkE1MEJFNjciLCJ2aXNpdG9yX2lkIjoiNDc3NjIwNzY4ODgzMTkwOTQ3OSIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9 |
| visitor-hmac | 6930a90ec1a6dd0ca62215978947b98b986dce5067d570fe73e7deb98e064469 |
| hovercard-subject-tag | issue:400276706 |
| 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/534/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b841ebf4cfdc37d2309f803859e06359d94abf1be0da9bf310eaa746d9cd19cf/microsoft/python-language-server/issues/534 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b841ebf4cfdc37d2309f803859e06359d94abf1be0da9bf310eaa746d9cd19cf/microsoft/python-language-server/issues/534 |
| og:image:alt | Hi! I tried clearing the whole vscode directory and reinstalled vscode and every plugin, but I still get this error. But strangely it only happen on one of my computers. On all others it works fine... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jerryc05 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| 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 | 08e79d53fc070870d5b168356afebb1e286a2ffe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width