Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record for UID is null? #261

Conversation

pnemonic78
Copy link
Collaborator

@pnemonic78 pnemonic78 commented Feb 13, 2025

Caused by java.lang.IllegalArgumentException: the bind value at index 1 is null
       at android.database.sqlite.SQLiteProgram.bindString(SQLiteProgram.java:168)
       at android.database.sqlite.SQLiteProgram.bindAllArgsAsStrings(SQLiteProgram.java:204)
       at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:49)
       at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1712)
       at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1559)
       at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1430)
       at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1598)
       at org.gnucash.android.db.adapter.DatabaseAdapter.fetchRecord(DatabaseAdapter.java:514)
       at org.gnucash.android.db.adapter.AccountsDbAdapter.getSimpleRecord(AccountsDbAdapter.java:1403)
       at org.gnucash.android.ui.transaction.TransactionsActivity.onCreate(TransactionsActivity.java:291)
       at android.app.Activity.performCreate(Activity.java:8305)
       at android.app.Activity.performCreate(Activity.java:8284)
       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1417)
       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3626)
       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3782)
       at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
       at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2307)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:201)
       at android.os.Looper.loop(Looper.java:288)
       at android.app.ActivityThread.main(ActivityThread.java:7872)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

@pnemonic78 pnemonic78 self-assigned this Feb 13, 2025
@pnemonic78 pnemonic78 force-pushed the issue/ff31b122ac3c3b732f75b8c4686a340b branch 3 times, most recently from 87e4ab2 to dffef8e Compare February 18, 2025 06:25
@pnemonic78 pnemonic78 merged commit 532ec33 into GnuCash-Pocket:master Feb 24, 2025
5 checks passed
@pnemonic78 pnemonic78 deleted the issue/ff31b122ac3c3b732f75b8c4686a340b branch February 24, 2025 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant