Skip to content

null check operator used on a null value in onResumed() #1176

New issue

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

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

Already on GitHub? # to your account

Open
martinpelli opened this issue May 27, 2025 · 2 comments · May be fixed by #1178
Open

null check operator used on a null value in onResumed() #1176

martinpelli opened this issue May 27, 2025 · 2 comments · May be fixed by #1178
Labels
bug Something isn't working

Comments

@martinpelli
Copy link

Describe the bug
an inner function form supabase.dart is throwing Null check operator used on a null value

To Reproduce
I don't have reproducible steps but I have the crashlytics logs. These happen in both, iOS and Android devices.

Expected behavior
A clear and concise description of what you expected to happen.

Logs

          Fatal Exception: FlutterError
0  ???                            0x0 Supabase.onResumed + 242 (supabase.dart:242)
1  ???                            0x0 Supabase.didChangeAppLifecycleState + 224 (supabase.dart:224)
2  ???                            0x0 WidgetsBinding.handleAppLifecycleStateChanged + 1030 (binding.dart:1030)
3  ???                            0x0 ServicesBinding._handleLifecycleMessage + 306 (binding.dart:306)
4  ???                            0x0 BasicMessageChannel.setMessageHandler.<fn> + 261 (platform_channel.dart:261)
5  ???                            0x0 _DefaultBinaryMessenger.setMessageHandler.<fn> + 650 (binding.dart:650)
        

Version (please complete the following information):
On Linux/macOS

supabase_flutter 2.9.0
│   ├── supabase 2.7.0
│   │   ├── functions_client 2.4.2
│   │   ├── gotrue 2.12.0
│   │   ├── postgrest 2.4.2
│   │   ├── realtime_client 2.5.0
│   │   ├── storage_client 2.4.0
@martinpelli martinpelli added the bug Something isn't working label May 27, 2025
@martinpelli
Copy link
Author

Can I open a PR with a fix attempt?

@Vinzent03
Copy link
Collaborator

@martinpelli Yeah sure if you want to, that would be great!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
2 participants