Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Error in Flutter myapp

Aperta
#2,849 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
dart, flutter
Ambito
cli, devtools

Direzione di ricerca

Inizia riproducendo l’errore nello scenario Flutter myapp e segui lo stack trace fino a _deserializeEvent nel client iniettato. Esamina come BuiltJsonSerializers.deserialize gestisce il payload dell’evento e determina perché un _JsonMap viene trattato come una List<Object?>. Il lavoro è completo quando il TypeError segnalato non si verifica più durante la deserializzazione dell’evento.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

P2 package:dwds triaged type-bug

TypeError: Instance of '_JsonMap': type '_JsonMap' is not a subtype of type 'List<Object?>'

at Rti._generalAsCheckImplementation [as _as] (http://localhost:55963/dwds/src/injected/client.js:2729:79)
at Rti._installSpecializedAsCheck (http://localhost:55963/dwds/src/injected/client.js:2664:22)
at BuiltJsonSerializers._deserialize$3 (http://localhost:55963/dwds/src/injected/client.js:20953:36)
at BuiltJsonSerializers.deserialize$2$specifiedType (http://localhost:55963/dwds/src/injected/client.js:20938:21)
at BuiltJsonSerializers.deserialize$1 (http://localhost:55963/dwds/src/injected/client.js:20946:19)
at Object._deserializeEvent (http://localhost:55963/dwds/src/injected/client.js:9920:35)
at http://localhost:55963/dwds/src/injected/client.js:26905:26
at _wrapJsFunctionForAsync_closure.$protected (http://localhost:55963/dwds/src/injected/client.js:3893:15)
at _wrapJsFunctionForAsync_closure.call$2 (http://localhost:55963/dwds/src/injected/client.js:13631:12)
at Object._asyncStartSync (http://localhost:55963/dwds/src/injected/client.js:3857:20)
at main__closure8.$call$body$main__closure (http://localhost:55963/dwds/src/injected/client.js:27054:16)
at main__closure8.call$1 (http://localhost:55963/dwds/src/injected/client.js:26892:19)
at StaticClosure._rootRunUnary (http://localhost:55963/dwds/src/injected/client.js:4391:18)
at _CustomZone.runUnary$2$2 (http://localhost:55963/dwds/src/injected/client.js:15254:39)
at _CustomZone.runUnaryGuarded$1$2 (http://localhost:55963/dwds/src/injected/client.js:15201:14)
at _ForwardingStreamSubscription._sendData$1 (http://localhost:55963/dwds/src/injected/client.js:14739:19)
at _ForwardingStreamSubscription._add$1 (http://localhost:55963/dwds/src/injected/client.js:14684:15)
at _ForwardingStreamSubscription._add$1 (http://localhost:55963/dwds/src/injected/client.js:15080:12)
at _MapStream._handleData$2 (http://localhost:55963/dwds/src/injected/client.js:15140:12)
at _ForwardingStreamSubscription._handleData$1 (http://localhost:55963/dwds/src/injected/client.js:15106:20)
at tear_off.<anonymous> (http://localhost:55963/dwds/src/injected/client.js:1637:45)
at StaticClosure._rootRunUnary (http://localhost:55963/dwds/src/injected/client.js:4391:18)
at _CustomZone.runUnary$2$2 (http://localhost:55963/dwds/src/injected/client.js:15254:39)
at _CustomZone.runUnaryGuarded$1$2 (http://localhost:55963/dwds/src/injected/client.js:15201:14)
at CastStreamSubscription.__internal$_onData$1 (http://localhost:55963/dwds/src/injected/client.js:11639:30)
at tear_off.<anonymous> (http://localhost:55963/dwds/src/injected/client.js:1637:45)
at StaticClosure._rootRunUnary (http://localhost:55963/dwds/src/injected/client.js:4391:18)
at _CustomZone.runUnary$2$2 (http://localhost:55963/dwds/src/injected/client.js:15254:39)
at _CustomZone.runUnaryGuarded$1$2 (http://localhost:55963/dwds/src/injected/client.js:15201:14)
at _ControllerSubscription._sendData$1 (http://localhost:55963/dwds/src/injected/client.js:14739:19)
at _DelayedData.perform$1 (http://localhost:55963/dwds/src/injected/client.js:14914:59)
at _PendingEvents_schedule_closure.call$0 (http://localhost:55963/dwds/src/injected/client.js:14973:14)
at StaticClosure._rootRun (http://localhost:55963/dwds/src/injected/client.js:4372:18)
at _CustomZone.run$1$1 (http://localhost:55963/dwds/src/injected/client.js:15246:39)
at _CustomZone.runGuarded$1 (http://localhost:55963/dwds/src/injected/client.js:15189:14)
at _CustomZone_bindCallbackGuarded_closure.call$0 (http://localhost:55963/dwds/src/injected/client.js:15378:25)
at StaticClosure._rootRun (http://localhost:55963/dwds/src/injected/client.js:4376:16)
at _CustomZone.run$1$1 (http://localhost:55963/dwds/src/injected/client.js:15246:39)
at _CustomZone.runGuarded$1 (http://localhost:55963/dwds/src/injected/client.js:15189:14)
at _CustomZone_bindCallbackGuarded_closure.call$0 (http://localhost:55963/dwds/src/injected/client.js:15378:25)
at Object._microtaskLoop (http://localhost:55963/dwds/src/injected/client.js:4220:24)
at StaticClosure._startMicrotaskLoop (http://localhost:55963/dwds/src/injected/client.js:4226:11)
at _AsyncRun__initializeScheduleImmediate_internalCallback.call$1 (http://localhost:55963/dwds/src/injected/client.js:13509:9)
Lingua principale
Dart
Stelle
224
Fork
95
Merge medio
3g 17h
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di dart-lang/webdev

Tutte le issue di dart-lang/webdev

Issue simili

Altre issue su Dart

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.