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

Appearance settings

Warning: NaN is an invalid value for the height css style property. #1171

Copy link
Copy link
Open
@kittaakos

Description

@kittaakos
Issue body actions

Describe the problem

I was working on #1161 when I noticed this error in the logs. Note, that the serial monitor was non-functional, so errors were expected, but the IDE2 frontend should handle errors gracefully.

root DEBUG Opening channel for service path '/services/monitor-manager-proxy'. [ID: 34]
root ERROR Warning: `NaN` is an invalid value for the `height` css style property.
    in div (created by List)
    in List (created by SerialMonitorOutput)
    in SerialMonitorOutput
    in div
    in div

To reproduce

I do not have the exact steps, but these steps should help devs to reproduce the defect:

  • check out 7d96153,
  • start the IDE2,
  • Start/stop the monitor.

Expected behavior

IDE2 frontend code can handle when the serial monitor service fails.

Arduino IDE version

7d96153

Operating system

macOS

Operating system version

12.3.1

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

No one assigned

    Labels

    topic: codeRelated to content of the project itselfRelated to content of the project itselftopic: serial monitorRelated to the Serial MonitorRelated to the Serial Monitortype: imperfectionPerceived defect in any part of projectPerceived 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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.