Skip to content

Error: Assertion failed: The focused Node should have a one and only one PDOM instance LanguageSelectionNode#7268 #1013

@zepumph

Description

@zepumph

Tagging @jessegreenberg as a potential locale/keyboard/preference bug. My primary goal for this issue is to silence this bug, but let me know if you have any ideas about solving this.

[PAGE ERROR] Error: Assertion failed: The focused Node should have a one and only one PDOM instance
 LanguageSelectionNode#7268

Right now it is showing up as this message, but actually this is downstream:

Error: Assertion failed: reentry detected, value=sr, oldValue=my
STACK: window.assertions.assertFunction<@http://127.0.0.1/continuous-testing/ct-snapshots/1736524986982/assert/js/assert.js:45:21
    at window.assertions.assertFunction< (http://127.0.0.1/continuous-testing/ct-snapshots/1736524986982/assert/js/assert.js:45:21)
    at assert (../../../../../axon/js/ReadOnlyProperty.ts:343:14)
    at _notifyListeners (../../../../../axon/js/ReadOnlyProperty.ts:291:13)
    at unguardedSet (../../../../../../joist/js/i18n/localeProperty.ts:62:10)
    at unguardedSet (../../../../../axon/js/ReadOnlyProperty.ts:271:11)
    at set (../../../../../axon/js/Property.ts:54:10)
    at localeProperty (../../../../../../joist/js/preferences/LanguageSelectionNode.ts:60:8)
    at listener (../../../../../axon/js/TinyEmitter.ts:213:6)
    at notifyLoop (../../../../../axon/js/TinyEmitter.ts:196:13)
    at emit (../../../../../axon/js/Emitter.ts:65:21)
    at emit (../../../../../../scenery/js/listeners/FireListener.ts:103:22)
    at fire (../../../../../../scenery/js/listeners/FireListener.ts:151:13)
    at callback (../../../../../../scenery/js/listeners/PressListener.ts:766:16)
    at apply (../../../../../tandem/js/PhetioAction.ts:162:16)
    at execute (../../../../../../scenery/js/listeners/PressListener.ts:519:24)
    at release (../../../../../../scenery/js/listeners/FireListener.ts:144:10)
    at release (../../../../../../scenery/js/listeners/PressListener.ts:865:11)
    at inputEvent (../../../../../../scenery/js/input/Input.ts:1875:91)
    at dispatchToListeners (../../../../../../scenery/js/input/Input.ts:1824:9)
    at dispatchEvent (../../../../../../scenery/js/input/Input.ts:1628:9)
    at upEvent (../../../../../../scenery/js/input/Input.ts:512:13)
    at apply (../../../../../tandem/js/PhetioAction.ts:162:16)
    at execute (../../../../../../scenery/js/input/Input.ts:1266:24)
    at touchEnd (../../../../../../scenery/js/input/InputFuzzer.js:242:24)
    at touchEnd (../../../../../../scenery/js/input/InputFuzzer.js:55:11)
    at action (../../../../../../scenery/js/input/InputFuzzer.js:107:6)
    at fuzzEvents (../../../../../joist/js/SimDisplay.ts:221:23)
    at fuzzInputEvents (../../../../../joist/js/Sim.ts:1146:42)
    at fuzzFrame (../../../../../joist/js/Sim.ts:1047:11)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions