-
Notifications
You must be signed in to change notification settings - Fork 43
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
Type Error & unhandled promise rejection error when navigating dashboards in cloud2 #4677
Comments
I got two type errors when just scrolling down my dashboard
|
@rockstar - this might be a lsp issue based on the referenced file? |
I just got this error as well. Console shows:
Complete console log: |
Just a spitball here, but @wiedld recently changed the way the ui communicates with the lsp, and I'm willing to bet it's blindly calling |
All responses from the LSP are wrapped in error handling, on the JSON.parse(). It only transmits a response back to the monaco-editor if the response can be parsed. |
Recreated the likely error in the use cases shown by @philjb , and have a solution in progress. However, those use cases did not use the raw flux script editor. Therefore the stacktrace shown by @abalone23 does not apply. Could you please give me a rundown @abalone23 of exactly the path you took to hit that console error? Thanks! |
@wiedld I was probably writing Flux in Data Explorer Script Editor. |
One fix merged. |
Reviewed again the error @abalone23 found. Could not recreate; could only hypothetically see how it may occur. |
About the bug
While editing a dashboard, I received the "an error has occurred. please report here" message so I am reporting it here.
The error seemed to be persistent as I navigated around (see the gifs) but I'm not sure how to reproduce it.
In the zip archive are two text files showing the console errors. Here's the top of them.
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
Unknown
Expected behavior:
Use cloud2 without errors.
Actual behavior:
Page crashed and reported than an error has occurred.
Visual Proof:
Archive.zip
About your environment
Environment info:
cloud2
Config:
na
Logs:
see archive above for console log
Performance:
na
The text was updated successfully, but these errors were encountered: