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

```javascript
TypeError: Cannot read properties of undefined (reading 'isVisible')
at xEi.convertModelPositionToViewPosition in src/vs/editor/common/viewModel/viewModelLines.ts:846:66
at IEi.convertModelPositionToViewPosition in src/vs/editor/common/viewModel/viewModelLines.ts:1086:22
at _a.Mb in out-vscode/vs/editor/browser/widget/codeEditor/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:575:65
at _a.getTopForPosition in out-vscode/vs/editor/browser/widget/codeEditor/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:567:27
at om.cursorAtBoundary in src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.ts:626:44
at b in src/vs/workbench/contrib/notebook/browser/view/notebookCellList.ts:185:20
at recomputeContext in src/vs/workbench/contrib/notebook/browser/view/notebookCellList.ts:226:7
at x.B in src/vs/base/common/event.ts:1242:13
at x.C in src/vs/base/common/event.ts:1253:9
at x.fire in src/vs/base/common/event.ts:1277:9
at NQ.value in src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.ts:307:95
at x.B in src/vs/base/common/event.ts:1242:13
at x.C in src/vs/base/common/event.ts:1253:9
at x.fire in src/vs/base/common/event.ts:1277:9
at NQ.value in out-vscode/vs/editor/browser/widget/codeEditor/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:1736:39
at x.B in src/vs/base/common/event.ts:1242:13
at x.fire in src/vs/base/common/event.ts:1273:9
at Zxi.s in src/vs/editor/common/viewModelEventDispatcher.ts:64:18
at Zxi.endEmitViewEvents in src/vs/editor/common/viewModelEventDispatcher.ts:109:8
at <anonymous> in src/vs/editor/common/viewModel/viewModelImpl.ts:1116:27
at cb in out-vscode/vs/editor/browser/widget/codeEditor/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:1660:14
at REi.U in src/vs/editor/common/viewModel/viewModelImpl.ts:1111:36
at REi.setSelections in src/vs/editor/common/viewModel/viewModelImpl.ts:1034:8
at _a.setSelections in out-vscode/vs/editor/browser/widget/codeEditor/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:902:29
at om.setSelections in src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.ts:531:23
at r 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 x.B in src/vs/base/common/event.ts:1242:13
at x.C in src/vs/base/common/event.ts:1253:9
at x.fire in src/vs/base/common/event.ts:1277:9
at NQ.value in out-vscode/vs/editor/browser/widget/codeEditor/vs/editor/browser/widget/codeEditor/codeEditorWidget.ts:1751:36
at x.B in src/vs/base/common/event.ts:1242:13
at x.fire in src/vs/base/common/event.ts:1273:9
at Zxi.s in src/vs/editor/common/viewModelEventDispatcher.ts:64:18
at Zxi.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:237:38
at x.B in src/vs/base/common/event.ts:1242:13
at x.C in src/vs/base/common/event.ts:1253:9
at x.fire in src/vs/base/common/event.ts:1277:9
at Oxi.endDeferredEmit in src/vs/editor/common/model/textModel.ts:2515:23
at Om.xb in src/vs/editor/common/model/textModel.ts:1410:23
at Om._applyUndo in src/vs/editor/common/model/textModel.ts:1383:8
at UT.undo in out-vscode/vs/editor/common/model/vs/editor/common/model/editStack.ts:219:14
at <anonymous> in out-vscode/vs/platform/undoRedo/common/vs/platform/undoRedo/common/undoRedoService.ts:1028:67
at invoke in out-vscode/vs/platform/undoRedo/common/vs/platform/undoRedo/common/undoRedoService.ts:745:13
at <anonymous> in out-vscode/vs/platform/undoRedo/common/vs/platform/undoRedo/common/undoRedoService.ts:1028:16
at callback in out-vscode/vs/platform/undoRedo/common/vs/platform/undoRedo/common/undoRedoService.ts:788:11
at E8e.x in out-vscode/vs/platform/undoRedo/common/vs/platform/undoRedo/common/undoRedoService.ts:1026:15
at E8e.A in out-vscode/vs/platform/undoRedo/common/vs/platform/undoRedo/common/undoRedoService.ts:1109:17
at E8e.undo in out-vscode/vs/platform/undoRedo/common/vs/platform/undoRedo/common/undoRedoService.ts:1076:15
at Om.undo in src/vs/editor/common/model/textModel.ts:1556:32
at cke.runEditorCommand in out-vscode/vs/editor/browser/vs/editor/browser/coreCommands.ts:2102:29
at cke._runEditorCommand in out-vscode/vs/editor/browser/vs/editor/browser/coreCommands.ts:341:23
at Object.implementation in out-vscode/vs/editor/browser/vs/editor/browser/coreCommands.ts:312:17
at bT.runCommand in out-vscode/vs/editor/browser/vs/editor/browser/editorExtensions.ts:229:24
at handler in out-vscode/vs/editor/browser/vs/editor/browser/editorExtensions.ts:155:38
at fn in src/vs/platform/instantiation/common/instantiationService.ts:109:11
at o6e.n in src/vs/workbench/services/commands/common/commandService.ts:95:46
at o6e.executeCommand in src/vs/workbench/services/commands/common/commandService.ts:60:17
at OG.M in out-vscode/vs/platform/keybinding/common/vs/platform/keybinding/common/abstractKeybindingService.ts:370:29
at OG.J in out-vscode/vs/platform/keybinding/common/vs/platform/keybinding/common/abstractKeybindingService.ts:225:15
at <anonymous> in out-vscode/vs/workbench/services/keybinding/browser/vs/workbench/services/keybinding/browser/keybindingService.ts:281:38
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=d78a74bcdfad14d5d3b1b782f87255d802b57511&bH=4f227861-8638-518a-9b43-d3984d0914a0)