Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Broken appStateService in the IDE #985

Closed
Assignees
Labels
conclusion: resolvedIssue was resolved topic: codeRelated to content of the project itself type: imperfectionPerceived defect in any part of project
@kittaakos

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

Labels

conclusion: resolvedIssue was resolved topic: codeRelated to content of the project itself type: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /