nextgis / android_gisapp

:dart: GIS application for Android
http://nextgis.com/nextgis-mobile
GNU General Public License v3.0
134 stars 107 forks source link

NGW setting dialog crash application #512

Closed BishopGIS closed 8 years ago

BishopGIS commented 8 years ago

Android 2.3.6

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.nextgis.mobile/com.nextgis.maplibui.activity.NGWSettingsActivity}: java.lang.IllegalStateException: Dependency "synchronization" not found for preference "sync_period" (title: "Интервал синхронизации"
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1651)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
    at android.app.ActivityThread.access$1500(ActivityThread.java:117)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:130)
    at android.app.ActivityThread.main(ActivityThread.java:3687)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:507)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalStateException: Dependency "synchronization" not found for preference "sync_period" (title: "Интервал синхронизации"
    at android.preference.Preference.registerDependency(Preference.java:1007)
    at android.preference.Preference.setDependency(Preference.java:1131)
    at com.nextgis.maplibui.activity.NGWSettingsActivity.addPeriodicSyncTime(NGWSettingsActivity.java:430)
    at com.nextgis.maplibui.activity.NGWSettingsActivity.fillAccountPreferences(NGWSettingsActivity.java:278)
    at com.nextgis.maplibui.activity.NGWSettingsActivity.createView(NGWSettingsActivity.java:215)
    at com.nextgis.maplibui.activity.NGWSettingsActivity.onCreate(NGWSettingsActivity.java:96)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
    ... 11 more