Application working for weeks. Since the 21/11, click on TextFormField make the visual crash on ios.

This issue has been created since 2022-11-24.

We tried but were never able to reproduce the client error this is why I ask here.

The user is able to fill some TextEditing Widget but, at one point, clicking on any widget is making him crash.

Because we are not able to reproduce it, the only hint we have is this log that we send to ourself when production crash:

Null check operator used on a null value

#0 State.setState (package:flutter/src/widgets/framework.dart:1134)
#1 _InstalledEquipementPageState.refresh (package:myApp/Pages/Report/installed_equipment_page.dart:30)
#2 updateRefreshFunction.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:myApp/Pages/Report/installed_equipment_page.dart:275)
#3 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:351)
#4 ValueNotifier.value= (package:flutter/src/foundation/change_notifier.dart:456)
#5 TextEditingController.value= (package:flutter/src/widgets/editable_text.dart:156)
#6 EditableTextState._value= (package:flutter/src/widgets/editable_text.dart:2353)
#7 EditableTextState._formatAndSetValue (package:flutter/src/widgets/editable_text.dart:2765)
#8 EditableTextState.updateEditingValue (package:flutter/src/widgets/editable_text.dart:2105)
#9 TextInput._handleTextInputInvocation (package:flutter/src/services/text_input.dart:1801)
#10 TextInput._loudlyHandleTextInputInvocation (package:flutter/src/services/text_input.dart:1701)
#11 MethodChannel._handleAsMethodCall (package:flutter/src/services/platform_channel.dart:536)
#12 MethodChannel.setMethodCallHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:529)
#13 _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:387)
#14 _invoke2.<anonymous closure> (dart:ui/hooks.dart:189)
#15 _rootRun (dart:async/zone.dart:1391)
#16 _CustomZone.run (dart:async/zone.dart:1293)
#17 _CustomZone.runGuarded (dart:async/zone.dart:1201)
#18 _invoke2 (dart:ui/hooks.dart:188)
#19 _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42)

The application has been running and working without problems for weeks, but now, since the 21/11, some of our users encounter this problem on ios tablet and iphone. It still working fine on macos.
We ask them to update their devices. It still crash.

exaby73 wrote this answer on 2022-11-24

Hello @Alkabann. From your stack trace, it looks like an error in your code. If possible, could you share the snippet of code in your application or an edited one that does the same thing?

More Details About Repo
Owner Name flutter
Repo Name flutter
Full Name flutter/flutter
Language Dart
Created Date 2015-03-06
Updated Date 2022-12-10
Star Count 147243
Watcher Count 3561
Fork Count 23950
Issue Count 11325

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Select relationship orderBy is without function 2 2022-07-27 2022-09-09
Aaru can't extract files from image if extended attributes is enabled 0 2021-06-24 2022-10-31
[Visual Compatibility] Color -256 PalFX Trick 1 2022-10-20 2022-11-02
Scan the location field in Twitter for a Lightning Address 1 2022-04-22 2022-12-10
update blocker not working ? 0 2022-05-27 2022-11-27
Unable to restore server from backup 7 2021-12-16 2022-11-28
[Feature Request] Provide overload accepting 'natural' address for wait_until_read_equals(...) 0 2022-07-05 2022-11-12
Make `nrows` a method separate from `schema` 5 2021-07-21 2022-09-29
update dependencies 0 2022-01-20 2022-01-14
Update docs on running tests against changes 0 2021-10-06 2022-10-23
Infinite loop on "Connect…" to WSL APL 1 2022-08-04 2022-11-19
Python 3.7.0 AttributeError exception 'OrderedDict' not in typing 2 2021-04-09 2022-10-31
Update `diving-scuba` 1 2022-03-18 2022-10-16
AWARENESS: GitHub API breaking change happened today 0 2021-02-04 2022-12-08
error: Sequence contains no elements 2 2022-04-06 2022-10-23
Nightly GitHub Actions Build Fail on Thu, July 14th 2022 0 2022-07-14 2022-08-10
iis10 伪静态web.config可以提供一下吗 3 2022-09-23 2022-11-25
AIMET-1.22.0 supports TF-2.x ? 3 2022-07-14 2022-09-11
Support for snowflake IDs 7 2021-09-22 2022-11-10
Add support for CONCURRENT DETATCH in PG14 3 2021-09-20 2022-11-10
Add square brackets to array type parameters if the user forgets to do so 3 2020-09-01 2022-11-04
Update redux-saga usage docs 5 2019-07-24 2022-11-18
[html] 第986天 使用canvas制作下雪的特效 0 2021-12-26 2022-08-04
Dependency Dashboard 0 2022-10-13 2022-11-22
Dependency Dashboard 0 2022-10-11 2022-11-22
Release often 2 2021-02-24 2022-01-16
problem with access to minikeepass on iPhone 4 2021-08-10 2022-11-22
Home Assistant core-2021.11.5 3 2021-11-21 2022-09-21
Does not work on latest Docker tag 3 2021-10-21 2022-12-04
Add at least one link to Microsoft Graph 2 2021-10-22 2022-10-09
Getting the shapes that comes inside rectangle 1 2022-04-25 2022-11-11
Serialization Issue in ETK 1 2021-01-17 2022-11-22
Extract phone using de obfuscation in spanish too 1 2017-07-20 2022-12-09
web-sharelatex crashes if too much editable text in project 1 2017-10-26 2022-11-22
Babel package warning 1 2018-04-12 2022-11-22
Logout button in navbar 0 2022-01-22 2022-10-28
execbuilder: add deterministic test for stats compaction `DELETE` queries 0 2022-11-09 2022-11-02
Flatten layer should support sparse tensors 3 2021-08-30 2022-12-09
[AV] Wrong Snowblind Harpy spawn location 1 2022-04-25 2022-09-12
GUI support 37 2021-03-20 2022-01-21
Hindi font on pdf not working 10 2022-03-23 2022-11-10
scaffolding: 'react-router' version '6.0.0-beta.8' not working for new gateway 1 2021-10-30 2022-12-09
runtime/trace: execution trace doesn't include pprof labels 1 2022-10-18 2022-10-16
[BUG]: Not able to utilise simple task output value in DO_WHILE task loop condition 3 2021-08-19 2022-11-27
SEO error ItemList position product list is incorrect 1 2022-04-06 2022-10-21
[Feature Request] DatePicker 可以选择周、月、年或多个日期 是否增加限制选择日期长度 0 2022-10-26 2022-11-27
`kubernetes_pod` failing to mount `kube-root-ca.crt` in kind and minikube cluster. Both single and multi node scenarios are affected 4 2022-04-20 2022-11-07
Get namespace fails with connection refused on Cloud Composer GKE resource update plan 3 2022-04-20 2022-10-12
Add @custom component template to .siem-signals system index template 1 2022-04-24 2022-10-15
"export 'default' was not found in node_modules/unplugin/dist/webpack/loaders/transform.js 1 2022-01-24 2022-07-15