dash_chat icon indicating copy to clipboard operation
dash_chat copied to clipboard

[Bug] The method 'markNeedsBuild' was called on null.

Open ryanhz opened this issue 3 years ago • 2 comments

Describe the bug Not a critical issue, It is from sentry report:

NoSuchMethodError: The method 'markNeedsBuild' was called on null.
Receiver: null
Tried calling: markNeedsBuild()
framework.dart in State.setState at line 1264
chat_view.dart in DashChatState.widgetBuilt.<fn>.<fn> at line 423
Called from: zone.dart in _rootRun
ticker.dart in TickerFuture.whenCompleteOrCancel.thunk at line 399
Called from: timer_impl.dart in _Timer._runTimers

To Reproduce I don't really how to reproduce this, but this issue is quite common. I guess it is the user send message then navigate away from that page.

Expected behavior A clear and concise description of what you expected to happen. No error

Screenshots device: OPPO/CPH1823/CPH1823:9/PPR1.180610.011/1591700548:user/release-keys Flutter: 1.22.0-2.0.pre.80 • channel master

Additional context

ryanhz avatar Aug 31 '20 00:08 ryanhz

@ryanhz Can you check if you face the same issue in the new version 1.1.15

fayeed avatar Sep 10 '20 02:09 fayeed

Thank you for following up. We ignore this error in sentry. I will try version 1.1.15 in next release.

ryanhz avatar Sep 10 '20 03:09 ryanhz