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 | 5 months ago
  1. 1

    "could not access stored data with uri content" error

    GitHub | 5 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?
  2. 0

    java.lang.IllegalStateException

    GitHub | 1 year ago | HandsomeL
    java.lang.IllegalStateException: could not access stored data with uri content://com.taobao.qianniu.tray/internal_preferences/qianniu/version. Is the provider registered in the manifest of your application?
  3. 0

    GitHub comment 50#147166120

    GitHub | 1 year ago | garijp
    java.lang.IllegalStateException: could not access stored data with uri content://com.andcreate.app.trafficmonitor.tray/internal_preferences/tether/version. Is the provider registered in the manifest of your application? at net.grandcentrix.tray.provider.TrayProviderHelper.getInternalUri() at net.grandcentrix.tray.storage.TrayStorage.get() at net.grandcentrix.tray.accessor.Preference.changeVersion() at net.grandcentrix.tray.accessor.Preference.() at net.grandcentrix.tray.accessor.TrayPreference.() at net.grandcentrix.tray.TrayModulePreferences.() at com.andcreate.app.trafficmonitor.tray_pref.TetherTrayPreference.() at com.andcreate.app.trafficmonitor.aggregate.TrafficJournalIO.output() at com.andcreate.app.trafficmonitor.aggregate.TrafficJournalOutputService.onHandleIntent()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").
  6. 0
    The cursor might not be initalized.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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