-
-
Notifications
You must be signed in to change notification settings - Fork 468
Closed
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Describe the problem
The FrontendApplicationStateService
is a Theia service that can pause the execution logic and wait until a particular application state ('init'
, 'ready'
, etc.) is reached. Then, the IDE can perform various logic. The app state service throws an error at IDE startup.
To reproduce
Steps to reproduce:
- Download the latest nightly,
- Start the IDE,
- Open DevTools (to see the error),
- See the error.
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'reachedState')
at H.init (arduino-frontend-contribution.tsx:241)
Monosnap.screencast.2022-05-11.15-20-16.mp4
Expected behavior
The app state service does not throw an error and can be used to wait until a specific app state is reached.
Arduino IDE version
Version: 2.0.0-rc6-nightly-20220511
Operating system
macOS
Operating system version
12.3.1 (21E258)
Additional context
No response
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details
Metadata
Metadata
Assignees
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project