This repository was archived by the owner on Mar 15, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 36
This repository was archived by the owner on Mar 15, 2025. It is now read-only.
Crash when checking login data #444
Copy link
Copy link
Open
Labels
BugSomething isn't workingSomething isn't workingUnverifiedIssue not yet confirmed/reproduced or feature requests not yet checked for plausibilityIssue not yet confirmed/reproduced or feature requests not yet checked for plausibility
Description
Describe your problem!
When clicking the check login data after inputting the username and password, the app crashes with the error below. It is saved and the credentials work when loading a cartridge however
07-23 20:39:53.772 16609 16676 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
07-23 20:39:53.772 16609 16676 E AndroidRuntime: Process: menion.android.whereyougo, PID: 16609
07-23 20:39:53.772 16609 16676 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()
07-23 20:39:53.772 16609 16676 E AndroidRuntime: at android.os.AsyncTask$4.done(AsyncTask.java:415)
07-23 20:39:53.772 16609 16676 E AndroidRuntime: at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:381)
07-23 20:39:53.772 16609 16676 E AndroidRuntime: at java.util.concurrent.FutureTask.setException(FutureTask.java:250)
07-23 20:39:53.772 16609 16676 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:269)
07-23 20:39:53.772 16609 16676 E AndroidRuntime: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
07-23 20:39:53.772 16609 16676 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
07-23 20:39:53.772 16609 16676 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
07-23 20:39:53.772 16609 16676 E AndroidRuntime: at java.lang.Thread.run(Thread.java:1012)
07-23 20:39:53.772 16609 16676 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Unable to extract the trust manager on Android10Platform, sslSocketFactory is class menion.android.whereyougo.network.TLSSocketFactory
07-23 20:39:53.772 16609 16676 E AndroidRuntime: at okhttp3.OkHttpClient$Builder.sslSocketFactory(OkHttpClient.kt:751)
07-23 20:39:53.772 16609 16676 E AndroidRuntime: at menion.android.whereyougo.network.LoginTask.init(LoginTask.java:120)
07-23 20:39:53.772 16609 16676 E AndroidRuntime: at menion.android.whereyougo.network.LoginTask.doInBackground(LoginTask.java:62)
07-23 20:39:53.772 16609 16676 E AndroidRuntime: at menion.android.whereyougo.network.LoginTask.doInBackground(LoginTask.java:25)
07-23 20:39:53.772 16609 16676 E AndroidRuntime: at android.os.AsyncTask$3.call(AsyncTask.java:394)
07-23 20:39:53.772 16609 16676 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:264)
07-23 20:39:53.772 16609 16676 E AndroidRuntime: ... 4 more
How to reproduce?
- Click on settings > login credentials
- Input the login credentials
- Click on check login data
Actual result after these steps?
The app crashes, even though the credentials are correctly saved and work afterwards
Expected result after these steps?
The app doesn't crash
Reproducible
Yes
WhereYouGo Version
2023.02.22
System information
Android 12, Samsung A33
Additional Information
No response
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't workingUnverifiedIssue not yet confirmed/reproduced or feature requests not yet checked for plausibilityIssue not yet confirmed/reproduced or feature requests not yet checked for plausibility