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

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

Open
veloce opened this issue Mar 26, 2025 · 0 comments · May be fixed by #1601
Open
Labels
cat: broadcast All things related to broadcasts Crash Crash reported by crashlytics

Comments

@veloce
Copy link
Contributor

veloce commented Mar 26, 2025

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)
@veloce veloce added cat: broadcast All things related to broadcasts Crash Crash reported by crashlytics labels Mar 26, 2025
@veloce veloce linked a pull request Apr 1, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat: broadcast All things related to broadcasts Crash Crash reported by crashlytics
Projects
None yet
1 participant