Android Question Widgets id

Yngveh58

Member
Licensed User
Longtime User
Hello
Looking for a way to list installed widgets id numbers and names.
In unfiltered logs this appears:

(NullPointerException) java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.trim ()' on a null object reference
handleNotifyUpdateAppWidget, appWidgetId = 93
updateAppWidgetView, appWidgetId = 93, v = com.android.launcher3.widget.LauncherAppWidgetHostView {7502f9a VFE .... L. R ..... I. 0.0-0.0 # 17c}

Attach screenshot with and without filter.
This shows up in log even when I have an app in debug mode.
I wonder if this can help the battery discharge faster, which I experience.
 

Attachments

  • dump1.png
    dump1.png
    67.8 KB · Views: 156
  • dump2.png
    dump2.png
    67.8 KB · Views: 172

Yngveh58

Member
Licensed User
Longtime User
Found a pattern in the log.
I can not interpret it but it is repeated all the time.
This is repeated:
(NullPointerException) java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.trim ()' on a null object reference
(NullPointerException) java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.trim ()' on a null object reference
(NullPointerException) java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.trim ()' on a null object reference
(NullPointerException) java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.trim ()' on a null object reference
! @ 8,0 r 1469474 54017020 w 355287 5653940 d 27810 2114736 f 103251 104607 iot 539996 424552 th 102400 0 0 pt 0 inp 0 0 50733.581
(NullPointerException) java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.trim ()' on a null object reference
(NullPointerException) java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.trim ()' on a null object reference
(NullPointerException) java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.trim ()' on a null object reference
(NullPointerException) java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.trim ()' on a null object reference
 
Upvote 0

Yngveh58

Member
Licensed User
Longtime User
I found this line in androidstudio logcat with reference to B4A

2022-02-28 08: 45: 31.234 5679-5679 /? I / B4A: ~ l341114131: (NullPointerException) java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.trim ()' on a null object reference
 
Upvote 0
Top