Attempt to invoke virtual method'android.graphics.Bitmapandroid.graphics.drawable.BitmapDrawable.getBitmp()' on null object reference

this block was working 1 hour ago and then suddenly it shows this error. also when i try again in 10 minutes it works but if you try again it doesn’t work and shows you the error. so sometimes it works and sometimes it doesn’t. here’s my block arrangement
a

What error is showing?
You should provide enough details so that one can help you.

read the title

Do you mean this?

Otherwise this is not right if anyone wants to help you then you will say :- Read topic title and help me

1 Like

yes this error

Are you sure icon.png is on your device at all times?

yes it is always there in assets. it’s just that this block sometime works and sometime doesn’t.
at this time i checked this again and it is working in companion but it is not working in compiled apk. isn’t it strange.

also i have another custom message same as this but that is working images in both of them is same.

Can you provide us with an aia that exhibit this error

/Boban

Copy the image, rename it and attached the new name to the notifier component.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.