Flutter web exception: Uncaught Error: Null check operator used on a null value (getEncryptionKey)
Hello.
With my Flutter web app hosted, I get this error with flutter_secure_storage:
Uncaught Error: Null check operator used on a null value at flutter_secure_storage_web.dart:111:16 at _wrapJsFunctionForAsync_closure.$protected (async_patch.dart:311:19) at _wrapJsFunctionForAsync_closure.call$2 (async_patch.dart:336:23) at Object._asyncStartSync (async_patch.dart:241:3) at FlutterSecureStorageWeb._getEncryptionKey$body$FlutterSecureStorageWeb (flutter_secure_storage_web.dart:98:25) at FlutterSecureStorageWeb._getEncryptionKey$2 (flutter_secure_storage_web.dart:98:25) at flutter_secure_storage_web.dart:137:33 at _wrapJsFunctionForAsync_closure.$protected (async_patch.dart:311:19) at _wrapJsFunctionForAsync_closure.call$2 (async_patch.dart:336:23) at Object._asyncStartSync (async_patch.dart:241:3)
It is probably important information but there is no certificate on the sub domain of my app. I don't have any problem with the same build on another server but with an SSL certificate on it (that's the only difference I can notice).
Thanks for help.
Hi, which version are you using?
⚠️ This issue has been marked as stale because it has been open for 60 days with no activity.
If this issue is still relevant, please comment to keep it active. Otherwise, it will be closed in 60 days.
⚠️ This issue has been marked as stale because it has been open for 60 days with no activity.
If this issue is still relevant, please comment to keep it active. Otherwise, it will be closed in 60 days.