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 fails to start (TTS issue) #3350

Open
tuomas2 opened this issue Dec 23, 2024 · 0 comments
Open

App fails to start (TTS issue) #3350

tuomas2 opened this issue Dec 23, 2024 · 0 comments

Comments

@tuomas2
Copy link
Contributor

tuomas2 commented Dec 23, 2024

This most likely has to do with the TTS. The application ran fine for weeks, but began using the TTS this week. It failed to start when I pressed play from the phone's media controls in the status bar, rather than opening the app. This worked previously to start the TTS where I had left off, but this time I waited more than a day before attempting to play. Since then, the application has failed to start repeatedly.

The order of events was:

  1. Start TTS
  2. Leave app
  3. Pause TTS from phone media controls
  4. Wait 1 day
  5. Press play from persistent media notification in phone media controls

Device info:
App id: net.bible.android.activity
Version: 5.0.832#17fb15090 fdroid standard release (built 23/09/24 13:46:23)
Android version: 12
Android SDK version: 31
Manufacturer: samsung
Model: SM-G973U
Storage Mb free: 9005
WebView version: 131.0.6778.135
SQLITE version: 3.42.0
Used heap memory in Mb: 5
Max heap memory in Mb: 256

Exception:
java.lang.RuntimeException: Unable to start activity ComponentInfo{net.bible.android.activity/net.bible.android.view.activity.page.MainBibleActivity}: org.crosswire.jsword.passage.NoSuchVerseException: Verse should be between 0 and 29 for Psalms 118 (given 134).
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4035)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4201)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2438)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:226)
	at android.os.Looper.loop(Looper.java:313)
	at android.app.ActivityThread.main(ActivityThread.java:8663)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:567)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
Caused by: org.crosswire.jsword.passage.NoSuchVerseException: Verse should be between 0 and 29 for Psalms 118 (given 134).
	at org.crosswire.jsword.versification.Versification.validate(Versification.java:1104)
	at org.crosswire.jsword.versification.Versification.validate(Versification.java:1037)
	at org.crosswire.jsword.passage.VerseRangeFactory.fromText(VerseRangeFactory.java:119)
	at org.crosswire.jsword.passage.VerseRangeFactory.fromString(VerseRangeFactory.java:87)
	at org.crosswire.jsword.passage.VerseRangeFactory.fromString(VerseRangeFactory.java:55)
	at org.crosswire.jsword.passage.AbstractPassage.addVerses(AbstractPassage.java:938)
	at org.crosswire.jsword.passage.RangedPassage.<init>(RangedPassage.java:93)
	at org.crosswire.jsword.passage.PassageType$4.createPassage(PassageType.java:99)
	at org.crosswire.jsword.passage.PassageKeyFactory.getKey(PassageKeyFactory.java:168)
	at org.crosswire.jsword.passage.PassageKeyFactory.getKey(PassageKeyFactory.java:187)
	at org.crosswire.jsword.book.basic.AbstractPassageBook.getKey(AbstractPassageBook.java:220)
	at net.bible.service.device.speak.BibleSpeakTextProvider.osisIdToVerse(BibleSpeakTextProvider.kt:531)
	at net.bible.service.device.speak.BibleSpeakTextProvider.restoreState(BibleSpeakTextProvider.kt:522)
	at net.bible.service.device.speak.TextToSpeechServiceManager.restorePauseState(TextToSpeechServiceManager.kt:674)
	at net.bible.service.device.speak.TextToSpeechServiceManager.<init>(TextToSpeechServiceManager.kt:135)
	at net.bible.service.device.speak.TextToSpeechServiceManager_Factory.newInstance(TextToSpeechServiceManager_Factory.java:62)
	at net.bible.service.device.speak.TextToSpeechServiceManager_Factory.get(TextToSpeechServiceManager_Factory.java:49)
	at net.bible.service.device.speak.TextToSpeechServiceManager_Factory.get(TextToSpeechServiceManager_Factory.java:14)
	at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
	at dagger.internal.Providers$1.get(Providers.java:29)
	at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
	at net.bible.android.control.speak.SpeakControl.getTtsServiceManager(SpeakControl.kt:83)
	at net.bible.android.control.speak.SpeakControl.isSpeaking(SpeakControl.kt:109)
	at net.bible.android.control.speak.SpeakControl.isStopped(SpeakControl.kt:115)
	at net.bible.android.view.activity.page.MainBibleActivity.resolveVariables(MainBibleActivity.kt:396)
	at net.bible.android.view.activity.page.MainBibleActivity.onCreate(MainBibleActivity.kt:278)
	at android.app.Activity.performCreate(Activity.java:8290)
	at android.app.Activity.performCreate(Activity.java:8270)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4009)
	... 12 more</init></init>

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

No branches or pull requests

1 participant