J juanM1 Member Licensed User Longtime User May 11, 2022 #1 Hello. I have been using BTPrint for several years, and now with a Galaxy Tab A8 running Android 11, I get the following error: java.lang.NullPointerException: Attempt to invoke virtual method 'java.iutputStream android.bluetooth.BluetoothSocket.getOutputStream()' on a null object reference Code: Copy Sub BTPrinter_Connected(Connected As Boolean) BTConnected = Connected[] BTPrinter.Initialize(BTConnection.OutputStream) [B]Here it gives the error.[/B] PCL3.Initialize(BTConnection.OutputStream) CallSub(BTNotify, BTNotifyRoutine) End Sub On an Amazon Prime 10, and it gives the same error. Thank you and greetings.
Hello. I have been using BTPrint for several years, and now with a Galaxy Tab A8 running Android 11, I get the following error: java.lang.NullPointerException: Attempt to invoke virtual method 'java.iutputStream android.bluetooth.BluetoothSocket.getOutputStream()' on a null object reference Code: Copy Sub BTPrinter_Connected(Connected As Boolean) BTConnected = Connected[] BTPrinter.Initialize(BTConnection.OutputStream) [B]Here it gives the error.[/B] PCL3.Initialize(BTConnection.OutputStream) CallSub(BTNotify, BTNotifyRoutine) End Sub On an Amazon Prime 10, and it gives the same error. Thank you and greetings.