java.lang.NullPointerException: Attempt to invoke virtual method 'android.database.sqlite.SQLiteStatement android.database.sqlite.SQLiteDatabase.compileStatement(java.lang.String)' on a null object reference
It is a mistake to use NumberFormat here. Add the real numbers and let B4XTable format them for you.
Have you called SetData on B4XTable1? The database is only created when you call SetData. Note that the db creation is async so it will not be immediately available.
You can wait for it to be ready with:
B4X:
B4XTable1.SetData(data)
Wait For B4XTable1_DataUpdated
'ready here