FossifyOrg / Messages

An easy and quick way of managing SMS and MMS messages without ads.
https://www.fossify.org
GNU General Public License v3.0
536 stars 38 forks source link

[BUG] Repeated "java.lang.NullPointerException" Errors occuring while App is in use or in background #204

Open mahdiaqallal opened 2 months ago

mahdiaqallal commented 2 months ago

Checklist

Affected app version

1.0.1

Affected Android/Custom ROM version

Android 12 with Huawei EMUI 12.0.0 (stock ROM)

Affected device model

Huawei P Smart 2019

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. Install the App (it's a GREAT App)
  2. Grant it all required rights and make it the default SMS / Messaging App
  3. Open and use App

The App is in the device's system language (French) On the bottom of the screen is a floating message which appears randomly and repeatedly stating "Error: java.lang.NullPointerException"

Expected behavior

No floating message error should be reported by the system while the app is in use.

Actual behavior

The floating message repeatedly stating "Error: java.lang.NullPointerException" appears as a notification:

Screenshots/Screen recordings

No response

Additional information

Error shows in similar fashion on those devices:

Aga-C commented 2 months ago

Can you make a screenshot of the full toast message? If it's possible, please rotate your device to landscape mode, so more error text will be visible.

mahdiaqallal commented 2 months ago

Please find below a screenshot as asked. It has been taken in landscape mode and the error occured while typing a message.

Portrait or landsxape, the floating error message is identical

Hope it will help !

Screenshot_20240812_213447_org fossify messages_1

Aga-C commented 2 months ago

Have you removed or disabled any system services from your devices?

mahdiaqallal commented 2 months ago

No, not to my knowledge, I didn't change anything. (I do not know how to remove a Service) .

The device is a Huawei P Smart 2019, stock Android 12 / EMUI 12, non rooted, no customization, and with the corresponding Google Account which would be soon obsolete I hope:

My goal with the GREAT Fossify App suite is to use them in a new Android Phone, without any Google account registered on it.

If it helps, it might be related , I also experience a delay in the app, I have circa 50k SMS and 500 MMS. The delay is 8-10 secs when:

Restarting device, un- and re-installing the App didn't solve neither java error nor the delays above. (I can open a specific issue about those delays if it is not related to this topic to help) EDIT: Should I open a dedicated issue ?

The same issue (java error and delay) existed already with the previous SimpleTools Messaging App

I don't seem to have a specific problem on my device since the F-droid QKSMS / QUIK apps do work without any java error nor delay but their development seems to have halted.

Hope this helps

Envoyé depuis Proton Mail pour Android

-------- Message d'origine -------- Le 12/08/2024 22:35, Agnieszka C a écrit :

Have you removed or disabled any system services from your devices?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

2wheelsaint commented 2 months ago

I have the same issue, but on a Google Pixel 7, running GrapheneOS.

mahdiaqallal commented 2 months ago

Alas, I can not provide any more details, as of yesterday the app has crashed. Un-installing, re-installing the app still leads to a crash as soon as: