Bluetooth Print (android.graphics.drawable.BitmapDrawable.getBitmap ()’ on a null object reference)

My following blocks work without problems on one screen but when I replicate them on another I get an error.

Attempting to call virtual method ‘android.graphics.Bitmap android.graphics.drawable.BitmapDrawable.getBitmap ()’ on a null object reference

It only fails when printing via Bluetooth, the path is correct, the file is created and exists, I can share it, but not print.

I tried with several names, also previously deleting the file and nothing works

10 posts were merged into an existing topic: [PAID] ESC/POS Thermal Printing extension (Bluetooth/Network)