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

Unexpected error when swtiching between code pane tabs #760

Closed
AlexJerabek opened this issue Sep 3, 2019 · 3 comments
Closed

Unexpected error when swtiching between code pane tabs #760

AlexJerabek opened this issue Sep 3, 2019 · 3 comments
Labels
bug Something isn't working needs-more-info

Comments

@AlexJerabek
Copy link
Collaborator

Bug Report

  • Host: Excel
  • OS: Windows
  • Browser: win32
  • Environment: Beta

Expected behavior:

Actual behavior:

Switching between the Libraries and Script tabs caused an unexcepted error (log below).

Steps to Reproduce:

  1. Open a snippet
  2. Rapidly switch between tabs in the code pane.

Failure Logs:

Script Lab
An unexpected error has occurred.
Unable to get property 'getText' of undefined or null reference

TypeError: Unable to get property 'getText' of undefined or null reference
at t.findDocumentLinks (https://script-lab-react-beta.azurewebsites.net/external/monaco-editor-0-16-2/vs/language/html/htmlWorker.js:7:328727)
at e.prototype.findDocumentLinks (https://script-lab-react-beta.azurewebsites.net/external/monaco-editor-0-16-2/vs/language/html/htmlWorker.js:7:340232)
at t.prototype.fmr (https://script-lab-react-beta.azurewebsites.net/external/monaco-editor-0-16-2/vs/base/worker/workerMain.js#html:141:1)
at e.prototype._handleMessage (https://script-lab-react-beta.azurewebsites.net/external/monaco-editor-0-16-2/vs/base/worker/workerMain.js#html:88:148)
at handleMessage (https://script-lab-react-beta.azurewebsites.net/external/monaco-editor-0-16-2/vs/base/worker/workerMain.js#html:87:691)
at e.prototype._handleMessage (https://script-lab-react-beta.azurewebsites.net/external/monaco-editor-0-16-2/vs/base/worker/workerMain.js#html:85:883)
at e.prototype.handleMessage (https://script-lab-react-beta.azurewebsites.net/external/monaco-editor-0-16-2/vs/base/worker/workerMain.js#html:85:394)
at e.prototype.onmessage (https://script-lab-react-beta.azurewebsites.net/external/monaco-editor-0-16-2/vs/base/worker/workerMain.js#html:87:764)
at self.onmessage (https://script-lab-react-beta.azurewebsites.net/external/monaco-editor-0-16-2/vs/base/worker/workerMain.js#html:142:382)

Screenshot:

@Zlatkovsky
Copy link
Member

@AlexJerabek , is the issue intermittent, or is it happening all the time?

@AlexJerabek
Copy link
Collaborator Author

AlexJerabek commented Sep 4, 2019

@Zlatkovsky I can cause the crash fairly consistently. It's more likely to happen when freshly loading Excel and Script Lab.

@AlexJerabek AlexJerabek removed their assignment Sep 5, 2019
@nico-bellante nico-bellante added bug Something isn't working effort level: 2-3 days labels Sep 19, 2019
@Zlatkovsky
Copy link
Member

@AlexJerabek , I believe this should be fixed with the deployment from an hour ago (whereby we upgraded to a newer version of Monaco, and should hopefully stop seeing those intermittent issues).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-more-info
Projects
None yet
Development

No branches or pull requests

3 participants