AndBible / and-bible

AndBible: Bible Study
https://andbible.org
GNU General Public License v3.0
588 stars 195 forks source link

Dictionaries crash #3148

Open jd-s opened 9 months ago

jd-s commented 9 months ago

Describe the bug AndBible crashes if I open dictionaries which are not restricted to Strong's numbers. I added these modules manually and when opening AndBible crashes. What I see is that AndBible tries to convert the entries - n-parameters in TEI - which contain full lemmata to numbers. Some of these modules have lemmata AND Strong's numbers. Clicking on a word in the Bible does not crash the app, but produces an error message.

Bug was found on AndBible version 5.0.792

To Reproduce Steps to reproduce the behavior:

  1. Go to Dokument auswählen
  2. Choose Dictionaries
  3. Click on dictionary
  4. See error

Expected behavior Well, it should show the dictionary and let me search and select entries.

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Additional context

--------- beginning of crash
01-03 11:38:41.214 29023 29023 E AndroidRuntime: FATAL EXCEPTION: main
01-03 11:38:41.214 29023 29023 E AndroidRuntime: Process: net.bible.android.activity, PID: 29023
01-03 11:38:41.214 29023 29023 E AndroidRuntime: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:558)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
01-03 11:38:41.214 29023 29023 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    ... 1 more
01-03 11:38:41.214 29023 29023 E AndroidRuntime: Caused by: net.bible.service.sword.JSwordError: Ein Fehler ist aufgetreten!
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at net.bible.service.sword.SwordContentFacade.readXmlTextStandardJSwordMethod(SwordContentFacade.kt:378)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at net.bible.service.sword.SwordContentFacade.readOsisFragment(SwordContentFacade.kt:172)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at net.bible.android.view.activity.navigation.ChooseDictionaryWord$KeyInfo.toString(ChooseDictionaryWord.kt:121)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:454)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.widget.ArrayAdapter.getView(ArrayAdapter.java:416)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.widget.AbsListView.obtainView(AbsListView.java:2458)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.widget.ListView.makeAndAddView(ListView.java:2067)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.widget.ListView.fillDown(ListView.java:793)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.widget.ListView.fillFromTop(ListView.java:855)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.widget.ListView.layoutChildren(ListView.java:1810)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.widget.AbsListView.onLayout(AbsListView.java:2255)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at androidx.constraintlayout.widget.ConstraintLayout.onLayout(ConstraintLayout.java:1873)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at androidx.appcompat.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:536)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1891)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1729)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.widget.LinearLayout.onLayout(LinearLayout.java:1638)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at com.android.internal.policy.DecorView.onLayout(DecorView.java:799)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:4118)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3459)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2371)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9297)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1231)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1239)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.Choreographer.doCallbacks(Choreographer.java:899)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.Choreographer.doFrame(Choreographer.java:832)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1214)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.os.Handler.handleCallback(Handler.java:942)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:99)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.os.Looper.loopOnce(Looper.java:201)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:288)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:7918)
01-03 11:38:41.214 29023 29023 E AndroidRuntime:    ... 3 more
01-03 11:38:58.698 31564 31564 E AndroidRuntime: FATAL EXCEPTION: main
01-03 11:38:58.698 31564 31564 E AndroidRuntime: Process: net.bible.android.activity, PID: 31564
01-03 11:38:58.698 31564 31564 E AndroidRuntime: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:558)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
01-03 11:38:58.698 31564 31564 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    ... 1 more
01-03 11:38:58.698 31564 31564 E AndroidRuntime: Caused by: net.bible.service.sword.JSwordError: Ein Fehler ist aufgetreten!
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at net.bible.service.sword.SwordContentFacade.readXmlTextStandardJSwordMethod(SwordContentFacade.kt:378)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at net.bible.service.sword.SwordContentFacade.readOsisFragment(SwordContentFacade.kt:172)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at net.bible.android.view.activity.navigation.ChooseDictionaryWord$KeyInfo.toString(ChooseDictionaryWord.kt:121)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:454)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.widget.ArrayAdapter.getView(ArrayAdapter.java:416)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.widget.AbsListView.obtainView(AbsListView.java:2458)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.widget.ListView.makeAndAddView(ListView.java:2067)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.widget.ListView.fillDown(ListView.java:793)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.widget.ListView.fillFromTop(ListView.java:855)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.widget.ListView.layoutChildren(ListView.java:1810)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.widget.AbsListView.onLayout(AbsListView.java:2255)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at androidx.constraintlayout.widget.ConstraintLayout.onLayout(ConstraintLayout.java:1873)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at androidx.appcompat.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:536)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1891)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1729)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.widget.LinearLayout.onLayout(LinearLayout.java:1638)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at com.android.internal.policy.DecorView.onLayout(DecorView.java:799)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:4118)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3459)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2371)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9297)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1231)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1239)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.Choreographer.doCallbacks(Choreographer.java:899)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.Choreographer.doFrame(Choreographer.java:832)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1214)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.os.Handler.handleCallback(Handler.java:942)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:99)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.os.Looper.loopOnce(Looper.java:201)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:288)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:7918)
01-03 11:38:58.698 31564 31564 E AndroidRuntime:    ... 3 more
01-03 11:39:19.507 31868 31868 E AndroidRuntime: FATAL EXCEPTION: main
01-03 11:39:19.507 31868 31868 E AndroidRuntime: Process: net.bible.android.activity, PID: 31868
01-03 11:39:19.507 31868 31868 E AndroidRuntime: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:558)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
01-03 11:39:19.507 31868 31868 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    ... 1 more
01-03 11:39:19.507 31868 31868 E AndroidRuntime: Caused by: net.bible.service.sword.JSwordError: Ein Fehler ist aufgetreten!
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at net.bible.service.sword.SwordContentFacade.readXmlTextStandardJSwordMethod(SwordContentFacade.kt:378)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at net.bible.service.sword.SwordContentFacade.readOsisFragment(SwordContentFacade.kt:172)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at net.bible.android.view.activity.navigation.ChooseDictionaryWord$KeyInfo.toString(ChooseDictionaryWord.kt:121)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:454)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.widget.ArrayAdapter.getView(ArrayAdapter.java:416)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.widget.AbsListView.obtainView(AbsListView.java:2458)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.widget.ListView.makeAndAddView(ListView.java:2067)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.widget.ListView.fillDown(ListView.java:793)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.widget.ListView.fillFromTop(ListView.java:855)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.widget.ListView.layoutChildren(ListView.java:1810)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.widget.AbsListView.onLayout(AbsListView.java:2255)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at androidx.constraintlayout.widget.ConstraintLayout.onLayout(ConstraintLayout.java:1873)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at androidx.appcompat.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:536)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1891)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1729)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.widget.LinearLayout.onLayout(LinearLayout.java:1638)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at com.android.internal.policy.DecorView.onLayout(DecorView.java:799)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:4118)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3459)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2371)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9297)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1231)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1239)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.Choreographer.doCallbacks(Choreographer.java:899)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.Choreographer.doFrame(Choreographer.java:832)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1214)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.os.Handler.handleCallback(Handler.java:942)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:99)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.os.Looper.loopOnce(Looper.java:201)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:288)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:7918)
01-03 11:39:19.507 31868 31868 E AndroidRuntime:    ... 3 more
01-03 11:39:38.404 32177 32177 E AndroidRuntime: FATAL EXCEPTION: main
01-03 11:39:38.404 32177 32177 E AndroidRuntime: Process: net.bible.android.activity, PID: 32177
01-03 11:39:38.404 32177 32177 E AndroidRuntime: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:558)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
01-03 11:39:38.404 32177 32177 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    ... 1 more
01-03 11:39:38.404 32177 32177 E AndroidRuntime: Caused by: net.bible.service.sword.DocumentNotFound: 00116 wurde nicht in Dokumen HuAWAT gefunden.
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at net.bible.service.sword.SwordContentFacade.readOsisFragment(SwordContentFacade.kt:165)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at net.bible.android.view.activity.navigation.ChooseDictionaryWord$KeyInfo.toString(ChooseDictionaryWord.kt:121)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:454)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.widget.ArrayAdapter.getView(ArrayAdapter.java:416)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.widget.AbsListView.obtainView(AbsListView.java:2458)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.widget.ListView.makeAndAddView(ListView.java:2067)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.widget.ListView.fillDown(ListView.java:793)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.widget.ListView.fillFromTop(ListView.java:855)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.widget.ListView.layoutChildren(ListView.java:1810)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.widget.AbsListView.onLayout(AbsListView.java:2255)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at androidx.constraintlayout.widget.ConstraintLayout.onLayout(ConstraintLayout.java:1873)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at androidx.appcompat.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:536)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1891)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1729)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.widget.LinearLayout.onLayout(LinearLayout.java:1638)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at com.android.internal.policy.DecorView.onLayout(DecorView.java:799)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.View.layout(View.java:23798)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.ViewGroup.layout(ViewGroup.java:6413)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:4118)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3459)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2371)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9297)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1231)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1239)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.Choreographer.doCallbacks(Choreographer.java:899)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.Choreographer.doFrame(Choreographer.java:832)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1214)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.os.Handler.handleCallback(Handler.java:942)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:99)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.os.Looper.loopOnce(Looper.java:201)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:288)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:7918)
01-03 11:39:38.404 32177 32177 E AndroidRuntime:    ... 3 more
tuomas2 commented 9 months ago

Can you provide such a module for me to test? Can send it via email too (help.andbible@gmail.com)

jd-s commented 7 months ago

File was sent, thank you.

tuomas2 commented 7 months ago

File provided here: https://support.andbible.org/scp/tickets.php?id=2475

tuomas2 commented 5 months ago

@jd-s did you get a real crash too?

In point (4) of your reproduction instructions I get this:

image

image

and if I scroll down, some of the entries kind of work:

image image

tuomas2 commented 5 months ago

Looks JSword side issue (or possibly module issue). Have you got this issue with any module that is downloadable via public repositories in AndBible?