You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sending a Graphql request the url parameter in query() functions is nullable but the functions doesn't work without the parameter value submitted, it throws the following Exception:
When sending a Graphql request the url parameter in query() functions is nullable but the functions doesn't work without the parameter value submitted, it throws the following Exception:
E/flutter (25033): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Null check operator used on a null value
E/flutter (25033): #0 GetHttpClient._createUri (package:get/get_connect/http/src/http.dart:86:27)
E/flutter (25033): #1 GetHttpClient._requestWithBody (package:get/get_connect/http/src/http.dart:152:17)
E/flutter (25033): #2 GetHttpClient._request (package:get/get_connect/http/src/http.dart:289:12)
E/flutter (25033): #3 GetHttpClient.post. (package:get/get_connect/http/src/http.dart:364:15)
E/flutter (25033): #4 GetHttpClient._performRequest (package:get/get_connect/http/src/http.dart:202:32)
E/flutter (25033): #5 GetHttpClient.post (package:get/get_connect/http/src/http.dart:363:28)
E/flutter (25033): #6 GetConnect.post (package:get/get_connect/connect.dart:169:23)
E/flutter (25033): #7 GetConnect.query (package:get/get_connect/connect.dart:310:25)
E/flutter (25033): #8 EventsProvider.fetchAllItems (package:efatha_church_digital/app/modules/events/providers/events.provider.dart:27:26)
E/flutter (25033): #9 EventsController.onReady (package:efatha_church_digital/app/modules/events/controllers/events.controller.dart:37:14)
E/flutter (25033): #10 DisposableInterface.onInit. (package:get/get_state_manager/src/rx_flutter/rx_disposable.dart:21:44)
E/flutter (25033): #11 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1386:15)
E/flutter (25033): #12 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1322:11)
E/flutter (25033): #13 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1169:5)
E/flutter (25033): #14 _invoke (dart:ui/hooks.dart:312:13)
E/flutter (25033): #15 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:399:5)
E/flutter (25033): #16 _drawFrame (dart:ui/hooks.dart:283:31)
**Reproduction code
Expected behavior
query(fetchAllEvents) should work without supplying a value for url parameter.
Screenshots
If applicable, add screenshots to help explain your problem.
Flutter Version:
Flutter 3.19.3
Getx Version:
Getx version 4.6.6
Describe on which device you found the bug:
Samsung Galaxy Tab A6
Minimal reproduce code
Provide a minimum reproduction code for the problem
The text was updated successfully, but these errors were encountered: