Skip to content

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

Open
@martinpelli

Description

@martinpelli

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions