question

quantfive avatar image
quantfive asked Jeffrey Blattman commented

Clover Crashes on login

Hey Clover Team, something's happened with our clover emulator recently and we can't get past login.

We get to the point where we can choose a merchant, and after that it looks like the app crashes and stays on the login screen. Anyone know what's up?

One of our developers got this error from adb:

java.lang.RuntimeException: An error occurred while executing doInBackground()
    at android.os.AsyncTask$3.done(AsyncTask.java:353)
    at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
    at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
    at java.util.concurrent.FutureTask.run(FutureTask.java:271)
    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
    at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.database.sqlite.SQLiteDatabase android.database.sqlite.SQLiteOpenHelper.getWritableDatabase()' on a null object reference
    at com.clover.engine.providers.MerchantsProvider.syncProperties(MerchantsProvider.java:1346)
    at com.clover.engine.MerchantFactory.createMerchant(MerchantFactory.java:354)
    at com.clover.engine.MerchantFactory.createMerchant(MerchantFactory.java:409)
    at com.clover.engine.authenticator.LoginFragment$24.doInBackground(LoginFragment.java:640)
    at com.clover.engine.authenticator.LoginFragment$24.doInBackground(LoginFragment.java:638)
    at android.os.AsyncTask$2.call(AsyncTask.java:333)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    ... 4 more
#
EmulatorClover Station 2018
2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi @quantfive,

In order to better assist you, could you please provide a MCVE of your issue and more information about which emulator you are using?

0 Likes 0 ·

I was not able to reproduce the problem. I installed engine and app updater from https://sandbox.dev.clover.com/developers/dev-apks. When to Settings > Accounts, added a Clover account and logged in. When to Clover App Updater and turned sync on. It downloaded all apps and installed them.

0 Likes 0 ·

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community