Repository: vscode
Issue: Cannot read properties of undefined (reading 'isVisible')
Labels: error-telemetry

```javascript
TypeError: Cannot read properties of undefined (reading 'isVisible')
at b.convertModelPositionToViewPosition in src/vs/editor/common/viewModel/viewModelLines.ts:846:66
at a.convertModelPositionToViewPosition in src/vs/editor/common/viewModel/viewModelLines.ts:1086:22
at C.g in src/vs/editor/common/cursor/oneCursor.ts:148:61
at C.setState in src/vs/editor/common/cursor/oneCursor.ts:81:8
at $.setStates in src/vs/editor/common/cursor/cursorCollection.ts:109:19
at d.setStates in src/vs/editor/common/cursor/cursor.ts:127:17
at d.setSelections in src/vs/editor/common/cursor/cursor.ts:309:8
at <anonymous> in src/vs/editor/common/viewModel/viewModelImpl.ts:1029:65
at callback in src/vs/editor/common/viewModel/viewModelImpl.ts:1109:12
at cb in src/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:1656:14
at D.U in src/vs/editor/common/viewModel/viewModelImpl.ts:1106:36
at D.setSelections in src/vs/editor/common/viewModel/viewModelImpl.ts:1029:8
at V.setSelections in src/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:899:29
at a.setSelections in src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.ts:531:23
at n in src/vs/workbench/contrib/notebook/browser/view/notebookCellEditorPool.ts:96:11
at _update in src/vs/workbench/contrib/notebook/browser/view/notebookCellEditorPool.ts:105:5
at l.B in src/vs/base/common/event.ts:1242:13
at l.C in src/vs/base/common/event.ts:1253:9
at l.fire in src/vs/base/common/event.ts:1277:9
at d.value in src/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:1747:36
at l.B in src/vs/base/common/event.ts:1242:13
at l.fire in src/vs/base/common/event.ts:1273:9
at v.s in src/vs/editor/common/viewModelEventDispatcher.ts:64:18
at v.endEmitViewEvents in src/vs/editor/common/viewModelEventDispatcher.ts:109:8
at <anonymous> in src/vs/editor/common/viewModel/viewModelImpl.ts:412:27
at listener in src/vs/editor/common/model/textModel.ts:236:38
at l.B in src/vs/base/common/event.ts:1242:13
at l.C in src/vs/base/common/event.ts:1253:9
at l.fire in src/vs/base/common/event.ts:1277:9
at oe.endDeferredEmit in src/vs/editor/common/model/textModel.ts:2512:23
at K.pushEditOperations in src/vs/editor/common/model/textModel.ts:1278:23
at o.c in src/vs/editor/common/cursor/cursor.ts:796:35
at o.executeCommands in src/vs/editor/common/cursor/cursor.ts:754:23
at d.G in src/vs/editor/common/cursor/cursor.ts:360:34
at <anonymous> in src/vs/editor/common/cursor/cursor.ts:565:11
at callback in src/vs/editor/common/cursor/cursor.ts:520:4
at d.type in src/vs/editor/common/cursor/cursor.ts:554:8
at <anonymous> in src/vs/editor/common/viewModel/viewModelImpl.ts:1056:59
at callback in src/vs/editor/common/viewModel/viewModelImpl.ts:1109:12
at cb in src/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:1656:14
at D.U in src/vs/editor/common/viewModel/viewModelImpl.ts:1106:36
at D.S in src/vs/editor/common/viewModel/viewModelImpl.ts:1044:8
at D.type in src/vs/editor/common/viewModel/viewModelImpl.ts:1056:8
at V.Vb in src/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:1131:29
at V.trigger in src/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:1061:11
at F.runCommand in src/vs/editor/browser/coreCommands.ts:2144:10
at handler in src/vs/editor/browser/editorExtensions.ts:155:38
at actualHandler in src/vs/platform/commands/common/commands.ts:98:12
at fn in src/vs/platform/instantiation/common/instantiationService.ts:109:11
at w.n in src/vs/workbench/services/commands/common/commandService.ts:95:46
at w.executeCommand in src/vs/workbench/services/commands/common/commandService.ts:60:17
at Object.type in src/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:1819:27
at k.type in src/vs/editor/browser/view/viewController.ts:72:24
at d.value in src/vs/editor/browser/controller/textAreaHandler.ts:350:26
at l.B in src/vs/base/common/event.ts:1242:13
at l.fire in src/vs/base/common/event.ts:1273:9
at d.value in src/vs/editor/browser/controller/textAreaInput.ts:396:18
at l.B in src/vs/base/common/event.ts:1242:13
at l.C in src/vs/base/common/event.ts:1253:9
at l.fire in src/vs/base/common/event.ts:1277:9
at HTMLTextAreaElement.S in src/vs/base/browser/event.ts:40:41
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=4849ca9bdf9666755eb463db297b69e5385090e3&bH=b7bf7955-1719-1f96-4e9a-3a2001379400)