Weather Widget NPE
- /e/ version: eOS 1.7-20230104
- Device model(s): FP3
- Device rooted: no
Summary
I faced a Null Pointer Exception which makes BlissLauncher crash:
01-05 08:15:09.486 6510 6589 E AndroidRuntime: FATAL EXCEPTION: OkHttp Dispatcher
01-05 08:15:09.486 6510 6589 E AndroidRuntime: Process: foundation.e.blisslauncher, PID: 6510
01-05 08:15:09.486 6510 6589 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.google.gson.JsonElement.getAsString()' on a null object reference
01-05 08:15:09.486 6510 6589 E AndroidRuntime: at foundation.e.blisslauncher.features.weather.WeatherUpdater.onReverseGeocoded(WeatherUpdater.java:249)
01-05 08:15:09.486 6510 6589 E AndroidRuntime: at foundation.e.blisslauncher.features.weather.WeatherUpdater.access$000(WeatherUpdater.java:41)
01-05 08:15:09.486 6510 6589 E AndroidRuntime: at foundation.e.blisslauncher.features.weather.WeatherUpdater$1.onResponse(WeatherUpdater.java:269)
01-05 08:15:09.486 6510 6589 E AndroidRuntime: at okhttp3.RealCall$AsyncCall.run(RealCall.kt:138)
01-05 08:15:09.486 6510 6589 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
01-05 08:15:09.486 6510 6589 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
01-05 08:15:09.486 6510 6589 E AndroidRuntime: at java.lang.Thread.run(Thread.java:923)
01-05 08:15:09.489 1407 2934 W ActivityTaskManager: Not force finishing home activity foundation.e.blisslauncher/.features.launcher.LauncherActivity