tutao / tutanota

Tuta is an email service with a strong focus on security and privacy that lets you encrypt emails, contacts and calendar entries on all your devices.
https://tuta.com
GNU General Public License v3.0
5.97k stars 513 forks source link

Uncaught Error: AssertNotNull failed: null #5222

Closed ganthern closed 1 year ago

ganthern commented 1 year ago

Reported on Browser and android:

I can not see the text of the message when I open the emails

Client: android
Type: PREMIUM
Tutanota version: 3.110.0
Timestamp (UTC): Fri, 03 Mar 2023 11:05:26 GMT
User agent:
Mozilla/5.0 (Linux; Android 10; HMA-L29 Build/HUAWEIHMA-L29; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/81.0.4044.138 Mobile Safari/537.36
Error
Error message: AssertNotNull failed : null
Stacktrace:
Error: AssertNotNull failed : null
at l (https://assets.tutanota.com/common-min-3277242d.js:1:11518)
at HTMLButtonElement.onclick (https://assets.tutanota.com/gui-base-a1de5394.js:1:94096)
at D.handleEvent (https://assets.tutanota.com/app.js:1:25636)

Notes:

on further inspection, this seems to happen exclusively on outdated clients except for ios safari 604.1 like this one:

Client: Browser
Type: FREE
Tutanota version: 3.110.0
Timestamp (UTC): Thu, 02 Mar 2023 20:41:37 GMT
User agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Mobile/15E148 Safari/604.1
Error
Error message: AssertNotNull failed : null
Stacktrace:
l@https://mail.tutanota.com/common-min-3277242d.js:1:11527
onclick@https://mail.tutanota.com/gui-base-a1de5394.js:1:94097
@https://mail.tutanota.com/app.js:1:25640

happens here: https://github.com/tutao/tutanota/blob/477e4f87fe7da2f04e8081285ae6435ce88e5daf/src/gui/base/Button.ts#L125

No idea how old that webkit version is

charlag commented 1 year ago

Duplicate of #5221