Skip to content

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

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

Open
3 tasks done
kittaakos opened this issue Jul 11, 2022 · 0 comments
Open
3 tasks done

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

kittaakos opened this issue Jul 11, 2022 · 0 comments
Labels
topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor type: imperfection Perceived defect in any part of project

Comments

@kittaakos
Copy link
Contributor

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
@kittaakos kittaakos added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor labels Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

1 participant