The application crashes when i click on refresh from the server option
Words
214
Reading
1 min
Listen
Play
7y
Related Information:
https://github.com/securityfirst/Umbrella_android
Project Name:Umbrella_android
The submitted issue is here:https://github.com/securityfirst/Umbrella_android/issues/224
Expected behavior:
I expected that the application should not be crash when i click on Refresh from the server option.
Actual behavior:
After configure the application when i click on Refresh server option,the application is you can see in bug vieo proprealy.
How to reproduce:
1.Download the app from playstore and open the app.
2.Then click on team conditions accept.
3.naw click on account man icon and setting option.
4.Then click on refresh from the server
5.Note the Bug.
information
My GitHub Account: https://github.com/44asad
Logcat
05-01 20:12:42.147 25932 25932 E AndroidRuntime: FATAL EXCEPTION: main
05-01 20:12:42.147 25932 25932 E AndroidRuntime: Process: org.secfirst.umbrella, PID: 25932
05-01 20:12:42.147 25932 25932 E AndroidRuntime: org.eclipse.jgit.api.errors.RefNotFoundException: Ref master can not be resolved
05-01 20:12:42.147 25932 25932 E AndroidRuntime: at org.eclipse.jgit.api.CheckoutCommand.call(CheckoutCommand.java:242)
05-01 20:12:42.147 25932 25932 E AndroidRuntime: at org.secfirst.umbrella.data.disk.TentDao$rebaseBranch$2.invokeSuspend(TentDao.kt:49)
05-01 20:12:42.147 25932 25932 E AndroidRuntime: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32)
05-01 20:12:42.147 25932 25932 E AndroidRuntime: at kotlinx.coroutines.DispatchedTask$DefaultImpls.run(Dispatched.kt:235)
05-01 20:12:42.147 25932 25932 E AndroidRuntime: at kotlinx.coroutines.DispatchedContinuation.run(Dispatched.kt:81)
05-01 20:12:42.147 25932 25932 E AndroidRuntime: at kotlinx.coroutines.scheduling.Task.run(Tasks.kt:94)
05-01 20:12:42.147 25932 25932 E AndroidRuntime: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
05-01 20:12:42.147 25932 25932 E AndroidRuntime: at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60)
05-01 20:12:42.147 25932 25932 E AndroidRuntime: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:732)