java.lang.RuntimeException: Unable to create application com.testtay.application.MyApplication: java.lang.IllegalStateException: could not access stored data with uri content://com.testtay.user_preference/internal_preferences/group/version?backup=true. Is the provider registered in the manifest of your application?

GitHub | ElegantWang | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 1

    "could not access stored data with uri content" error

    GitHub | 9 months ago | ElegantWang
    java.lang.RuntimeException: Unable to create application com.testtay.application.MyApplication: java.lang.IllegalStateException: could not access stored data with uri content://com.testtay.user_preference/internal_preferences/group/version?backup=true. Is the provider registered in the manifest of your application?

    Root Cause Analysis

    1. java.lang.IllegalStateException

      could not access stored data with uri content://com.testtay.user_preference/internal_preferences/group/version?backup=true. Is the provider registered in the manifest of your application?

      at net.grandcentrix.tray.provider.TrayProviderHelper.queryProvider()
    2. net.grandcentrix.tray
      TrayPreferences.<init>
      1. net.grandcentrix.tray.provider.TrayProviderHelper.queryProvider(TrayProviderHelper.java:145)
      2. net.grandcentrix.tray.provider.ContentProviderStorage.getVersion(ContentProviderStorage.java:214)
      3. net.grandcentrix.tray.core.Preferences.changeVersion(Preferences.java:224)
      4. net.grandcentrix.tray.core.Preferences.<init>(Preferences.java:51)
      5. net.grandcentrix.tray.core.AbstractTrayPreference.<init>(AbstractTrayPreference.java:31)
      6. net.grandcentrix.tray.TrayPreferences.<init>(TrayPreferences.java:43)
      7. net.grandcentrix.tray.TrayPreferences.<init>(TrayPreferences.java:48)
      7 frames
    3. com.testtay.common
      UserPreferences.init
      1. com.testtay.common.preferences.CacheTrayPreferences.<init>(CacheTrayPreferences.java:24)
      2. com.testtay.common.preferences.UserPreferences.<init>(UserPreferences.java:34)
      3. com.testtay.common.preferences.UserPreferences.init(UserPreferences.java:21)
      3 frames
    4. com.testtay.utils
      ProcessUtils.initCommon
      1. com.testtay.utils.ProcessUtils.initCommon(ProcessUtils.java:149)
      1 frame
    5. com.testtay.application
      MyApplication.onCreate
      1. com.testtay.application.process.MainProcessApp.create(MainProcessApp.java:64)
      2. com.testtay.application.MyApplication.onCreate(MyApplication.java:50)
      2 frames
    6. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1021)
      2. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4344)
      3. android.app.ActivityThread.access$1500(ActivityThread.java:135)
      4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
      5. android.os.Handler.dispatchMessage(Handler.java:102)
      6. android.os.Looper.loop(Looper.java:136)
      7. android.app.ActivityThread.main(ActivityThread.java:5017)
      7 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:788)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:604)
      2 frames
    9. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame