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 informationjava.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)
Describe the bug A clear and concise description of what the bug is.
Smartphone (please complete the following information):
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)