-
Notifications
You must be signed in to change notification settings - Fork 157
Closed
Description
I'm unfortunately not able to reproduce this error, and the stack trace from our logs is short and unhelpful, but I'm seeing this error pop up in our app at an alarmingly high rate. I call the ResponsiveWrapper.builder
inside of the onGenerateRoute
callback in MaterialApp
so I can't figure out when the BuildContext would be null. Have you seen this issue before or know a direction to look? Like I said it's running flawlessly in all of my testing and I cannot reproduce.
Non-fatal Exception: FlutterError
NoSuchMethodError: The method 'dependOnInheritedWidgetOfExactType' was called on null. Receiver: null Tried calling: dependOnInheritedWidgetOfExactType(). Error thrown Instance of 'ErrorDescription'.
Non-fatal Exception: FlutterError
0 ??? 0x0 of + 814 (media_query.dart:814)
1 ??? 0x0 getDevicePixelRatio + 151 (responsive_wrapper.dart:151)
2 ??? 0x0 setDimensions + 395 (responsive_wrapper.dart:395)
3 ??? 0x0 <fn> + 454 (responsive_wrapper.dart:454)
4 ??? 0x0 _invokeFrameCallback + 1117 (binding.dart:1117)
5 ??? 0x0 handleDrawFrame + 1063 (binding.dart:1063)
6 ??? 0x0 _handleDrawFrame + 971 (binding.dart:971)
Metadata
Metadata
Assignees
Labels
No labels