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

Internal error: Expected value to be neither null nor undefined: defaultHostName #2615

Open
Premkarthic opened this issue Feb 5, 2024 · 1 comment

Comments

@Premkarthic
Copy link

We are currently encountering difficulties deploying a Java Azure Web App through Visual Studio Code. Although it was functioning properly before, we are now experiencing an unexpected error.

image

@nturinski
Copy link
Member

Initial investigation notes:

  • I suspect that defaultHostName is throwing an error from when we are creating the SiteClient.
  • That in turn causes the WebAppResolver to throw an error because we nonNullValue check site
  • Because it resolves as undefined, which is an accepted value from the resolver, when we try to check this.contextValuesToAdd in CompatibleResolvedApplicationResourceTreeItem, it's throwing this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants