Skip to content

fix: An error occurred while loading view: continue.continueGUIView #6116

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

smmzyl
Copy link

@smmzyl smmzyl commented Jun 13, 2025

Before Submitting


Environment

  • OS: Windows 10
  • Continue: VS Code Extension
  • VS Code Version: 1.99.2

Description

After pulling the project and building it locally, running the extension in VS Code results in the following error when loading the GUI:
An error occurred while loading view: continue.continueGUIView

Root Cause

The issue is caused by the webview property not being set on the webview protocol object. This prevents communication between the extension backend and the Webview, resulting in the GUI failing to initialize and throwing the error.

Reproduction Notes

This bug occurs only the first time the view is initialized. Once the Webview communication has been successfully established, VS Code caches the state.


Suggested Fix

Ensure that the webview instance is correctly assigned to the protocol object during initialization so that communication can be established reliably on first load.

@smmzyl smmzyl requested a review from a team as a code owner June 13, 2025 09:33
@smmzyl smmzyl requested review from RomneyDa and removed request for a team June 13, 2025 09:33
Copy link

cubic-dev-ai bot commented Jun 13, 2025

Your cubic subscription is currently inactive. Please reactivate your subscription to receive AI reviews and use cubic.

Copy link

netlify bot commented Jun 13, 2025

Deploy Preview for continuedev canceled.

Name Link
🔨 Latest commit 812a902
🔍 Latest deploy log https://app.netlify.com/projects/continuedev/deploys/684bf0852ffafb00080dd2c6

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 13, 2025
Copy link


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


yiliang.zhang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@smmzyl
Copy link
Author

smmzyl commented Jun 13, 2025

我已阅读 CLA 文件并在此签署 CLA

Copy link

recurseml bot commented Jun 13, 2025

✨ No issues found! Your code is sparkling clean! ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant