Skip to content

GUI: DIY Firmwaretool: Reproducable crash with multiple Firmware Source #1689

@unlogisch04

Description

@unlogisch04

I got the following crash in the SlimeVR Gui: (currently probably not possible to reproduce in official Server, as it has not multiple Firmware Source)

If a Firmware Version is selected, then switched to a Firmware Source that does not have this Firmware Version it crashes:

react-dom.development.js:12056  Uncaught TypeError: Cannot read properties of undefined (reading '$defs')
    at boardComponentGraph (firmware-tool.ts:670:10)
    at BoardDefaultsStep.tsx:183:24
    at commitHookEffectListMount (react-dom.development.js:23189:26)
    at commitPassiveMountOnFiber (react-dom.development.js:24965:13)
    at commitPassiveMountEffects_complete (react-dom.development.js:24930:9)
    at commitPassiveMountEffects_begin (react-dom.development.js:24917:7)
    at commitPassiveMountEffects (react-dom.development.js:24905:3)
    at flushPassiveEffectsImpl (react-dom.development.js:27078:3)
    at flushPassiveEffects (react-dom.development.js:27023:14)
    at react-dom.development.js:26808:9

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: GUIRelated to the GUI

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions