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

Opening malformatted link causes crash #3294

Open
tuomas2 opened this issue Jul 19, 2024 · 0 comments
Open

Opening malformatted link causes crash #3294

tuomas2 opened this issue Jul 19, 2024 · 0 comments

Comments

@tuomas2
Copy link
Contributor

tuomas2 commented Jul 19, 2024

https://read.andbible.org/%D0%A1%D0%B8%D1%80.%2021:17-17?document=NETfree

https://support.andbible.org/scp/tickets.php?id=2636

Інформація про пристрій:
App id: [net.bible.android](https://net.bible.android/).activity
Version: 5.0.809#4ea6430b1 fdroid standard release (built 10/06/24 20:43:56)
Android version: 12
Android SDK version: 31
Manufacturer: Xiaomi
Model: M2004J19C
Storage Mb free: 4152
WebView version: 126.0.6478.71
SQLITE version: 3.42.0
Used heap memory in Mb: 16
Max heap memory in Mb: 256

Exception:
java.lang.RuntimeException: Unable to start activity ComponentInfo{[net.bible.android](https://net.bible.android/).activity/[net.bible.android.view.activity.page](https://net.bible.android.view.activity.page/).MainBibleActivity}: org.crosswire.jsword.passage.NoSuchVerseException: Too many parts to the Verse. (Parts are separated by any of bible/John.3.16, bible John, 3, 16)
at [android.app](https://android.app/).ActivityThread.performLaunchActivity([ActivityThread.java:3780](denied:ActivityThread.java:3780))
at [android.app](https://android.app/).ActivityThread.handleLaunchActivity([ActivityThread.java:3947](denied:ActivityThread.java:3947))
at [android.app](https://android.app/).servertransaction.LaunchActivityItem.execute([LaunchActivityItem.java:106](denied:LaunchActivityItem.java:106))
at [android.app](https://android.app/).servertransaction.TransactionExecutor.executeCallbacks([TransactionExecutor.java:135](denied:TransactionExecutor.java:135))
at [android.app](https://android.app/).servertransaction.TransactionExecutor.execute([TransactionExecutor.java:95](denied:TransactionExecutor.java:95))
at [android.app](https://android.app/).ActivityThread$H.handleMessage([ActivityThread.java:2325](denied:ActivityThread.java:2325))
at android.os.Handler.dispatchMessage([Handler.java:106](denied:Handler.java:106))
at android.os.Looper.loopOnce([Looper.java:210](denied:Looper.java:210))
at android.os.Looper.loop([Looper.java:299](denied:Looper.java:299))
at [android.app](https://android.app/).ActivityThread.main([ActivityThread.java:8280](denied:ActivityThread.java:8280))
at java.lang.reflect.Method.invoke(Native Method)
at [com.android](https://com.android/).internal.os.RuntimeInit$[MethodAndArgsCaller.run](https://methodandargscaller.run/)([RuntimeInit.java:576](denied:RuntimeInit.java:576))
at [com.android](https://com.android/).internal.os.ZygoteInit.main([ZygoteInit.java:1073](denied:ZygoteInit.java:1073))
Caused by: org.crosswire.jsword.passage.NoSuchVerseException: Too many parts to the Verse. (Parts are separated by any of bible/John.3.16, bible John, 3, 16)
at org.crosswire.jsword.passage.AccuracyType.buildVersePartsException([AccuracyType.java:493](denied:AccuracyType.java:493))
at org.crosswire.jsword.passage.AccuracyType.fromText([AccuracyType.java:480](denied:AccuracyType.java:480))
at org.crosswire.jsword.passage.AccuracyType.fromText([AccuracyType.java:398](denied:AccuracyType.java:398))
at org.crosswire.jsword.passage.VerseRangeFactory.fromText([VerseRangeFactory.java:117](denied:VerseRangeFactory.java:117))
at org.crosswire.jsword.passage.VerseRangeFactory.fromString([VerseRangeFactory.java:87](denied:VerseRangeFactory.java:87))
at org.crosswire.jsword.passage.VerseRangeFactory.fromString([VerseRangeFactory.java:55](denied:VerseRangeFactory.java:55))
at org.crosswire.jsword.passage.AbstractPassage.addVerses([AbstractPassage.java:938](denied:AbstractPassage.java:938))
at org.crosswire.jsword.passage.RangedPassage. ([RangedPassage.java:93](denied:RangedPassage.java:93))
at org.crosswire.jsword.passage.PassageType$4.createPassage([PassageType.java:99](denied:PassageType.java:99))
at org.crosswire.jsword.passage.PassageKeyFactory.getKey([PassageKeyFactory.java:168](denied:PassageKeyFactory.java:168))
at org.crosswire.jsword.passage.PassageKeyFactory.getKey([PassageKeyFactory.java:187](denied:PassageKeyFactory.java:187))
at [net.bible](https://net.bible/).service.common.CommonUtils.parseAndBibleReference(CommonUtils.kt:1663)
at [net.bible.android.view.activity.page](https://net.bible.android.view.activity.page/).MainBibleActivity.openLink(MainBibleActivity.kt:1110)
at [net.bible.android.view.activity.page](https://net.bible.android.view.activity.page/).MainBibleActivity.onCreate(MainBibleActivity.kt:317)
at [android.app](https://android.app/).Activity.performCreate([Activity.java:8163](denied:Activity.java:8163))
at [android.app](https://android.app/).Activity.performCreate([Activity.java:8130](denied:Activity.java:8130))
at [android.app](https://android.app/).Instrumentation.callActivityOnCreate([Instrumentation.java:1329](denied:Instrumentation.java:1329))
at [android.app](https://android.app/).ActivityThread.performLaunchActivity([ActivityThread.java:3753](denied:ActivityThread.java:3753))
... 12 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Prio 1
Development

No branches or pull requests

1 participant