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 crashes when going to app settings #49

Closed
RoadXY opened this issue Aug 31, 2020 · 0 comments
Closed

App crashes when going to app settings #49

RoadXY opened this issue Aug 31, 2020 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@RoadXY
Copy link
Contributor

RoadXY commented Aug 31, 2020

Describe the bug
A clear and concise description of what the bug is.

Smartphone (please complete the following information):

  • Device: Samsung Galaxy A80
  • Android Version: 10

Additional context or information
java.lang.NullPointerException: at com.toonapps.toon.helper.AppSettings.getProtocol (AppSettings.java:91) at com.toonapps.toon.helper.AppSettings.getUrl (AppSettings.java:155) at com.toonapps.toon.data.RestClient.getDataFromSharedPreferences (RestClient.java:54) at com.toonapps.toon.data.RestClient.<init> (RestClient.java:48) at com.toonapps.toon.view.fragments.settings.TroubleshootingFragment.onCreateView (TroubleshootingFragment.java:71) at androidx.fragment.app.Fragment.performCreateView (Fragment.java:2698) at androidx.fragment.app.FragmentStateManager.createView (FragmentStateManager.java:320) at androidx.fragment.app.FragmentManager.moveToState (FragmentManager.java:1187) at androidx.fragment.app.FragmentManager.moveToState (FragmentManager.java:1356) at androidx.fragment.app.FragmentManager.moveFragmentToExpectedState (FragmentManager.java:1434) at androidx.fragment.app.FragmentManager.moveToState (FragmentManager.java:1497) at androidx.fragment.app.FragmentManager.dispatchStateChange (FragmentManager.java:2625) at androidx.fragment.app.FragmentManager.dispatchActivityCreated (FragmentManager.java:2577) at androidx.fragment.app.FragmentController.dispatchActivityCreated (FragmentController.java:247) at androidx.fragment.app.FragmentActivity.onStart (FragmentActivity.java:541) at androidx.appcompat.app.AppCompatActivity.onStart (AppCompatActivity.java:201) at android.app.Instrumentation.callActivityOnStart (Instrumentation.java:1433) at android.app.Activity.performStart (Activity.java:7978) at android.app.ActivityThread.handleStartActivity (ActivityThread.java:3512) at android.app.servertransaction.TransactionExecutor.performLifecycleSequence (TransactionExecutor.java:221) at android.app.servertransaction.TransactionExecutor.cycleToPath (TransactionExecutor.java:201) at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:173) at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2175) at android.os.Handler.dispatchMessage (Handler.java:107) at android.os.Looper.loop (Looper.java:237) at android.app.ActivityThread.main (ActivityThread.java:7860) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1068)

@RoadXY RoadXY added the bug Something isn't working label Aug 31, 2020
@RoadXY RoadXY added this to the 0.7.2 milestone Aug 31, 2020
@RoadXY RoadXY self-assigned this Aug 31, 2020
RoadXY pushed a commit that referenced this issue Jan 5, 2021
- Update dependencies
- Add coordinator layout for future use of Snackbar
- Add helper class for ui and add snackbar methods to it
- Add in app update
- Convert methods to lambda's expressions
- Add new play store screenshots
- Resolve lint issues
- Add check for issue #49
- Add Firebase Cloud messaging & notifications
- Update dependencies
RoadXY pushed a commit that referenced this issue Jan 26, 2021
- Update dependencies
- Add coordinator layout for future use of Snackbar
- Add helper class for ui and add snackbar methods to it
- Add in app update
- Convert methods to lambda's expressions
- Add new play store screenshots
- Resolve lint issues
- Add check for issue #49
- Add Firebase Cloud messaging & notifications
- Update dependencies
- Init app settings with context (solves #49)
@RoadXY RoadXY changed the title App crashes on getting protocol from shared preferences App crashes when going to app settings Jan 26, 2021
RoadXY pushed a commit that referenced this issue Jun 25, 2021
- Update dependencies
- Add coordinator layout for future use of Snackbar
- Add helper class for ui and add snackbar methods to it
- Add in app update
- Convert methods to lambda's expressions
- Add new play store screenshots
- Resolve lint issues
- Add check for issue #49
- Add Firebase Cloud messaging & notifications
- Update dependencies
- Init app settings with context (solves #49)
- Target SDK to 30
- Build tools to 30.0.3
RoadXY pushed a commit that referenced this issue Aug 16, 2021
- Update dependencies
- Add coordinator layout for future use of Snackbar
- Add helper class for ui and add snackbar methods to it
- Add in app update
- Convert methods to lambda's expressions
- Add new play store screenshots
- Resolve lint issues
- Add check for issue #49
- Add Firebase Cloud messaging & notifications
- Update dependencies
- Init app settings with context (solves #49)
- Target SDK to 30
- Build tools to 30.0.3
RoadXY pushed a commit that referenced this issue Aug 16, 2021
- Update dependencies
- Add coordinator layout for future use of Snackbar
- Add helper class for ui and add snackbar methods to it
- Add in app update
- Convert methods to lambda's expressions
- Add new play store screenshots
- Resolve lint issues
- Add check for issue #49
- Add Firebase Cloud messaging & notifications
- Update dependencies
- Init app settings with context (solves #49)
- Target SDK to 30
- Build tools to 30.0.3
- Add try/catch for LoginFragment. Possible solution for #49
@RoadXY RoadXY closed this as completed Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant