Skip to content

[Crash] Null check operator used on a null value - broadcast_game_screen_providers.dart - Line 19 #1586

@veloce

Description

@veloce

broadcastRoundControllerProvider(roundId).selectAsync((round) => round.games[gameId]!),

Stack trace:

          Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Null check operator used on a null value
#00 pc 0x7574eb org.lichess.mobileV2 (broadcastRoundGame.<anonymous closure> [broadcast_game_screen_providers.dart:19]) (BuildId: cde83d06362dd682434ce01422e32d67)
#01 pc 0xcca97b org.lichess.mobileV2 (_AsyncSelector._select [async_selector.dart:113]) (BuildId: cde83d06362dd682434ce01422e32d67)
#02 pc 0x952573 org.lichess.mobileV2 (_AsyncSelector.addListener.playValue.<anonymous closure> [async_selector.dart:189]) (BuildId: cde83d06362dd682434ce01422e32d67)
#03 pc 0x95298f org.lichess.mobileV2 (_AsyncSelector.addListener.<anonymous closure> [common.dart:346]) (BuildId: cde83d06362dd682434ce01422e32d67)
#04 pc 0x9531ef org.lichess.mobileV2 (ProviderBase.addListener.<anonymous closure> [provider_base.dart:98]) (BuildId: cde83d06362dd682434ce01422e32d67)
#05 pc 0xcf03db org.lichess.mobileV2 (_RootZone.runBinaryGuarded [zone.dart:1790]) (BuildId: cde83d06362dd682434ce01422e32d67)
#06 pc 0x6c600f org.lichess.mobileV2 (ProviderElementBase._notifyListeners.<anonymous closure> [element.dart:542]) (BuildId: cde83d06362dd682434ce01422e32d67)
#07 pc 0xc4a2cb org.lichess.mobileV2 (ResultData.map [result.dart:74]) (BuildId: cde83d06362dd682434ce01422e32d67)
#08 pc 0x6c43db org.lichess.mobileV2 (ProviderElementBase._notifyListeners [element.dart:536]) (BuildId: cde83d06362dd682434ce01422e32d67)
#09 pc 0x6c402b org.lichess.mobileV2 (ProviderElementBase.setState [element.dart:140]) (BuildId: cde83d06362dd682434ce01422e32d67)
#10 pc 0x6be2ef org.lichess.mobileV2 (AsyncTransition|asyncTransition [common.dart:28]) (BuildId: cde83d06362dd682434ce01422e32d67)
#11 pc 0x6c6fa3 org.lichess.mobileV2 (FutureHandlerProviderElementMixin.onData [base.dart:284]) (BuildId: cde83d06362dd682434ce01422e32d67)
#12 pc 0x8314cf org.lichess.mobileV2 (FutureHandlerProviderElementMixin.state= [base.dart:281]) (BuildId: cde83d06362dd682434ce01422e32d67)
#13 pc 0xcf7c03 org.lichess.mobileV2 (BroadcastRoundController._syncRound [async_notifier.dart:66]) (BuildId: cde83d06362dd682434ce01422e32d67)

Metadata

Metadata

Assignees

No one assigned

    Labels

    CrashCrash reported by crashlyticscat: broadcastAll things related to broadcasts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions