Description
The app crashes consistently when attempting to open the Settings screen from the main interface. This issue is 100% reproducible on Android 14.
Steps to Reproduce
- Open ARVIO app.
- Navigate to the main Home screen.
- Tap on the Settings (gear) icon or menu option.
- The app immediately crashes and returns to the launcher.
Expected Behavior
The Settings screen should open normally, allowing users to configure their preferences.
Actual Behavior
The app crashes with a NullPointerException every time the Settings screen is accessed.
Logcat Output
E/AndroidRuntime(4243): Process: com.arvio.tv, PID: 4243
E/AndroidRuntime(4243): java.lang.NullPointerException: Attempt to invoke interface method 'int java.lang.CharSequence.length()' on a null object reference
E/AndroidRuntime(4243): at com.arvio.tv.[...]
Full log shows the crash occurs immediately after:
D/ProfileInstaller(4243): Skipping profile installation for com.arvio.tv
E/AndroidRuntime(4243): Process: com.arvio.tv, PID: 4243
Environment
- App Version: 1.9.97
- Device: OPPO Reno 12 5G
- OS: Android 16
- Source: Official GitHub release
Additional Context
- The app works normally in all other screens.
- The crash seems related to a null value being passed to CharSequence.length(), possibly from an uninitialized profile field, user name, URL, or localized string.
- The log shows locale switching to es-ES, which might indicate a translation or resource loading issue.
Possible Cause
A text field (likely a profile name, description, or URL) is null when the Settings screen tries to render it, and the app does not handle this case properly before calling .length() on it.
Suggested Fix
Add a null-check before calling .length() on any CharSequence used in the Settings UI, or ensure the relevant field is always initialized with a default value.
Let me know if you need more logs or testing on my device. Happy to help debug further!
Description
The app crashes consistently when attempting to open the Settings screen from the main interface. This issue is 100% reproducible on Android 14.
Steps to Reproduce
Expected Behavior
The Settings screen should open normally, allowing users to configure their preferences.
Actual Behavior
The app crashes with a NullPointerException every time the Settings screen is accessed.
Logcat Output
E/AndroidRuntime(4243): Process: com.arvio.tv, PID: 4243
E/AndroidRuntime(4243): java.lang.NullPointerException: Attempt to invoke interface method 'int java.lang.CharSequence.length()' on a null object reference
E/AndroidRuntime(4243): at com.arvio.tv.[...]
Full log shows the crash occurs immediately after:
D/ProfileInstaller(4243): Skipping profile installation for com.arvio.tv
E/AndroidRuntime(4243): Process: com.arvio.tv, PID: 4243
Environment
Additional Context
Possible Cause
A text field (likely a profile name, description, or URL) is null when the Settings screen tries to render it, and the app does not handle this case properly before calling .length() on it.
Suggested Fix
Add a null-check before calling .length() on any CharSequence used in the Settings UI, or ensure the relevant field is always initialized with a default value.
Let me know if you need more logs or testing on my device. Happy to help debug further!