You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error in ResultReturner:
java.lang.NullPointerException: Attempt to invoke virtual method 'android.service.notification.StatusBarNotification[] com.termux.api.apis.NotificationListAPI$NotificationService.getActiveNotifications()' on a null object reference
at com.termux.api.apis.NotificationListAPI.listNotifications(NotificationListAPI.java:37)
at com.termux.api.apis.NotificationListAPI$1.writeJson(NotificationListAPI.java:29)
at com.termux.api.util.ResultReturner$ResultJsonWriter.writeResult(ResultReturner.java:122)
at com.termux.api.util.ResultReturner.lambda$returnData$0(ResultReturner.java:179)
at com.termux.api.util.ResultReturner$$ExternalSyntheticLambda0.run(Unknown Source:8)
at java.lang.Thread.run(Thread.java:1012)
Can't reproduce, seems to happen randomly.
NotificationService.get()
is returningnull
sometimes?termux-api/app/src/main/java/com/termux/api/apis/NotificationListAPI.java
Lines 36 to 37 in 4159c62
Error
Termux
VERSION_NAME:
0.118.0+9d308c2
VERSION_CODE:
118
APK_RELEASE:
Github
Termux:API
VERSION_NAME:
0.50.1+4a711e9
VERSION_CODE:
51
APK_RELEASE:
Github
APT_PACKAGE_VERSION:
0.58.0-1
The text was updated successfully, but these errors were encountered: