Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] FormatException in EventPage #482

Closed
Jaideep-C opened this issue Mar 24, 2021 · 1 comment · Fixed by #485 or #502
Closed

[Bug] FormatException in EventPage #482

Jaideep-C opened this issue Mar 24, 2021 · 1 comment · Fixed by #485 or #502
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Jaideep-C
Copy link
Contributor

Jaideep-C commented Mar 24, 2021

  • Issue Description:
    I have come across a bug on the events page which crashes the app.
    An exception is occurring while the event lists is being sorted.
eventList.sort((a, b) {
       return DateTime.fromMicrosecondsSinceEpoch(
         int.parse(a['startTime']))
         .compareTo(
         DateTime.fromMicrosecondsSinceEpoch(int.parse(b['startTime'])));
     });

This is the exception

E/flutter ( 6958): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: FormatException: Invalid radix-10 number (at character 1)
E/flutter ( 6958): 2021-03-22 23:59:00.000
  • Issue Severity:
    High

  • Steps to reproduce the issue:

    • log in to the app
    • Navigate to the events page
  • Snapshots/Videos:

bug.mp4
  • Observed Behaviour:
    When a user navigates to the events page for the first time, the app is getting crashed.

  • Expected Behaviour:
    When a user navigates to the events page for the first time, the event page should be rendered without any exceptions.

  • Does this issue need immediate attention?
    Yes, this issue requires an immediate solution as the eventPage is one of the core parts of the app.

  • Are you willing to work on this issue:
    Yes, I am willing to work on this issue please assign me.

@github-actions
Copy link

Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.

@github-actions github-actions bot added bug Something isn't working invalid This doesn't seem right unapproved Unapproved, needs to be triaged labels Mar 24, 2021
@Sagar2366 Sagar2366 added good first issue Good for newcomers help wanted and removed invalid This doesn't seem right unapproved Unapproved, needs to be triaged labels Mar 24, 2021
Ayush0Chaudhary pushed a commit to Ayush0Chaudhary/talawa that referenced this issue Mar 29, 2023
* fix: updated run command

* refactor: updated description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
2 participants