Hello
I have bought an android 13 (Api 33) and it generates the error in DbUtils that does not occur in any other version of Android or API.
In the function:
Sub ExecuteMemoryTable(SQL As SQL, Query As String, StringArgs() As String, Limit As Int) As List
Try
Dim cur As Cursor
If StringArgs <> Null Then
cur = SQL.ExecQuery2(Query, StringArgs)
Else
cur = SQL.ExecQuery(Query)
End If
'Log("ExecuteMemoryTable: " & Query)
Dim table As List
table.Initialize
If Limit > 0 Then Limit = Min(Limit, cur.RowCount) Else Limit = cur.RowCount
For row = 0 To Limit - 1
cur.Position = row
Dim values(cur.ColumnCount) As String
For col = 0 To cur.ColumnCount - 1
values(col) = cur.GetString2(col)
Next
table.Add(values)
Next
cur.Close
Return table
Catch
Log(LastException)
End Try
End Sub
it returns me this error:
(SQLiteException) android.database.sqlite.SQLiteException: no such table: Parameters (code 1 SQLITE_ERROR): , while compiling: SELECT * FROM Parameters WHERE RomNumSerieModulo LIKE '%125815%'
main_timaction_tick (java line: 17930)
java.lang.NullPointerException: Attempt to invoke virtual method 'int anywheresoftware.b4a.objects.collections.List.getSize()' on a null object reference
at control.wiaction.gonner.main._timaction_tick(main.java:17930)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:221)
at anywheresoftware.b4a.objects.Timer$TickTack.run(Timer.java:105)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7941)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:569)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1015)
Any suggestions or help for this problem?
Thank you.