vishalxl / nostr_console

Nostr console is an open-source twitter-like social network, direct chat app and group chat all bundled into one program. Built on the decentralized Nostr protocol.
GNU Affero General Public License v3.0
441 stars 33 forks source link

Investigate and fix "null is not of subtype string" crash seen in processIncomingEvents #70

Closed vishalxl closed 1 year ago

vishalxl commented 1 year ago

To attach pic later

Unhandled exception:
type 'Null' is not a subtype of type 'String'
#0      Store.handleChannelEvents (package:nostr_console/tree_ds.dart:815)                                #1      Store.processIncomingEvent.<anonymous closure> (package:nostr_console/tree_ds.dart:1508)          #2      SetMixin.forEach (dart:collection/set.dart:142)                                                   #3      Store.processIncomingEvent (package:nostr_console/tree_ds.dart:1445)
#4      processAnyIncomingEvents.<anonymous closure> (package:nostr_console/console_ui.dart:27)
#5      new Future.delayed.<anonymous closure> (dart:async/future.dart:424)
#6      Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18)
#7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398)
#8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429)
#9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192)
vishalxl commented 1 year ago

This was fixed in a build on 4 jan 2023.

vishalxl commented 1 year ago

Was fixed in commit here

To be included in release 0.3.5-beta.

vishalxl commented 1 year ago

release with fix is 0.3.5-beta