Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: uri.with is not a function #213914

Closed
jrieken opened this issue May 30, 2024 · 0 comments · Fixed by #213915
Closed

TypeError: uri.with is not a function #213914

jrieken opened this issue May 30, 2024 · 0 comments · Fixed by #213915
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug insiders-released Patch has been released in VS Code Insiders panel-chat verified Verification succeeded
Milestone

Comments

@jrieken
Copy link
Member

jrieken commented May 30, 2024

  • ask inline chat to make a change
  • move the conversation into panel chat
  • move the panel chat into a chat editor
  • 🐛 the errors below show
 ERR uri.with is not a function: TypeError: uri.with is not a function
    at ExtUri.getComparisonKey (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/common/resources.js:35:28)
    at ExtUri.compare (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/common/resources.js:23:93)
    at vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/platform/uriIdentity/common/uriIdentityService.js:54:81
    at SkipList._search (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/common/skipList.js:104:40)
    at SkipList.get (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/common/skipList.js:43:29)
    at UriIdentityService.asCanonicalUri (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/platform/uriIdentity/common/uriIdentityService.js:66:46)
    at TextModelResolverService.createModelReference (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/workbench/services/textmodelResolver/common/textModelResolverService.js:193:48)
    at vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/workbench/contrib/chat/browser/chatListRenderer.js:859:61
    at ChatListItemRenderer.renderTextEdit (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/workbench/contrib/chat/browser/chatListRenderer.js:908:19)
    at vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/workbench/contrib/chat/browser/chatListRenderer.js:351:76
    at Array.forEach (<anonymous>)
    at ChatListItemRenderer.basicRenderElement (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/workbench/contrib/chat/browser/chatListRenderer.js:343:19)
    at ChatListItemRenderer.renderChatTreeItem (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/workbench/contrib/chat/browser/chatListRenderer.js:263:22)
    at ChatListItemRenderer.renderElement (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/workbench/contrib/chat/browser/chatListRenderer.js:200:18)
    at TreeRenderer.renderElement (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/browser/ui/tree/abstractTree.js:294:27)
    at PipelineRenderer.renderElement (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/browser/ui/list/listWidget.js:943:26)
    at ListView.insertItemInDOM (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/browser/ui/list/listView.js:638:23)
    at ListView._splice (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/browser/ui/list/listView.js:430:26)
    at ListView.splice (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/browser/ui/list/listView.js:347:29)
    at vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/browser/ui/list/splice.js:14:45
    at Array.forEach (<anonymous>)
    at CombinedSpliceable.splice (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/browser/ui/list/splice.js:14:30)
    at vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/browser/ui/list/listWidget.js:1201:67
    at EventBufferer.bufferEvents (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/common/event.js:1299:23)
    at TreeNodeList.splice (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/browser/ui/list/listWidget.js:1201:32)
    at TreeNodeList.splice (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/browser/ui/tree/abstractTree.js:1794:19)
    at IndexTreeModel.spliceSimple (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/browser/ui/tree/indexTreeModel.js:163:27)
    at IndexTreeModel.spliceSmart (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/browser/ui/tree/indexTreeModel.js:102:22)
    at IndexTreeModel.splice (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/browser/ui/tree/indexTreeModel.js:61:22)
    at ObjectTreeModel._setChildren (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/browser/ui/tree/objectTreeModel.js:66:24)
    at ObjectTreeModel.setChildren (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/browser/ui/tree/objectTreeModel.js:31:18)
    at WorkbenchObjectTree.setChildren (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/browser/ui/tree/objectTree.js:22:24)
    at ChatWidget.onDidChangeItems (vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/workbench/contrib/chat/browser/chatWidget.js:239:27)
    at vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/workbench/contrib/chat/browser/chatWidget.js:287:30
    at vscode-file://vscode-app/Users/jrieken/Code/vscode/out/vs/base/common/async.js:442:13
@jrieken jrieken self-assigned this May 30, 2024
@jrieken jrieken added this to the May 2024 milestone May 30, 2024
@jrieken jrieken added bug Issue identified by VS Code Team member as probable bug panel-chat labels May 30, 2024
jrieken added a commit that referenced this issue May 30, 2024
@vscodenpa vscodenpa added unreleased Patch has not yet been released in VS Code Insiders insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels May 30, 2024
@connor4312 connor4312 added the verified Verification succeeded label May 30, 2024
@microsoft microsoft locked and limited conversation to collaborators Jul 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug insiders-released Patch has been released in VS Code Insiders panel-chat verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants