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

The application crashes when i click on Restore From Backup #93

Closed
44asad opened this issue Jun 27, 2019 · 2 comments
Closed

The application crashes when i click on Restore From Backup #93

44asad opened this issue Jun 27, 2019 · 2 comments
Assignees
Labels
Milestone

Comments

@44asad
Copy link

44asad commented Jun 27, 2019

Expected behavior:

I expected that the application should not be crash when i click on Restore from Backup Option.

Actual behavior:

After configure the application when i click on Restore from backup 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 account manu icon and setting option.
3.click on restore backup Naw
4.Then try to again
6.Note the Bug.

information

App version:v2.5.1
os:Android 6.0.1
Device:samsung J5

Recording of the bug

https://youtu.be/vXEDy1DttLE

Logcat:

06-26 23:08:17.986 11900 11900 E AndroidRuntime: FATAL EXCEPTION: main
06-26 23:08:17.986 11900 11900 E AndroidRuntime: Process: me.anon.grow, PID: 11900
06-26 23:08:17.986 11900 11900 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at android.text.format.DateFormat.getTimeFormatString(DateFormat.java:278)
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at android.text.format.DateFormat.getTimeFormatString(DateFormat.java:267)
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at android.text.format.DateFormat.getTimeFormat(DateFormat.java:257)
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at me.anon.grow.fragment.SettingsFragment$1BackupData.toString(SettingsFragment.java:636)
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at java.lang.StringBuilder.append(StringBuilder.java:202)
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at me.anon.grow.fragment.SettingsFragment$13.onClick(SettingsFragment.java:793)
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:1229)
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at android.widget.AdapterView.performItemClick(AdapterView.java:346)
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at android.widget.AbsListView.performItemClick(AbsListView.java:1547)
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at android.widget.AbsListView$PerformClick.run(AbsListView.java:3826)
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at android.widget.AbsListView$3.run(AbsListView.java:5848)
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at android.os.Handler.handleCallback(Handler.java:739)
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at android.os.Handler.dispatchMessage(Handler.java:95)
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at android.os.Looper.loop(Looper.java:158)
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at android.app.ActivityThread.main(ActivityThread.java:7231)
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at java.lang.reflect.Method.invoke(Native Method)
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
06-26 23:08:17.986 11900 11900 E AndroidRuntime:   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
@44asad
Copy link
Author

44asad commented Jun 29, 2019

@7LPdWcaW

@44asad
Copy link
Author

44asad commented Jun 30, 2019

@7LPdWcaW
check its

@7LPdWcaW 7LPdWcaW self-assigned this Jul 1, 2019
@7LPdWcaW 7LPdWcaW added the bug label Jul 1, 2019
@7LPdWcaW 7LPdWcaW added this to the v2.6 milestone Jul 1, 2019
7LPdWcaW added a commit that referenced this issue Aug 8, 2019
Merge branch 'fix/restore-crash' into develop

* fix/restore-crash:
  Adds activity null check for restore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants