Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while importing settings #1955

Closed
ameshkov opened this issue Jul 3, 2018 · 1 comment
Closed

Error while importing settings #1955

ameshkov opened this issue Jul 3, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@ameshkov
Copy link
Member

@ameshkov ameshkov commented Jul 3, 2018

java.lang.RuntimeException: Unable to import null to preferences!
    at com.adguard.android.service.SettingsBackupServiceImpl.putPref(SettingsBackupServiceImpl.java:344)
    at com.adguard.android.service.SettingsBackupServiceImpl.importSettings(SettingsBackupServiceImpl.java:121)
    at com.adguard.android.service.SettingsBackupServiceImpl.importSettings(SettingsBackupServiceImpl.java:179)
    at com.adguard.android.service.SettingsBackupServiceImpl.importSettings(SettingsBackupServiceImpl.java:195)
    at com.adguard.android.ui.fragment.settings.SettingsGeneralFragment$ImportTask.run(SettingsGeneralFragment.java:559)
    at com.adguard.android.ui.fragment.settings.SettingsGeneralFragment$ImportExportTask.doInBackground(SettingsGeneralFragment.java:608)
    at com.adguard.android.ui.fragment.settings.SettingsGeneralFragment$ImportExportTask.doInBackground(SettingsGeneralFragment.java:584)
    at android.os.AsyncTask$2.call(AsyncTask.java:288)
    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    at java.lang.Thread.run(Thread.java:841)
java.lang.RuntimeException: An error occured while executing doInBackground()
    at android.os.AsyncTask$3.done(AsyncTask.java:300)
    at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
    at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
    at java.util.concurrent.FutureTask.run(FutureTask.java:242)
    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    at java.lang.Thread.run(Thread.java:841)
@ameshkov ameshkov added this to the 2.12 milestone Jul 3, 2018
@admitrevskiy

This comment has been minimized.

Copy link

@admitrevskiy admitrevskiy commented Jul 6, 2018

Resolved.

Steps to reproduce:
-This bug was observable on devices older than KitKat without activated license.
-Go to Settings -> General
-Export settings
-Try to import settings back

Testing instructions:
-Reinstall AG
-Repeat above-stated steps

Expected results:
-Settings should be imported successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.