java.lang.IllegalArgumentException: credentials are not valid

GitHub | rsudev | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    credentials are not valid

    at cgeo.geocaching.settings.Credentials.guard()
  2. cgeo.geocaching.settings
    CredentialsPreference.onCreateView
    1. cgeo.geocaching.settings.Credentials.guard(Credentials.java:93)
    2. cgeo.geocaching.settings.Credentials.getUserName(Credentials.java:54)
    3. cgeo.geocaching.settings.SettingsActivity.setConnectedUsernameTitle(SettingsActivity.java:609)
    4. cgeo.geocaching.settings.SettingsActivity.setAuthTitle(SettingsActivity.java:539)
    5. cgeo.geocaching.settings.CredentialsPreference.getOnPreferenceClickListener(CredentialsPreference.java:87)
    6. cgeo.geocaching.settings.AbstractClickablePreference.onCreateView(AbstractClickablePreference.java:32)
    7. cgeo.geocaching.settings.CredentialsPreference.onCreateView(CredentialsPreference.java:105)
    7 frames
  3. Android Platform
    ViewGroup.layout
    1. android.preference.Preference.getView(Preference.java:564)
    2. android.preference.PreferenceGroupAdapter.getView(PreferenceGroupAdapter.java:296)
    3. android.widget.AbsListView.obtainView(AbsListView.java:2828)
    4. android.widget.ListView.makeAndAddView(ListView.java:1932)
    5. android.widget.ListView.fillDown(ListView.java:715)
    6. android.widget.ListView.fillFromTop(ListView.java:781)
    7. android.widget.ListView.layoutChildren(ListView.java:1723)
    8. android.widget.AbsListView.onLayout(AbsListView.java:2626)
    9. android.view.View.layout(View.java:16992)
    10. android.view.ViewGroup.layout(ViewGroup.java:5409)
    11. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1702)
    12. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1556)
    13. android.widget.LinearLayout.onLayout(LinearLayout.java:1465)
    14. android.view.View.layout(View.java:16992)
    15. android.view.ViewGroup.layout(ViewGroup.java:5409)
    16. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1702)
    17. android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1691)
    18. android.widget.LinearLayout.onLayout(LinearLayout.java:1467)
    19. android.view.View.layout(View.java:16992)
    20. android.view.ViewGroup.layout(ViewGroup.java:5409)
    21. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1702)
    22. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1556)
    23. android.widget.LinearLayout.onLayout(LinearLayout.java:1465)
    24. android.view.View.layout(View.java:16992)
    25. android.view.ViewGroup.layout(ViewGroup.java:5409)
    26. android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
    27. android.widget.FrameLayout.onLayout(FrameLayout.java:514)
    28. android.view.View.layout(View.java:16992)
    29. android.view.ViewGroup.layout(ViewGroup.java:5409)
    29 frames
  4. Android
    ActionBarOverlayLayout.onLayout
    1. com.android.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:494)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.view.View.layout(View.java:16992)
    2. android.view.ViewGroup.layout(ViewGroup.java:5409)
    3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
    4. android.widget.FrameLayout.onLayout(FrameLayout.java:514)
    5. android.view.View.layout(View.java:16992)
    6. android.view.ViewGroup.layout(ViewGroup.java:5409)
    7. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2483)
    8. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2185)
    9. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1314)
    10. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7062)
    11. android.view.Choreographer$CallbackRecord.run(Choreographer.java:829)
    12. android.view.Choreographer.doCallbacks(Choreographer.java:606)
    13. android.view.Choreographer.doFrame(Choreographer.java:576)
    14. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:815)
    15. android.os.Handler.handleCallback(Handler.java:739)
    16. android.os.Handler.dispatchMessage(Handler.java:95)
    17. android.os.Looper.loop(Looper.java:145)
    18. android.app.ActivityThread.main(ActivityThread.java:6917)
    18 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
    2 frames