Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Error whenever a post is reopened #515

Closed
phorcys420 opened this issue Aug 11, 2023 · 1 comment
Closed

bug: Error whenever a post is reopened #515

phorcys420 opened this issue Aug 11, 2023 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@phorcys420
Copy link

Describe the bug
Whenever a forum post is reopened, an error is thrown.

To Reproduce

  1. Create a forum thread
  2. Close the forum thread
  3. Open the forum thread

Desktop (please complete the following information):

  • OS: Linux
  • Dart version: 3.0.1
  • Nyxx version: 5.1.0

Additional context
Stack trace

Error: InvalidSnowflakeException: Cannot parse [null] to Snowflake
Stack trace:
#0      new Snowflake (package:nyxx/src/core/snowflake.dart:39:9)
#1      new ThreadMemberUpdateEvent (package:nyxx/src/events/thread_members_update_event.dart:83:30)
#2      Shard.dispatch (package:nyxx/src/internal/shard/shard.dart:674:60)
#3      Shard.handlePayload (package:nyxx/src/internal/shard/shard.dart:327:9)
#4      Shard.handle (package:nyxx/src/internal/shard/shard.dart:239:16)
#5      _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
#6      CastStreamSubscription._onData (dart:_internal/async_cast.dart:85:11)
#7      _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
#8      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#9      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#10     _SyncBroadcastStreamController._sendData (dart:async/broadcast_stream_controller.dart:377:25)
#11     _BroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:244:5)
#12     _AsBroadcastStreamController.add (dart:async/broadcast_stream_controller.dart:474:11)
#13     _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
#14     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#15     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#16     _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:776:19)
#17     _StreamController._add (dart:async/stream_controller.dart:650:7)
#18     _StreamController.add (dart:async/stream_controller.dart:598:5)
#19     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:189:12)
@phorcys420 phorcys420 added the bug Something isn't working label Aug 11, 2023
@l7ssha l7ssha self-assigned this Aug 11, 2023
@l7ssha l7ssha changed the title Error whenever a post is reopened bug: Error whenever a post is reopened Aug 11, 2023
@l7ssha l7ssha added this to the 5.1.1 milestone Aug 11, 2023
@l7ssha
Copy link
Member

l7ssha commented Aug 11, 2023

Fixed in 5.1.1

@l7ssha l7ssha closed this as completed Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants