What happens in release mode? Please post the logs.
Hi,
this is the log :
===========
Logger connected to: vivo vivo 2007
--------- beginning of crash
FATAL EXCEPTION: main
Process: ObunderPOS.V1, PID: 15694
java.lang.RuntimeException: Unable to create service ObunderPOS.V1.starter: java.lang.RuntimeException: java.net.SocketException: Connection reset
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4558)
at android.app.ActivityThread.access$1700(ActivityThread.java:269)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2185)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:257)
at android.app.ActivityThread.main(ActivityThread.java:8218)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:626)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1016)
Caused by: java.lang.RuntimeException: java.net.SocketException: Connection reset
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:164)
at anywheresoftware.b4a.shell.Shell.start(Shell.java:102)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:92)
at ObunderPOS.V1.starter.onCreate(starter.java:34)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4538)
... 8 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:215)
at java.net.SocketInputStream.read(SocketInputStream.java:144)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:248)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:288)
at java.io.BufferedInputStream.read(BufferedInputStream.java:347)
at java.io.DataInputStream.readFully(DataInputStream.java:198)
at java.io.DataInputStream.readInt(DataInputStream.java:389)
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:136)
... 12 more
FATAL EXCEPTION: main
Process: ObunderPOS.V1, PID: 19591
java.lang.RuntimeException: Unable to create service ObunderPOS.V1.starter: java.lang.RuntimeException: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.i

utputStream.write(byte[])' on a null object reference
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4558)
at android.app.ActivityThread.access$1700(ActivityThread.java:269)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2185)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:257)
at android.app.ActivityThread.main(ActivityThread.java:8218)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:626)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1016)
Caused by: java.lang.RuntimeException: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.i

utputStream.write(byte[])' on a null object reference
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:164)
at anywheresoftware.b4a.shell.Shell.start(Shell.java:102)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:92)
at ObunderPOS.V1.starter.onCreate(starter.java:34)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4538)
... 8 more
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.i

utputStream.write(byte[])' on a null object reference
at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:61)
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:124)
... 12 more
FATAL EXCEPTION: main
Process: ObunderPOS.V1, PID: 21060
java.lang.RuntimeException: Unable to create service ObunderPOS.V1.starter: java.lang.RuntimeException: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.i

utputStream.write(byte[])' on a null object reference
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4558)
at android.app.ActivityThread.access$1700(ActivityThread.java:269)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2185)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:257)
at android.app.ActivityThread.main(ActivityThread.java:8218)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:626)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1016)
Caused by: java.lang.RuntimeException: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.i

utputStream.write(byte[])' on a null object reference
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:164)
at anywheresoftware.b4a.shell.Shell.start(Shell.java:102)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:92)
at ObunderPOS.V1.starter.onCreate(starter.java:34)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4538)
... 8 more
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.i

utputStream.write(byte[])' on a null object reference
at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:61)
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:124)
... 12 more
--------- beginning of main
Not starting debugger since process cannot load the jdwp agent.
Invalid ID 0x00000000.
Not starting debugger since process cannot load the jdwp agent.
*** Debugger waiting for connection (0) ***
Compat change id reported: 147798919; UID 10391; state: DISABLED
Invalid ID 0x00000000.
Not starting debugger since process cannot load the jdwp agent.
Invalid ID 0x00000000.
Not starting debugger since process cannot load the jdwp agent.
Invalid ID 0x00000000.
Not starting debugger since process cannot load the jdwp agent.
Invalid ID 0x00000000.
Not starting debugger since process cannot load the jdwp agent.
Invalid ID 0x00000000.
Not starting debugger since process cannot load the jdwp agent.
PFP: 0x005ff114, ME: 0x005ff066
mapper 4.x is not supported
mapper 3.x is not supported
Invalid ID 0x00000000.
Not starting debugger since process cannot load the jdwp agent.
Invalid ID 0x00000000.
Not starting debugger since process cannot load the jdwp agent.
Invalid ID 0x00000000.
Not starting debugger since process cannot load the jdwp agent.
Invalid ID 0x00000000.
Not starting debugger since process cannot load the jdwp agent.
Invalid ID 0x00000000.
Not starting debugger since process cannot load the jdwp agent.
Invalid ID 0x00000000.
FATAL EXCEPTION: main
Process: ObunderPOS.V1, PID: 11005
java.lang.RuntimeException: Unable to create service ObunderPOS.V1.starter: java.lang.RuntimeException: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.i

utputStream.write(byte[])' on a null object reference
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4558)
at android.app.ActivityThread.access$1700(ActivityThread.java:269)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2185)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:257)
at android.app.ActivityThread.main(ActivityThread.java:8218)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:626)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1016)
Caused by: java.lang.RuntimeException: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.i

utputStream.write(byte[])' on a null object reference
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:164)
at anywheresoftware.b4a.shell.Shell.start(Shell.java:102)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:92)
at ObunderPOS.V1.starter.onCreate(starter.java:34)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4538)
... 8 more
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.i

utputStream.write(byte[])' on a null object reference
at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:61)
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:124)
... 12 more
Not starting debugger since process cannot load the jdwp agent.
QUALCOMM build : 03dd3ba, I13854cb805
Build Date : 10/28/20
OpenGL ES Shader Compiler Version: EV************
Local Branch : mybrancheb191cbf-5661-f183-9b13-08f1eafda2d8
Remote Branch : quic/gfx-adreno.lnx.1.0.r122-rel
Remote Branch : NONE
Reconstruct Branch : NOTHING
Build Config : S L 10.0.7 AArch64
Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so
PFP: 0x005ff114, ME: 0x005ff066
mapper 4.x is not supported
mapper 3.x is not supported
Invalid ID 0x00000000.
Not starting debugger since process cannot load the jdwp agent.
Invalid ID 0x00000000.
Not starting debugger since process cannot load the jdwp agent.
Invalid ID 0x00000000.
Not starting debugger since process cannot load the jdwp agent.
Invalid ID 0x00000000.
Not starting debugger since process cannot load the jdwp agent.
Not starting debugger since process cannot load the jdwp agent.
Not starting debugger since process cannot load the jdwp agent.
Not starting debugger since process cannot load the jdwp agent.
QUALCOMM build : 03dd3ba, I13854cb805
Build Date : 10/28/20
OpenGL ES Shader Compiler Version: EV************
Local Branch : mybrancheb191cbf-5661-f183-9b13-08f1eafda2d8
Remote Branch : quic/gfx-adreno.lnx.1.0.r122-rel
Remote Branch : NONE
Reconstruct Branch : NOTHING
Build Config : S L 10.0.7 AArch64
Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so
PFP: 0x005ff114, ME: 0x005ff066
================
this is my code :
============
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("laylogin")
nmStore.Initialize
kdStore.Initialize
'-- cek settingan server dan database
get_dbsetting
'load daftar Store
loadStore
End Sub
Sub get_dbsetting
Dim list1 As List
Dim sf As StringFunctions
sf.Initialize
If File.Exists(File.DirInternal,"set.txt") Then
list1 = File.ReadList(File.DirInternal, "set.txt")
'Msgbox("List1.Size = " & list1.Size & CRLF & "The third item is: " & list1.Get(2), "")
koneksiDB.xnmserver = sf.Mid(list1.Get(1),3,sf.Len(list1.Get(1))-2)
koneksiDB.xnmdatabase = sf.Mid(list1.Get(2),3,sf.Len(list1.Get(2))-2)
koneksiDB.xusrid = sf.Mid(list1.Get(3),3,sf.Len(list1.Get(3))-2)
koneksiDB.xpasswd = sf.Mid(list1.Get(4),3,sf.Len(list1.Get(4))-2)
Else
'Activity_Pause(True)
setting_DB.itombol=1
StartActivity("setting_DB")
End If
End Sub
Sub loadStore
Dim listStore As ResultSet
Dim SpinnMap As Map
SpinnMap.Initialize
koneksiDB.KonekDB
koneksiDB.rset1 = koneksiDB.handlerDB1.Query("Select id_gudang, nm_gudang from m_gudang where status_gudang=1 And (jns_gudang ='GD.STORE' Or jns_gudang='GD. STORE') order by nm_gudang")
spstore.Clear
spstore.Add("-- Pilih Store --")
listStore = koneksiDB.rset1
For i=0 To listStore.RowCount-1
'Dim record() As Object = listStore
listStore.Position=i
spstore.Add(listStore.GetString2("nm_gudang"))
SpinnMap.Put(koneksiDB.rset1.GetString2("nm_gudang"),koneksiDB.rset1.GetString2("id_gudang"))
kdStore.Put(koneksiDB.rset1.GetString2("id_gudang"),koneksiDB.rset1.GetString2("nm_gudang"))
nmStore.Put(koneksiDB.rset1.GetString2("nm_gudang"),koneksiDB.rset1.GetString2("id_gudang"))
Next
koneksiDB.handlerDB1.Close
End Sub
=======
I Also Attach the video capture