Azure / Azure/azure-iot-explorer

[BUG] cannot read properties of undefined (reading 'address')

Open
#695 0 comments 0 reactions 0 assignees View on GitHub
bug needs review
Dominant language
TypeScript
Stars
252
Forks
85
Avg merge
3h 32m
Merged PRs (30d)
2

Description

**Describe the bug**
Azure IoT Explorer shows multiple windows with the error message: cannot read properties of undefined (reading 'address') (see screenshot below).

Process Explorer shows these are from the Azure IoT Explorer

**To Reproduce**
Steps to reproduce the behavior:
1. Run Azure IoT Explorer
2. Leave the computer alone (sleep)
3.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**

![Image](https://github.com/user-attachments/assets/da046933-e55a-46ea-a885-275ff17307b5)

Use Process Explorer to find the owning window:

![Image](https://github.com/user-attachments/assets/995c23c6-8868-4d9a-a479-3f38a7b53273)

**Desktop (please complete the following information):**
- OS: Windows
- OS Version: Microsoft Windows [Version 10.0.26100.3476]
- App version [e.g. 22]: Azure IoT Explorer Preview 0.15.12.0

**Additional context**
* The problem seems to occur when the computer is left idle for a long time
* It has occurred more than once
* More than one error window appears
* The error windows have a USB icon

Contributor guide

Open the contributing guide

Research direction

No source file or test is identified in the report. First reproduce the issue on Windows with Azure IoT Explorer Preview 0.15.12.0 by leaving the computer idle or asleep, then trace the error involving undefined address and the USB-icon windows. Done means the idle or resume scenario no longer creates repeated error windows.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.