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
{{ message }}
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.
first function breaks with following message if there is no data in database:
E/flutter ( 5223): [ERROR:flutter/shell/common/shell.cc(184)] Dart Error: Unhandled exception:
E/flutter ( 5223): Bad state: No element
E/flutter ( 5223): #0 _ListBase&Object&ListMixin.firstWhere (dart:collection/list.dart:148:5)
E/flutter ( 5223): #1 ObjectDB._find. (package:objectdb/src/objectdb_base.dart:369:27)
E/flutter ( 5223): #2 new Future.sync (dart:async/future.dart:224:31)
E/flutter ( 5223): #3 ObjectDB._find (package:objectdb/src/objectdb_base.dart:363:19)
E/flutter ( 5223):
E/flutter ( 5223): #4 ObjectDB.first. (package:objectdb/src/objectdb_base.dart:480:50)
E/flutter ( 5223): #5 ExecutionQueue._check (package:execution_queue/execution_queue.dart:19:42)
E/flutter ( 5223):
E/flutter ( 5223): #6 ExecutionQueue._check (package:execution_queue/execution_queue.dart:21:12)
E/flutter ( 5223):
E/flutter ( 5223): #7 ExecutionQueue.add (package:execution_queue/execution_queue.dart:28:10)
E/flutter ( 5223): #8 ObjectDB.open (package:objectdb/src/objectdb_base.dart:35:33)
The text was updated successfully, but these errors were encountered: