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

[BUG]: App crashes when navigating to collect screen when field is not changed on initial startup. #1066

Open
hkmanching opened this issue Oct 30, 2024 · 1 comment
Assignees
Labels

Comments

@hkmanching
Copy link

Description

When fieldbook is opened and a field is already selected at startup (maybe from previous use), if you click "Collect," the app crashes. This does not happen if you navigate to a different field. Does not happen in version 5.6.24.

Expected behavior

No response

Field Book version

5.6.25

@trife
Copy link
Member

trife commented Oct 30, 2024

I think it's this crash:

Fatal Exception: java.lang.RuntimeException: Unable to resume activity {com.fieldbook.tracker/com.fieldbook.tracker.activities.CollectActivity}: android.database.sqlite.SQLiteException: no such column: col_number (code 1 SQLITE_ERROR): , while compiling: SELECT `col_number`, `row_number`, `plot_name`, `id` FROM ObservationUnitProperty WHERE id = ?
       at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4832)
       at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4865)
       at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:54)
       at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
       at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2281)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:223)
       at android.os.Looper.loop(Looper.java:317)
       at android.app.ActivityThread.main(ActivityThread.java:7942)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

3 participants