Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

After updating to 0.45 ocreader does not open anymore #97

Closed
Lakrimar opened this issue May 28, 2020 · 0 comments
Closed

After updating to 0.45 ocreader does not open anymore #97

Lakrimar opened this issue May 28, 2020 · 0 comments
Assignees
Labels

Comments

@Lakrimar
Copy link

Description of the issue

After updating ocreader from 0.44 to 0.45 the app via F-Droid the app does not start anymore. When clicking on the icon the app tries to start but shutdown immediately.

A downgrade to 0.44 via F-Droid failed with a generic error.

Expected behavior

The app should start as usual.

Steps to reproduce

  1. Update the app
  2. Try to open the app

Your Environment

  • OCReader version: 0.45
  • Nextcloud news version: 18.04
  • News app version: 14.1.11
  • Android version: Lineage OS 16.0 (Android 9)

Logcat

05-28 13:26:57.637 566 12741 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=email.schaal.ocreader/.ListActivity bnds=[818,866][1022,1104]} from uid 10037
05-28 13:26:57.805 566 584 I ActivityManager: Start proc 16858:email.schaal.ocreader/u0a135 for activity email.schaal.ocreader/.ListActivity
05-28 13:26:57.848 16858 16858 E schaal.ocreade: Not starting debugger since process cannot load the jdwp agent.
05-28 13:26:58.483 16858 16858 D AndroidRuntime: Shutting down VM
05-28 13:26:58.485 16858 16858 E AndroidRuntime: FATAL EXCEPTION: main
05-28 13:26:58.485 16858 16858 E AndroidRuntime: Process: email.schaal.ocreader, PID: 16858
05-28 13:26:58.485 16858 16858 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{email.schaal.ocreader/email.schaal.ocreader.ListActivity}: java.lang.IllegalArgumentException: Invalid query: field 'updatedAt' not found in class 'Item'.
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2951)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3086)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6718)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: Invalid query: field 'updatedAt' not found in class 'Item'.
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at io.realm.internal.fields.CachedFieldDescriptor.compileFieldDescription(CachedFieldDescriptor.java:20)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at io.realm.internal.fields.FieldDescriptor.compileIfNecessary(FieldDescriptor.java:2)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at io.realm.internal.core.QueryDescriptor.checkFieldType(QueryDescriptor.java:1)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at io.realm.internal.core.QueryDescriptor.getInstance(QueryDescriptor.java:5)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at io.realm.internal.core.QueryDescriptor.getInstanceForSort(QueryDescriptor.java:4)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at io.realm.RealmQuery.sort(RealmQuery.java:5)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at io.realm.RealmList.sort(RealmList.java:2)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at email.schaal.ocreader.database.FeedViewModel.(FeedViewModel.kt:8)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at email.schaal.ocreader.database.FeedViewModel$FeedViewModelFactory.create(FeedViewModel.kt:1)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.java:10)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at androidx.lifecycle.ViewModelLazy.getValue(ViewModelProvider.kt:6)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at email.schaal.ocreader.ListActivity.getFeedViewModel(Unknown Source:2)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at email.schaal.ocreader.ListActivity.onCreate(ListActivity.kt:23)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7144)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7135)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2931)
05-28 13:26:58.485 16858 16858 E AndroidRuntime: ... 11 more
05-28 13:26:58.493 566 12741 W ActivityManager: Force finishing activity email.schaal.ocreader/.ListActivity
05-28 13:26:58.509 16858 16858 I Process : Sending signal. PID: 16858 SIG: 9

@schaal schaal added the bug label May 28, 2020
@schaal schaal self-assigned this May 28, 2020
@schaal schaal closed this as completed in 19e791d May 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants