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

Logging out is throwing an error #751

Closed
tlalokyang opened this issue May 28, 2020 · 0 comments
Closed

Logging out is throwing an error #751

tlalokyang opened this issue May 28, 2020 · 0 comments
Assignees

Comments

@tlalokyang
Copy link
Member

tlalokyang commented May 28, 2020

Can one of you take a look?

flutter: [DEBUG] [_RouteEntry.handlePush]: push null from JuntoCollective
flutter: [Bloc.onEvent]: Instance of 'AuthBloc' event: LogoutEvent
flutter: [DEBUG] [_RouteEntry.handlePop]: pop null from JuntoCollective
flutter: [DEBUG] [_RouteEntry.handlePop]: pop JuntoCollective from /
flutter: [DEBUG] [_RouteEntry.handlePop]: pop / from null
flutter: NoSuchMethodError: The getter 'settings' was called on null.
flutter: Receiver: null
flutter: Tried calling: settings
flutter: [ERROR] [PrintLogger.logException]: Caught error: NoSuchMethodError: The getter 'settings' was called on null.
flutter: Receiver: null
flutter: Tried calling: settings
flutter: [DEBUG] [PrintLogger.logException]: In dev mode. Not sending report to Sentry.io.
[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: 'package:flutter/src/widgets/navigator.dart': Failed assertion: line 3581 pos 12: '!_debugLocked': is not true.
#0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:42:39)
#1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:38:5)
#2      NavigatorState.pop (package:flutter/src/widgets/navigator.dart:3581:12)
#3      Navigator.pop (package:flutter/src/widgets/navigator.dart:2010:27)
#4      ConfirmDialog.build.<anonymous closure> (package:junto_beta_mobile/widgets/dialogs/confirm_dialog.dart:86:37)
#5      _rootRunUnary (dart:async/zone.dart:1192:38)
#6      _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#7      _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#8      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#9      Future._propagateToListeners (dart:async/future_impl.dart:711:32)

#10     Future._completeWithValue (dart:async/future_impl.dart:526:5<…>
flutter: [DEBUG] [AuthRepo.logoutUser]: Setting theme to rainbow with night mode false
flutter: [Bloc.onTransition]: Instance of 'AuthBloc': Transition after LogoutEvent: from _$AuthAuthenticated to _$AuthLoading
flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following assertion was thrown building Navigator-[GlobalObjectKey<NavigatorState>
flutter: _WidgetsAppState#bc03d](dirty, state: NavigatorState#084ca(tickers: tracking 3 tickers)):
flutter: 'package:flutter/src/widgets/navigator.dart': Failed assertion: line 3803 pos 12: '!_debugLocked':
flutter: is not true.
flutter:
flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
flutter: more information in this error message to help you determine and fix the underlying cause.
flutter: In either case, please report this assertion by filing a bug on GitHub:
flutter:   https://github.com/flutter/flutter/issues/new?template=BUG.md
flutter:
flutter: The relevant error-causing widget was:
flutter:   MaterialApp file:///Users/ericyang/Desktop/junto-mobile/lib/app/material_app_with_theme.dart:36:16
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #2      NavigatorState.build (package:flutter/src/widgets/navigator.dart:3803:12)
flutter: #3      StatefulElement.build (package:flutter/src/widgets/framework.dart:4619:28)
flutter: #4      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4502:15)
flutter: #5      StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
flutter: #6      Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #7      StatefulElement.update (package:flutter/src/widgets/framework.dart:4707:5)
flutter: #8      Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #9      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #10     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #11     StatelessElement.update (package:flutter/src/widgets/framework.dart:4583:5)
flutter: #12     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #13     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #14     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #15     ProxyElement.update (package:flutter/src/widgets/framework.dart:4862:5)
flutter: #16     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #17     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #18     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #19     ProxyElement.update (package:flutter/src/widgets/framework.dart:4862:5)
flutter: #20     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #21     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #22     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #23     ProxyElement.update (package:flutter/src/widgets/framework.dart:4862:5)
flutter: #24     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #25     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #26     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #27     StatelessElement.update (package:flutter/src/widgets/framework.dart:4583:5)
flutter: #28     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #29     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #30     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #31     ProxyElement.update (package:flutter/src/widgets/framework.dart:4862:5)
flutter: #32     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #33     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #34     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #35     StatelessElement.update (package:flutter/src/widgets/framework.dart:4583:5)
flutter: #36     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #37     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #38     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
flutter: #39     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #40     StatefulElement.update (package:flutter/src/widgets/framework.dart:4707:5)
flutter: #41     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #42     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #43     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #44     StatelessElement.update (package:flutter/src/widgets/framework.dart:4583:5)
flutter: #45     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #46     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #47     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #48     ProxyElement.update (package:flutter/src/widgets/framework.dart:4862:5)
flutter: #49     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #50     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #51     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #52     StatelessElement.update (package:flutter/src/widgets/framework.dart:4583:5)
flutter: #53     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #54     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #55     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #56     ProxyElement.update (package:flutter/src/widgets/framework.dart:4862:5)
flutter: #57     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #58     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #59     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #60     ProxyElement.update (package:flutter/src/widgets/framework.dart:4862:5)
flutter: #61     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #62     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5837:14)
flutter: #63     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #64     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #65     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
flutter: #66     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #67     StatefulElement.update (package:flutter/src/widgets/framework.dart:4707:5)
flutter: #68     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #69     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #70     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #71     ProxyElement.update (package:flutter/src/widgets/framework.dart:4862:5)
flutter: #72     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #73     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #74     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
flutter: #75     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #76     StatefulElement.update (package:flutter/src/widgets/framework.dart:4707:5)
flutter: #77     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #78     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #79     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #80     ProxyElement.update (package:flutter/src/widgets/framework.dart:4862:5)
flutter: #81     _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:181:11)
flutter: #82     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #83     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #84     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
flutter: #85     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #86     StatefulElement.update (package:flutter/src/widgets/framework.dart:4707:5)
flutter: #87     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #88     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #89     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #90     ProxyElement.update (package:flutter/src/widgets/framework.dart:4862:5)
flutter: #91     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #92     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #93     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
flutter: #94     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #95     StatefulElement.update (package:flutter/src/widgets/framework.dart:4707:5)
flutter: #96     Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #97     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #98     Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #99     ProxyElement.update (package:flutter/src/widgets/framework.dart:4862:5)
flutter: #100    Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #101    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #102    Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #103    ProxyElement.update (package:flutter/src/widgets/framework.dart:4862:5)
flutter: #104    _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:181:11)
flutter: #105    Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #106    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5837:14)
flutter: #107    Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #108    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #109    Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #110    ProxyElement.update (package:flutter/src/widgets/framework.dart:4862:5)
flutter: #111    _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:181:11)
flutter: #112    Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #113    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #114    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
flutter: #115    Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #116    StatefulElement.update (package:flutter/src/widgets/framework.dart:4707:5)
flutter: #117    Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #118    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #119    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
flutter: #120    Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #121    StatefulElement.update (package:flutter/src/widgets/framework.dart:4707:5)
flutter: #122    Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #123    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #124    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
flutter: #125    Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #126    StatefulElement.update (package:flutter/src/widgets/framework.dart:4707:5)
flutter: #127    Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #128    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #129    Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #130    ProxyElement.update (package:flutter/src/widgets/framework.dart:4862:5)
flutter: #131    Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #132    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #133    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
flutter: #134    Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #135    StatefulElement.update (package:flutter/src/widgets/framework.dart:4707:5)
flutter: #136    Element.updateChild (package:flutter/src/widgets/framework.dart:3201:15)
flutter: #137    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
flutter: #138    Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
flutter: #139    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2627:33)
flutter: #140    WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:883:20)
flutter: #141    RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:284:5)
flutter: #142    SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1113:15)
flutter: #143    SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1052:9)
flutter: #144    SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:968:5)
flutter: #148    _invoke (dart:ui/hooks.dart:261:10)
flutter: #149    _drawFrame (dart:ui/hooks.dart:219:3)
flutter: (elided 5 frames from class _AssertionError and dart:async)
flutter:
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: [AuthRepo.logoutUser]: User logged out, cache cleaned
flutter: [Bloc.onTransition]: Instance of 'AuthBloc': Transition after LogoutEvent: from _$AuthLoading to _$AuthUnauthenticated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants