-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Description
I got this error, and I am using version 1.1.4
I/flutter ( 4128): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter ( 4128): │ #0 SystemLogger.parseLog (package:segment_analytics/logger.dart:80:16)
I/flutter ( 4128): │ #1 log (package:segment_analytics/logger.dart:106:23)
I/flutter ( 4128): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter ( 4128): │ ⛔ Segment: An internal error occurred: Error loading storage: type 'Null' is not a subtype of type 'bool' in type cast
I/flutter ( 4128): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
E/flutter ( 4128): [ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: Error loading storage: type 'Null' is not a subtype of type 'bool' in type cast
E/flutter ( 4128): #0 PersistedState.init.<anonymous closure> (package:segment_analytics/state.dart:217:7)
E/flutter ( 4128): #1 _FutureListener.handleError (dart:async/future_impl.dart:222:22)
E/flutter ( 4128): #2 Future._propagateToListeners.handleError (dart:async/future_impl.dart:914:47)
E/flutter ( 4128): #3 Future._propagateToListeners (dart:async/future_impl.dart:935:13)
E/flutter ( 4128): #4 Future._completeError (dart:async/future_impl.dart:715:5)
E/flutter ( 4128): <asynchronous suspension>
E/flutter ( 4128):
I/flutter ( 4128): FlutterFire Messaging: An error occurred in your background messaging handler:
I/flutter ( 4128): Null check operator used on a null value
I/flutter ( 4128): ----------------FIREBASE CRASHLYTICS----------------
I/flutter ( 4128): type 'Null' is not a subtype of type 'bool' in type cast
I/flutter ( 4128): #0 _$ContextNetworkFromJson (package:segment_analytics/event.g.dart:462:25)
I/flutter ( 4128): #1 JSONExtendable.fromJson (package:segment_analytics/event.dart:568:28)
I/flutter ( 4128): #2 new ContextNetwork.fromJson (package:segment_analytics/event.dart:507:22)
I/flutter ( 4128): #3 _$ContextFromJson (package:segment_analytics/event.g.dart:345:22)
I/flutter ( 4128): #4 JSONExtendable.fromJson (package:segment_analytics/event.dart:568:28)
I/flutter ( 4128): #5 new Context.fromJson (package:segment_analytics/event.dart:365:22)
I/flutter ( 4128): #6 ContextState.fromJson (package:segment_analytics/state.dart:384:20)
I/flutter ( 4128): #7 PersistedState.init.<anonymous closure> (package:segment_analytics/state.dart:200:13)
I/flutter ( 4128): <asynchronous suspension>
I/flutter ( 4128): ----------------------------------------------------

Metadata
Metadata
Assignees
Labels
No labels