EverTranslator icon indicating copy to clipboard operation
EverTranslator copied to clipboard

Got error! when using translation twice and later

Open wres168 opened this issue 2 years ago • 3 comments

When using translation twice and later, it will get an error: "attempt to invoke interface method 'boolean java.util.set.add(java.lang.object)' on a null object reference"

app version:3.1.2

image

wres168 avatar Sep 13 '22 19:09 wres168

What's your device model and android OS version?

I found the same issue on another application: https://github.com/kkevsekk1/AutoX/issues/327 As their research, it happens on Xiaomi devices with MIUI 13 + Android 12

And from Firebase's console, it happens on POCO, Remi and Xiaomi devices

It's a headache issue, it seems the only way to resolve it is to request the screen recording permission every time you want to translate a text...

firemaples avatar Sep 14 '22 07:09 firemaples

Link with Firebase report https://console.firebase.google.com/u/0/project/ever-translator/crashlytics/app/android:tw.firemaples.onscreenocr/issues/376df456c2a07f7823a23097a508200a?time=last-seven-days&types=error&versions=3.1.2%20(86)&sessionEventKey=631B92C602DE00014BE94D51B0A58191_1719909902439511825

firemaples avatar Sep 14 '22 07:09 firemaples

Indeed, I'm using redmi k40 with MIUI13 & Android 12. I'll try updating the OS to see if that fixes the bug.

wres168 avatar Sep 15 '22 13:09 wres168