vscode-csharp icon indicating copy to clipboard operation
vscode-csharp copied to clipboard

Cannot read property 'uri' of null

Open jrieken opened this issue 10 years ago • 5 comments

From @vscodeerrors on January 25, 2016 16:53

Issue Id: 5158e8e3-2e09-43c1-badd-5989e08cdab3

Versions
- 0.10.6-release
- dfc08dc9edf6607483b193bf934d3badc3fa2e11
Stack
TypeError: Cannot read property 'uri' of null
[vs/workbench/node/pluginHostProcess.js#L9:0 (define)](https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/srcvs/workbench/node/pluginHostProcess.js#L9:0 %28define%29)
at render (c:\Program Files (x86)\Microsoft VS Code\resources\app\extensions\jrieken.vscode-omnisharp\out\features\omnisharpStatus.js:43:57)
/vs/base/common/arrays.ts#L5:0
/vs/base/common/arrays.ts#L5:0
[vs/workbench/node/pluginHostProcess.js#L9:0 (define)](https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/srcvs/workbench/node/pluginHostProcess.js#L9:0 %28define%29)
[vs/workbench/node/pluginHostProcess.js#L9:0 (define)](https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/srcvs/workbench/node/pluginHostProcess.js#L9:0 %28define%29)
/vs/base/common/arrays.ts#L5:0
at Object.p.handle (c:\Program Files (x86)

Copied from original issue: Microsoft/vscode#2244

jrieken avatar Jan 25 '16 17:01 jrieken

This is pretty ancient and the code in omnisharpStatus.ts has changed enough that I'm not sure whether it's still a problem or not. Closing this for now. Please re-open if it comes up again.

DustinCampbell avatar Apr 21 '16 22:04 DustinCampbell

Cannot read property 'uri' of nullthis error throws in VS code 1.20 also my javascript Formatter is not Working. is this error related to this?

karnavpargi avatar Feb 14 '18 06:02 karnavpargi

this error throws in VS vode 1.24 also , my python formatter is not working,but other formatter is well, so how can I fix this problem?

yichengsu avatar May 10 '18 04:05 yichengsu

@karnavkumar / @Evan1995 : This repo is for C# for VS Code. You should file an issue over at https://github.com/Microsoft/vscode/issues.

DustinCampbell avatar May 10 '18 15:05 DustinCampbell

I was unable to install C# extension on VScode version 1.19.3 with error Cannot read property 'uri' of null. Does anyone know what could possible cause it?

Fyi, I had to use this version of VScode due to the legacy developer software that were only compatible with VScode 2017.

ghost avatar May 20 '24 04:05 ghost