Hello. I installed Graphene about a month ago on the P7P. To make a long story short, I am able to install my banking app and can successfully login. However, when I go to use the "deposit cheque" feature, where it needs to access the camera, the app crashes. I've searched here on the forum quite a bit and not found much that changed the problem. I also tried the recommendations list here, without any success.

Here is the crash log:

type: crash
osVersion: google/cheetah/cheetah:14/UQ1A.231205.015/2023121200:user/release-keys
package: com.digitalinsight.cma.fiid01703:2023030030
process: .camera
processUptime: 193 + 197 ms
installer: com.android.vending

java.lang.NullPointerException: Attempt to invoke virtual method 'int android.speech.tts.TextToSpeech.setLanguage(java.util.Locale)' on a null object reference
	at com.banking.bankinglibrary.activities.fragment.MiSnapWorkflowFragment$k$a.onInit(Unknown Source:8)
	at android.speech.tts.TextToSpeech.lambda$dispatchOnInit$0(TextToSpeech.java:934)
	at android.speech.tts.TextToSpeech.$r8$lambda$goj8UKjdOAM21kdYLRXRNDpSxxI(Unknown Source:0)
	at android.speech.tts.TextToSpeech$$ExternalSyntheticLambda1.run(Unknown Source:4)
	at android.speech.tts.TextToSpeech.dispatchOnInit(TextToSpeech.java:943)
	at android.speech.tts.TextToSpeech.initTts(TextToSpeech.java:907)
	at android.speech.tts.TextToSpeech.<init>(TextToSpeech.java:800)
	at android.speech.tts.TextToSpeech.<init>(TextToSpeech.java:773)
	at android.speech.tts.TextToSpeech.<init>(TextToSpeech.java:762)
	at android.speech.tts.TextToSpeech.<init>(TextToSpeech.java:746)
	at com.banking.bankinglibrary.activities.fragment.MiSnapWorkflowFragment$k.<init>(Unknown Source:26)
	at com.banking.bankinglibrary.activities.fragment.MiSnapWorkflowFragment.onActivityCreated(Unknown Source:102)
	at androidx.fragment.app.Fragment.performActivityCreated(Unknown Source:11)
	at androidx.fragment.app.g0.j(Unknown Source:148)
	at androidx.fragment.app.FragmentManager.P(Unknown Source:57)
	at androidx.fragment.app.FragmentManager.t(Unknown Source:33)
	at androidx.fragment.app.FragmentActivity.onStart(Unknown Source:33)
	at androidx.appcompat.app.AppCompatActivity.onStart(Unknown Source:0)
	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1587)
	at android.app.Activity.performStart(Activity.java:8710)
	at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3838)
	at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:225)
	at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:205)
	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:177)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:98)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2455)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:205)
	at android.os.Looper.loop(Looper.java:294)
	at android.app.ActivityThread.main(ActivityThread.java:8216)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
	at com.android.internal.os.ExecInit.main(ExecInit.java:49)
	at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
	at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:359)

I really need this for my business. Any suggestions or ideas are appreciated.

I cannot figure out how to edit my post.

I forgot to note, I do have sandboxed G-Play services, G-Play store, and G services framework installed.

Based on this "java.lang.NullPointerException: Attempt to invoke virtual method 'int android.speech.tts.TextToSpeech.setLanguage(java.util.Locale)'" from the log you have shared, looks like the app is looking for a Text to Speech engine -- not sure why. If you are open to the idea of using the one from Google you may want to install this from the Google Play Store, reboot the phone and try again.

Also, maybe someone else can also point us to an open source text-to-speech engine and see if that could work as a substitute.

Thanks @arorar for the quick reply. I did notice that as well in the log and I did try installing the same app you refer to at the Play store. Whilst I did install it, I didn't reboot the phone after doing so.

I've attempted it once again, this time with a reboot, without any luck.

    existentialist Hmm. I see.

    1. Crashing at the very same spot I assume?
    2. Also in Settings -> System -> Languages -> Text-to-speech output -> Preferred engine you see "Speech Recognition and Synthesis from Google" as the default?

    To your second point, yes, it is set as preferred engine. And yes, it crashes at the same spot.

    Interestingly, when attempting to do so again today, the camera app is now no longer even visible within the bank app.

    However, I just discovered what may be a potential issue; although, I don't know enough about Android programming to be certain. I believe the current sdk for Android14 is 34 and the SDK for the app is 33. Is this something that could be causing the issue?

      existentialist

      I believe the current sdk for Android14 is 34 and the SDK for the app is 33. Is this something that could be causing the issue?

      Should not be an issue.