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

App crashing when entering Blotter - transactions tab #155

Open
Alister71 opened this issue Feb 27, 2021 · 0 comments
Open

App crashing when entering Blotter - transactions tab #155

Alister71 opened this issue Feb 27, 2021 · 0 comments

Comments

@Alister71
Copy link

java.lang.RuntimeException: Unable to start activity ComponentInfo{ru.orangesoftware.financisto/ru.orangesoftware.financisto.activity.BlotterActivity}: java.lang.IllegalArgumentException: Cannot bind argument at index 2 because the index is out of range. The statement has 1 parameters.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3310)
at android.app.ActivityThread.startActivityNow(ActivityThread.java:3048)
at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:146)
at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:373)
at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:783)
at android.widget.TabHost.setCurrentTab(TabHost.java:434)
at android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:178)
at android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:568)
at android.view.View.performClick(View.java:7297)
at android.view.View.performClickInternal(View.java:7274)
at android.view.View.access$3600(View.java:819)
at android.view.View$PerformClick.run(View.java:28017)
at android.os.Handler.handleCallback(Handler.java:914)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:225)
at android.app.ActivityThread.main(ActivityThread.java:7564)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Caused by: java.lang.IllegalArgumentException: Cannot bind argument at index 2 because the index is out of range. The statement has 1 parameters.
at android.database.sqlite.SQLiteProgram.bind(SQLiteProgram.java:215)
at android.database.sqlite.SQLiteProgram.bindString(SQLiteProgram.java:169)
at android.database.sqlite.SQLiteProgram.bindAllArgsAsStrings(SQLiteProgram.java:203)
at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:49)
at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1443)
at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1290)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1161)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1329)
at ru.orangesoftware.financisto.db.DatabaseAdapter.getBlotter(DatabaseAdapter.java:131)
at ru.orangesoftware.financisto.db.DatabaseAdapter.getBlotter(DatabaseAdapter.java:109)
at ru.orangesoftware.financisto.activity.BlotterActivity.createCursor(BlotterActivity.java:455)
at ru.orangesoftware.financisto.activity.AbstractListActivity.onCreate(AbstractListActivity.java:78)
at ru.orangesoftware.financisto.activity.BlotterActivity.onCreate(BlotterActivity.java:113)
at android.app.Activity.performCreate(Activity.java:7916)
at android.app.Activity.performCreate(Activity.java:7903)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1307)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3285)
... 18 more

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

No branches or pull requests

1 participant