Skip to content

An error occurred #896

@ricwheatley

Description

@ricwheatley

Priority/Impact

None

Description

Description

[Please describe what you were doing when the error occurred.]

Error details

Error title: An error occurred
Error message: type 'Null' is not a subtype of type 'num' in type cast
Stack trace:

#0 _$WorkoutSessionFromJson (package:wger/models/workouts/session.g.dart:17) #1 new WorkoutSession.fromJson (package:wger/models/workouts/session.dart:72) #2 RoutinesProvider.fetchSessionData.<anonymous closure> (package:wger/providers/routines.dart:602) #3 MappedIterable.elementAt (dart:_internal/iterable.dart:402) #4 ListIterator.moveNext (dart:_internal/iterable.dart:371) #5 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:194) #6 new _GrowableList.of (dart:core-patch/growable_array.dart:154) #7 new List.of (dart:core-patch/array_patch.dart:40) #8 SetBase.toList (dart:collection/set.dart:119) #9 RoutinesProvider.fetchSessionData (package:wger/providers/routines.dart:602) <asynchronous suspension> #10 _DashboardCalendarWidgetState.loadEvents.<anonymous closure> (package:wger/widgets/dashboard/calendar.dart:119) <asynchronous suspension> #11 _DashboardCalendarWidgetState.loadEvents (package:wger/widgets/dashboard/calendar.dart:119) <asynchronous suspension> 

Server version

No response

Mobile app version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions